diff --git a/components/header.tsx b/components/header.tsx index 5349fc0..54fadcf 100644 --- a/components/header.tsx +++ b/components/header.tsx @@ -91,9 +91,9 @@ export function Header() { : "/settings" return ( -
-
-
+
+
+
聚玩 @@ -105,9 +105,9 @@ export function Header() { key={link.href} href={link.href} className={cn( - "px-3 py-1.5 rounded-md text-sm font-medium transition-colors", + "px-3 py-1.5 rounded-full text-sm font-medium transition-colors", pathname === link.href || (link.href !== "/" && pathname.startsWith(link.href)) - ? "bg-accent text-accent-foreground" + ? "bg-primary/10 text-primary" : "text-muted-foreground hover:text-foreground hover:bg-accent/50", )} > @@ -121,7 +121,7 @@ export function Header() { <> - @@ -140,7 +140,7 @@ export function Header() { - @@ -256,10 +256,10 @@ export function Header() { href={link.href} onClick={() => setMobileOpen(false)} className={cn( - "px-3 py-2 rounded-md text-sm font-medium transition-colors", + "px-3 py-2 rounded-full text-sm font-medium transition-colors", pathname === link.href || (link.href !== "/" && pathname.startsWith(link.href)) - ? "bg-accent text-accent-foreground" + ? "bg-primary/10 text-primary" : "text-muted-foreground hover:text-foreground hover:bg-accent/50", )} > @@ -271,14 +271,14 @@ export function Header() { setMobileOpen(false)} - className="px-3 py-2 rounded-md text-sm font-medium text-muted-foreground hover:text-foreground hover:bg-accent/50" + className="px-3 py-2 rounded-full text-sm font-medium text-muted-foreground hover:text-foreground hover:bg-accent/50" > 钱包 setMobileOpen(false)} - className="px-3 py-2 rounded-md text-sm font-medium text-muted-foreground hover:text-foreground hover:bg-accent/50" + className="px-3 py-2 rounded-full text-sm font-medium text-muted-foreground hover:text-foreground hover:bg-accent/50" > 设置