From 89b20387442caa8bd3996628e0d6dfda030feea8 Mon Sep 17 00:00:00 2001 From: Cassidy Williams <1454517+cassidoo@users.noreply.github.com> Date: Mon, 22 Aug 2022 23:39:41 -0500 Subject: [PATCH] Add about to homepage, add color script to templates --- src/components/BaseHead.astro | 9 +++---- src/components/ColorScript.astro | 28 ++++++++++++++++++++++ src/components/Header.astro | 28 +++++++++++++--------- src/layouts/BlogPost.astro | 2 ++ src/pages/about.md | 11 +++------ src/pages/index.astro | 41 ++++++++------------------------ 6 files changed, 65 insertions(+), 54 deletions(-) create mode 100644 src/components/ColorScript.astro diff --git a/src/components/BaseHead.astro b/src/components/BaseHead.astro index 0e68e94..3ad9030 100644 --- a/src/components/BaseHead.astro +++ b/src/components/BaseHead.astro @@ -1,7 +1,5 @@ --- -// Import the global.css file here so that it is included on -// all pages through the use of the component. -import '../styles/global.css'; +import '../global.css'; export interface Props { title: string; @@ -41,5 +39,8 @@ const { title, description, image = '/placeholder-social.jpg' } = Astro.props; - + diff --git a/src/components/ColorScript.astro b/src/components/ColorScript.astro new file mode 100644 index 0000000..e224fc9 --- /dev/null +++ b/src/components/ColorScript.astro @@ -0,0 +1,28 @@ + \ No newline at end of file diff --git a/src/components/Header.astro b/src/components/Header.astro index 9721b37..f038edd 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -1,19 +1,25 @@ --- -import HeaderLink from './HeaderLink.astro'; -import { SITE_TITLE } from '../config'; +import HeaderLink from "./HeaderLink.astro"; +import { SITE_TITLE } from "../config"; ---
-

- {SITE_TITLE} -

+
+
+

{SITE_TITLE}

+

a blog, or whatever

+
+