diff --git a/public/images/socials/arrow-icon.svg b/public/images/socials/arrow-icon.svg new file mode 100644 index 0000000..2521a23 --- /dev/null +++ b/public/images/socials/arrow-icon.svg @@ -0,0 +1,13 @@ + + + \ No newline at end of file diff --git a/public/images/socials/date-time.svg b/public/images/socials/date-time.svg new file mode 100644 index 0000000..de6f754 --- /dev/null +++ b/public/images/socials/date-time.svg @@ -0,0 +1,14 @@ + + + \ No newline at end of file diff --git a/public/images/socials/discord.svg b/public/images/socials/discord.svg new file mode 100644 index 0000000..34903c2 --- /dev/null +++ b/public/images/socials/discord.svg @@ -0,0 +1,23 @@ + + + + \ No newline at end of file diff --git a/public/images/socials/location.svg b/public/images/socials/location.svg new file mode 100644 index 0000000..964d677 --- /dev/null +++ b/public/images/socials/location.svg @@ -0,0 +1,21 @@ + + + + \ No newline at end of file diff --git a/public/images/socials/profile.webp b/public/images/socials/profile.webp new file mode 100644 index 0000000..b808d9c Binary files /dev/null and b/public/images/socials/profile.webp differ diff --git a/public/images/socials/website-icon.svg b/public/images/socials/website-icon.svg new file mode 100644 index 0000000..d920649 --- /dev/null +++ b/public/images/socials/website-icon.svg @@ -0,0 +1,19 @@ + + + \ No newline at end of file diff --git a/src/pages/blog/[...slug].astro b/src/pages/blog/[...slug].astro deleted file mode 100644 index 6e662b5..0000000 --- a/src/pages/blog/[...slug].astro +++ /dev/null @@ -1,134 +0,0 @@ ---- -import { getCollection } from "astro:content"; -import BackToBlogs from "../../components/blog/BackToBlogs.astro"; -import Layout from "../../layouts/Layout.astro"; -import Footer from "../../components/global/FooterComponent.astro"; - -export async function getStaticPaths() { - const blogEntries = await getCollection("blog"); - return blogEntries.map((entry) => ({ - params: { slug: entry.slug }, - props: { entry }, - })); -} - -const { entry } = Astro.props; -const { Content } = await entry.render(); ---- - - - -
-

{entry.data.title}

-

- Published - { - new Date(entry.data.pubDate).toLocaleDateString("en-UK", { - day: "numeric", - month: "long", - year: "numeric", - }) - } -

-

by {entry.data.author}

-

{entry.data.description}

- -
- { - entry.data.tags?.map((tag) => ( -
- {tag} -
- )) - } -
- -
- - -
-
-
-
- - diff --git a/src/pages/blog/index.astro b/src/pages/blog/index.astro deleted file mode 100644 index ed84bac..0000000 --- a/src/pages/blog/index.astro +++ /dev/null @@ -1,81 +0,0 @@ ---- -import Layout from "../../layouts/Layout.astro"; -import Card from "../../components/global/Card.astro"; -import Footer from "../../components/global/FooterComponent.astro"; -import { getCollection } from "astro:content"; - -const blogPosts = await getCollection("blog"); ---- - - -
-

Blog

-
-
-

- This is where I upload my blogs. No paywalls, no ads, no - bullshit. -

-
- - -
- { - blogPosts.map((blog) => ( - - -
-

- {blog.data.title} -

-

- {blog.data.description} -

- - - -
-
-
- )) - } -
-
-
-
-
-
- -