diff --git a/src/assets/banner-alt.webp b/src/assets/banner-alt.webp deleted file mode 100644 index d6aa905..0000000 Binary files a/src/assets/banner-alt.webp and /dev/null differ diff --git a/src/assets/banner.png b/src/assets/banner.png new file mode 100644 index 0000000..0c426cb Binary files /dev/null and b/src/assets/banner.png differ diff --git a/src/assets/cupcake.jpg b/src/assets/cupcake.jpg new file mode 100644 index 0000000..c1abfa5 Binary files /dev/null and b/src/assets/cupcake.jpg differ diff --git a/src/assets/leg.jpg b/src/assets/fumble.jpg similarity index 100% rename from src/assets/leg.jpg rename to src/assets/fumble.jpg diff --git a/src/content/content.ts b/src/content/content.ts index 0febbe0..e932ca1 100644 --- a/src/content/content.ts +++ b/src/content/content.ts @@ -7,7 +7,6 @@ const postsCollection = defineCollection({ title: z.string(), description: z.string(), pubDate: z.date(), - image: z.string().optional(), tags: z.array(z.string()), }), }); @@ -18,7 +17,6 @@ const projectsCollection = defineCollection({ draft: z.boolean().optional(), title: z.string(), description: z.string(), - image: z.string().optional(), tags: z.array(z.string()), }), }); diff --git a/src/content/posts/code-examples.md b/src/content/posts/code-examples.md index 261b723..37c708f 100644 --- a/src/content/posts/code-examples.md +++ b/src/content/posts/code-examples.md @@ -2,15 +2,10 @@ title: "Code Examples" description: "Aurghhhhhh" pubDate: 2022-07-08 -image: - url: "https://docs.astro.build/assets/arc.webp" - alt: "Tennis balls" tags: - "Gaybo" --- -Penitc - ```astro --- import { getPosts } from "../../utils"; diff --git a/src/content/posts/example.md b/src/content/posts/example.md deleted file mode 100644 index 439e493..0000000 --- a/src/content/posts/example.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -title: This is an example Post -description: "Blamby ford" -pubDate: 2022-07-08 -image: - url: "https://docs.astro.build/assets/arc.webp" - alt: "Thumbnail of Astro arcs." -tags: - - "GwaGwa" - - "Gaming" - - "Urchin" - - "Fortnite" ---- - -aurgh diff --git a/src/content/posts/image-examples.md b/src/content/posts/image-examples.md new file mode 100644 index 0000000..2056dcc --- /dev/null +++ b/src/content/posts/image-examples.md @@ -0,0 +1,11 @@ +--- +title: "Image Examples" +description: "fug" +pubDate: 2024-07-08 +tags: + - "Faggo" +--- + +![Image](../../assets/cupcake.jpg) + +critter time!!!! diff --git a/src/content/posts/markdown-cheat-sheet.md b/src/content/posts/markdown-cheat-sheet.md index 0b66d2a..1687d75 100644 --- a/src/content/posts/markdown-cheat-sheet.md +++ b/src/content/posts/markdown-cheat-sheet.md @@ -1,12 +1,7 @@ --- -#draft: true - title: This is an example Post description: "Cheat Sheet for Markdown" pubDate: 2022-07-08 -image: - url: "https://docs.astro.build/assets/arc.webp" - alt: "Thumbnail of Astro arcs." tags: - "Faggor" --- diff --git a/src/content/projects/example-2.md b/src/content/projects/example-2.md deleted file mode 100644 index 2de77b3..0000000 --- a/src/content/projects/example-2.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -title: Project 2 -description: Another one -image: - url: "https://docs.astro.build/assets/arc.webp" - alt: "Thumbnail of Astro arcs." -tags: - - "GwaGwa" - - "Gaming" - - "Urchin" - - "Fortnite" ---- - -AURGH diff --git a/src/content/projects/example.md b/src/content/projects/example.md deleted file mode 100644 index 91aad6f..0000000 --- a/src/content/projects/example.md +++ /dev/null @@ -1,14 +0,0 @@ ---- -title: Project 1 -description: Example Project Im working on -image: - url: "https://docs.astro.build/assets/arc.webp" - alt: "Thumbnail of Astro arcs." -tags: - - "GwaGwa" - - "Gaming" - - "Urchin" - - "Fortnite" ---- - -Gay Balls even diff --git a/src/content/projects/gwagwa.md b/src/content/projects/gwagwa.md index d306616..a53aec6 100644 --- a/src/content/projects/gwagwa.md +++ b/src/content/projects/gwagwa.md @@ -1,9 +1,6 @@ --- title: GwaGwa -description: :3 -image: - url: "https://docs.astro.build/assets/arc.webp" - alt: "Thumbnail of Astro arcs." +description: This astro page tags: - "GwaGwa" - "Gaming" @@ -11,4 +8,8 @@ tags: - "Fortnite" --- -gwagwa +Im actually going to blow up + + +I FUCKING HATE JAVASCRIPT + diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 1a2574c..49cf87f 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -1,7 +1,6 @@ --- -import { Picture, getImage } from 'astro:assets'; - import "../styles/styles.scss"; +import Banner from "../assets/banner.png"; interface Props { title: string; @@ -9,14 +8,7 @@ interface Props { alt: string, } -const { title, image, alt } = Astro.props; - -let imageData = await getImage({ - src: image, - format: "jpeg", - width: 1080, - height: 700, -}); +const { title} = Astro.props; --- @@ -36,15 +28,13 @@ let imageData = await getImage({
Made with Coffee, lots of it.
diff --git a/src/pages/leg.astro b/src/pages/leg.astro index e7f42ad..48b6977 100644 --- a/src/pages/leg.astro +++ b/src/pages/leg.astro @@ -1,15 +1,10 @@ --- -import { Picture, getImage } from "astro:assets"; - import Layout from "../layouts/Layout.astro"; import HomeButton from "../components/HomeButton.astro"; -import GwaGwa from "../assets/leg.jpg"; -import BannerImg from "../assets/banner-alt.webp"; - -const image = await getImage({src: BannerImg}); +import GwaGwa from "../assets/fumble.jpg"; --- -