Skip to content

Commit

Permalink
fixed nav
Browse files Browse the repository at this point in the history
  • Loading branch information
richardgill committed Apr 1, 2024
1 parent 1df6c4f commit 37f6b2f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/docs/src/components/layout/MainNav.astro
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const segment = extractSegmentURL(Astro.url.pathname);
<a
href={item.disabled ? "#" : item.href}
class={cn(
"hover:text-foreground/80 flex items-center text-lg font-medium transition-colors sm:text-sm",
"hover:text-foreground/80 flex items-center text-lg font-medium sm:text-sm",
item.href.startsWith(`/${segment}`)
? "text-foreground"
: "text-foreground/60",
Expand Down

0 comments on commit 37f6b2f

Please sign in to comment.