From 8dbfc2571987d2b4566b136cdc51b7f1001b0cac Mon Sep 17 00:00:00 2001 From: Oliver Bryan <04oliverbryan@gmail.com> Date: Mon, 29 Sep 2025 20:42:14 +0100 Subject: [PATCH] simplified header --- src/components/Header.astro | 82 +++++++++++-------------------------- 1 file changed, 25 insertions(+), 57 deletions(-) diff --git a/src/components/Header.astro b/src/components/Header.astro index 207cfc3a..52426a9a 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -1,7 +1,4 @@ --- -import NavLink from "./NavLink.astro"; -import { Icon } from "astro-icon/components"; - const { currentPage } = Astro.props; const pages = [ @@ -24,67 +21,38 @@ const pages = [ .cancel-button:hover .text { color: var(--ayu-red-500); } - - .github-icon-link { - color: var(--ayu-accent); - transition: color 0.2s ease; - } - - .github-icon-link:hover { - color: var(--ayu-red-500); - }
-
- oliver bryan icon -

oliver bryan

-
-
-
-
- { - pages.map((page) => ( - + + oliver bryan icon - )) - } - - { - !pages.find((page) => page.path === currentPage.path) && ( - - {"|"} - - - ) - } +

oliver bryan

+ { + !pages.find((page) => page.path === currentPage.path) && ( + + {"|"} + + + ) + }
- - - hex248 -