diff --git a/src/components/DashboardShell.tsx b/src/components/DashboardShell.tsx index 40747e5..ecea25b 100644 --- a/src/components/DashboardShell.tsx +++ b/src/components/DashboardShell.tsx @@ -212,6 +212,13 @@ export default function DashboardShell({ const visibleNav = NAV_ITEMS.filter((item) => moduleOn(item.moduleId)); + const subLinkCls = (href: string) => + `ml-7 flex items-center gap-2.5 rounded-md px-3 py-1.5 text-[13px] font-medium transition-colors ${ + isActive(pathname, href) + ? 'bg-white/[0.07] text-white' + : 'text-mist-400 hover:bg-white/[0.05] hover:text-white' + }`; + const sidebar = (