import { LayoutDashboard, ShieldAlert, SwatchBook, type LucideIcon } from "lucide-react"; type RootNavigationCopy = { overview: string; maintenance: string; uiKit: string; }; export type RootNavItem = { label: string; href: string; icon: LucideIcon; active?: boolean; }; export function getRootNavigation( copy: RootNavigationCopy, active: "overview" | "maintenance" | "ui-kit", ): RootNavItem[] { return [ { label: copy.overview, href: "/root", icon: LayoutDashboard, active: active === "overview", }, { label: copy.maintenance, href: "/root/maintenance", icon: ShieldAlert, active: active === "maintenance", }, { label: copy.uiKit, href: "/root/ui-kit", icon: SwatchBook, active: active === "ui-kit", }, ]; }