From c53a734c6d54fef3474460b5fab8fda1c346cb48 Mon Sep 17 00:00:00 2001 From: Demetrius Semanko Date: Thu, 23 Apr 2026 20:40:24 -0400 Subject: [PATCH] Write Navigation component --- bustling-binary/src/components/Navigation.astro | 9 +++++++++ bustling-binary/src/pages/about.astro | 2 ++ 2 files changed, 11 insertions(+) create mode 100644 bustling-binary/src/components/Navigation.astro diff --git a/bustling-binary/src/components/Navigation.astro b/bustling-binary/src/components/Navigation.astro new file mode 100644 index 0000000..2206ccf --- /dev/null +++ b/bustling-binary/src/components/Navigation.astro @@ -0,0 +1,9 @@ +--- +const routes = { + Home: "/", + About: "/about/", +}; +--- + diff --git a/bustling-binary/src/pages/about.astro b/bustling-binary/src/pages/about.astro index e397438..fc57d67 100644 --- a/bustling-binary/src/pages/about.astro +++ b/bustling-binary/src/pages/about.astro @@ -1,5 +1,6 @@ --- import '../styles/global.css'; +import Navigation from '../components/Navigation.astro'; const pageTitle = "About Me"; --- @@ -10,6 +11,7 @@ const pageTitle = "About Me"; {pageTitle} +
-- 2.51.2