+
T
@@ -47,31 +53,31 @@ export function AppShell({ children }: { children: ReactNode }) {
@@ -108,17 +114,19 @@ function NavItem({
label,
to,
muted,
+ color,
}: {
icon: LucideIcon
label: string
to?: string
muted?: boolean
+ color?: string
}) {
const location = useLocation()
const active = to ? location.pathname === to : false
const className = cn(
- 'flex items-center gap-3 rounded-lg px-3 py-2 text-sm transition-colors',
+ 'group/nav flex items-center gap-3 rounded-lg px-3 py-2 text-sm transition-colors',
active
? 'bg-white/15 font-medium text-white shadow-sm ring-1 ring-white/15 backdrop-blur-sm'
: 'text-sidebar-foreground/80',
@@ -127,7 +135,12 @@ function NavItem({
const content = (
<>
-
+
+
+
{label}
{muted && soon}
>