diff --git a/src/components/Header.astro b/src/components/Header.astro index 9ebf994..39230b0 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -1,19 +1,68 @@ --- - +const { pathname } = Astro.url; +const currentPath = + pathname.endsWith("/") && pathname.length > 1 + ? pathname.slice(0, -1) + : pathname; +const navItems = [ + { href: "/", label: "About" }, + { href: "/now", label: "Now" }, + { href: "/writing", label: "Writing" }, +]; ---

dnsc

+
diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index edb876d..4fcd45e 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -40,7 +40,14 @@ const { title } = Astro.props; } :root { + /* Oat UI */ --background: #ffffff; + --primary: #133d56; + + /* Custom */ --font-fancy: "Desyrel", serif; + --container-lg: 1200px; + --container-md: 600px; + --container-sm: 480px; } diff --git a/src/pages/index.astro b/src/pages/index.astro index 5062eff..ef71118 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -5,10 +5,12 @@ import Header from "../components/Header.astro";
+