We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4614ab9 commit 4bdb1bdCopy full SHA for 4bdb1bd
1 file changed
src/components/Header.astro
@@ -25,6 +25,7 @@ const currentPath = Astro.url.pathname;
25
href={href}
26
class:list={[
27
"rounded-lg px-3.5 py-2 text-sm font-medium transition-all duration-200",
28
+ label === "Home" && "hidden sm:inline-flex",
29
currentPath === href || (href !== "/" && currentPath.startsWith(href))
30
? "bg-[#306998]/10 text-[#306998] dark:bg-[#ffd43b]/10 dark:text-[#ffd43b]"
31
: "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",
0 commit comments