diff --git a/web/src/components/Nav.tsx b/web/src/components/Nav.tsx index efb012d..da9d183 100644 --- a/web/src/components/Nav.tsx +++ b/web/src/components/Nav.tsx @@ -3,12 +3,55 @@ import { Link } from "@tanstack/react-router"; import { ConnectionStatus } from "./ConnectionStatus"; import { Separator } from "./Separator"; import { SITE_TITLE } from "../lib/config"; -import { Info, Layers, LayoutDashboard, Radio, Palette } from "lucide-react"; +import { + Info, + Layers, + LayoutDashboard, + Radio, + MessageSquare, + LucideIcon, +} from "lucide-react"; +// Define navigation item structure +interface NavItem { + to: string; + label: string; + icon: LucideIcon; + exact?: boolean; +} + +// Define props for the component interface NavProps { connectionStatus: string; } +// Navigation items data +const navigationItems: NavItem[] = [ + { + to: "/", + label: "Dashboard", + icon: LayoutDashboard, + exact: true, + }, + { + to: "/packets", + label: "Stream", + icon: Radio, + exact: true, + }, + { + to: "/channels", + label: "Messages", + icon: MessageSquare, + }, + { + to: "/info", + label: "Information", + icon: Info, + exact: true, + }, +]; + export const Nav: React.FC = ({ connectionStatus }) => { return (