From 5403448f631f63f4218b83432f92aa407a2fe30c Mon Sep 17 00:00:00 2001 From: imnyang Date: Wed, 9 Sep 2026 14:39:30 +0900 Subject: [PATCH] wow --- src/components/Header.astro | 52 ++++++++++++++++++------------------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/src/components/Header.astro b/src/components/Header.astro index 246ceae..61f8927 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -1,16 +1,17 @@ --- const navigationItems = [ - { label: "Home", href: "#home" }, - { label: "About", href: "#about" }, - { label: "Projects", href: "#projects" }, - { label: "Experience", href: "#experience" }, + { label: "Home", href: "#home" }, + { label: "About", href: "#about" }, + { label: "Projects", href: "#projects" }, + { label: "Experience", href: "#experience" }, + { label: "Carrer", href: "#carrer" }, { label: "Contact", href: "#contact" }, ] as const; const desktopLinkClass = - "text-foreground no-underline transition-opacity duration-150 hover:opacity-55 focus-visible:opacity-55"; + "text-foreground no-underline transition-opacity duration-150 hover:opacity-55 focus-visible:opacity-55"; const mobileLinkClass = - "block rounded-xl px-3 py-2 text-sm font-semibold text-foreground no-underline transition-colors hover:bg-foreground/5"; + "block rounded-xl px-3 py-2 text-sm font-semibold text-foreground no-underline transition-colors hover:bg-foreground/5"; ---
@imnya.ng + @imnya.ng +
@@ -109,7 +106,10 @@ const mobileLinkClass = }); document.addEventListener("click", (event) => { - if (event.target instanceof Node && !navigation.contains(event.target)) { + if ( + event.target instanceof Node && + !navigation.contains(event.target) + ) { setMenuOpen(false); } });