17 lines
568 B
TypeScript
17 lines
568 B
TypeScript
import { Home, ShieldUser } from "lucide-react";
|
|
import type { LucideIcon } from "lucide-react";
|
|
|
|
export interface NavItem {
|
|
href: string;
|
|
label: string;
|
|
icon: LucideIcon;
|
|
}
|
|
|
|
// Scaffolded with just "Home" per the spec -- trivially extended by pushing
|
|
// more entries here later.
|
|
export const NAV_ITEMS: NavItem[] = [{ href: "/", label: "Home", icon: Home }];
|
|
|
|
// Only shown to admins -- appended conditionally by SideNav, not part of
|
|
// the always-visible list above.
|
|
export const ADMIN_NAV_ITEM: NavItem = { href: "/admin", label: "Admin", icon: ShieldUser };
|