diff --git a/components/dashboard-chrome.tsx b/components/dashboard-chrome.tsx index e6cd0e3..0593942 100644 --- a/components/dashboard-chrome.tsx +++ b/components/dashboard-chrome.tsx @@ -18,12 +18,14 @@ import { SidebarHeader, SidebarInset, SidebarNav, + LumyxLinkProvider, SidebarProvider, StatusStrip, Wordmark, type NavSection, } from '@lumyx/ui'; import Link from 'next/link'; +import { usePathname } from 'next/navigation'; const SECTIONS: NavSection[] = [ { @@ -53,33 +55,36 @@ const SECTIONS: NavSection[] = [ ]; export function DashboardChrome({ children }: { children: React.ReactNode }) { + const pathname = usePathname(); return ( - {}}> - - - - - - - - - - - v0.4.1 · MIT licensed · sfu-eu-3 - - - - {children} - - - + + {}}> + + + + + + + + + + + v0.4.1 · AGPL-3.0 · sfu-eu-3 + + + + {children} + + + + ); }