From b1f754c1b8fba0a576d5ae308b220355ea16e00f Mon Sep 17 00:00:00 2001 From: Fries Date: Mon, 24 Apr 2023 20:43:44 -0700 Subject: [PATCH] add some more links and implement markdown i added some more links to the social media profile section and i moved the introduction paragraphs and the links to markdown files. --- src/components/Footer.astro | 3 +++ src/components/Introduction.astro | 21 ++++++++------------- src/components/Links.astro | 18 +++++++++--------- src/components/Navigation.astro | 2 +- src/components/WorkInProgress.astro | 3 +++ src/content/config.ts | 7 +++++++ src/content/homepage/introduction.md | 8 ++++++++ src/content/homepage/links.md | 9 +++++++++ src/env.d.ts | 1 + src/layouts/Layout.astro | 2 ++ src/pages/blog.astro | 5 ++--- src/pages/index.astro | 2 +- src/pages/projects.astro | 5 ++--- src/styles/global.css | 3 +++ 14 files changed, 59 insertions(+), 30 deletions(-) create mode 100644 src/components/Footer.astro create mode 100644 src/components/WorkInProgress.astro create mode 100644 src/content/config.ts create mode 100644 src/content/homepage/introduction.md create mode 100644 src/content/homepage/links.md diff --git a/src/components/Footer.astro b/src/components/Footer.astro new file mode 100644 index 0000000..c2ae845 --- /dev/null +++ b/src/components/Footer.astro @@ -0,0 +1,3 @@ + diff --git a/src/components/Introduction.astro b/src/components/Introduction.astro index 0d5189c..4504c1f 100644 --- a/src/components/Introduction.astro +++ b/src/components/Introduction.astro @@ -1,15 +1,10 @@ +--- +import { getEntryBySlug } from "astro:content"; + +const introduction = await getEntryBySlug("homepage", "introduction"); +const { Content } = await introduction.render(); +--- +
-

- hi, my name is fries :3, and my pronouns are fae/they/it! i am a cat - person :3. -

-

- i am interested in computers. i've always liked them and they're cool. i - like programming. right now, i like programming in rust, and i also - program in c# and other languages. and i also run linux. -

-

- i have autism, and adhd, and ocd. i can infodump to you if you want :3. - also focusing can be hard sometimes. -

+
diff --git a/src/components/Links.astro b/src/components/Links.astro index 930a973..f5e3552 100644 --- a/src/components/Links.astro +++ b/src/components/Links.astro @@ -1,10 +1,10 @@ - +--- +import { getEntryBySlug } from "astro:content"; - +const links = await getEntryBySlug("homepage", "links") +const { Content } = await links.render(); +--- + + diff --git a/src/components/Navigation.astro b/src/components/Navigation.astro index 49460ad..2c636af 100644 --- a/src/components/Navigation.astro +++ b/src/components/Navigation.astro @@ -1,4 +1,4 @@ -