style(discover,header): refine hero, cards and nav visuals

This commit is contained in:
zetaloop
2026-02-25 12:22:37 +08:00
parent 523ba2d8be
commit c56e4486a0
2 changed files with 42 additions and 30 deletions
+3 -3
View File
@@ -105,10 +105,10 @@ export function Header() {
key={link.href}
href={link.href}
className={cn(
"px-3 py-1.5 rounded-full text-sm font-medium transition-colors",
"rounded-lg px-4 py-2 text-sm font-medium transition-colors",
pathname === link.href || (link.href !== "/" && pathname.startsWith(link.href))
? "bg-primary/10 text-primary"
: "text-muted-foreground hover:text-foreground hover:bg-accent/50",
? "bg-secondary text-foreground"
: "text-muted-foreground hover:bg-secondary/60 hover:text-foreground",
)}
>
{link.label}