diff --git a/src/components/Header.astro b/src/components/Header.astro new file mode 100644 index 0000000..11e4e6c --- /dev/null +++ b/src/components/Header.astro @@ -0,0 +1,7 @@ +--- +import Navigation from "./Navigation.astro"; +--- + + + + diff --git a/src/components/Navigation.astro b/src/components/Navigation.astro index 5018698..0155f9d 100644 --- a/src/components/Navigation.astro +++ b/src/components/Navigation.astro @@ -1,7 +1,7 @@ --- --- - + Home About Blog diff --git a/src/pages/about.astro b/src/pages/about.astro index 589adf4..dad6c0c 100644 --- a/src/pages/about.astro +++ b/src/pages/about.astro @@ -1,6 +1,6 @@ --- import "../styles/global.css" -import Navigation from "../components/Navigation.astro" +import Header from "../components/Header.astro" import Footer from "../components/Footer.astro" const pageTitle = "About Me" @@ -49,7 +49,7 @@ const skillColor = "navy" - + {pageTitle} ... and my new website! diff --git a/src/pages/blog.astro b/src/pages/blog.astro index 65a6fa2..a495bfd 100644 --- a/src/pages/blog.astro +++ b/src/pages/blog.astro @@ -1,6 +1,6 @@ --- import "../styles/global.css" -import Navigation from "../components/Navigation.astro" +import Header from "../components/Header.astro" import Footer from "../components/Footer.astro" const pageTitle = "Blog posts" @@ -16,7 +16,7 @@ const pageTitle = "Blog posts" {pageTitle} - + {pageTitle} This is a list of my blog posts. @@ -26,6 +26,7 @@ const pageTitle = "Blog posts" My second blog post My third blog post +
This is a list of my blog posts.