From 18c566c96e1eb8361fb7739cdb7dd94912a14673 Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Sat, 9 May 2026 21:12:01 +0300 Subject: [PATCH] Remove home link text on mobile --- src/components/Header.astro | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/Header.astro b/src/components/Header.astro index 9a12769..7396ce8 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -25,6 +25,7 @@ const currentPath = Astro.url.pathname; href={href} class:list={[ "rounded-lg px-3.5 py-2 text-sm font-medium transition-all duration-200", + label === "Home" && "hidden sm:inline-flex", currentPath === href || (href !== "/" && currentPath.startsWith(href)) ? "bg-[#306998]/10 text-[#306998] dark:bg-[#ffd43b]/10 dark:text-[#ffd43b]" : "text-zinc-700 hover:bg-zinc-100 hover:text-zinc-900 dark:text-zinc-300 dark:hover:bg-zinc-800 dark:hover:text-zinc-100",