Organize/components/nav/nav-items.ts

20 lines
645 B
TypeScript

import { Home, MessageCircle, 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 },
{ href: "/chat", label: "Chat", icon: MessageCircle },
];
// 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 };