From 848a4aebe1166d4296625748e8bc2bfdd5630ac8 Mon Sep 17 00:00:00 2001 From: dvkr Date: Fri, 15 Dec 2023 10:22:55 -0700 Subject: [PATCH] add styling to nav links --- src/components/Header.astro | 71 +++++++++++++++++++++++++++++++++++++ src/layouts/Layout.astro | 16 ++------- 2 files changed, 73 insertions(+), 14 deletions(-) create mode 100644 src/components/Header.astro diff --git a/src/components/Header.astro b/src/components/Header.astro new file mode 100644 index 0000000..240ba16 --- /dev/null +++ b/src/components/Header.astro @@ -0,0 +1,71 @@ +--- +import info from "../info"; +const {base: baseURL} = info +--- +
+ +
+ + \ No newline at end of file diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index ef4ad81..f137f77 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -2,8 +2,7 @@ export interface Props { title: string; } -import info from "../info"; -const {base: baseURL} = info +import Header from "../components/Header.astro" const { title } = Astro.props; --- @@ -21,18 +20,7 @@ const { title } = Astro.props; {title} -
- -
+