diff --git a/web/src/components/Header.tsx b/web/src/components/Header.tsx index 6fff81e44..eb5df6f25 100644 --- a/web/src/components/Header.tsx +++ b/web/src/components/Header.tsx @@ -8,7 +8,6 @@ import { LuList, LuMenu, LuMoon, - LuMoreVertical, LuPenSquare, LuRotateCw, LuSettings, @@ -18,7 +17,7 @@ import { import { IoColorPalette } from "react-icons/io5"; import { CgDarkMode } from "react-icons/cg"; import { Button } from "@/components/ui/button"; -import Heading from "./ui/heading"; +import { VscAccount } from "react-icons/vsc"; import { DropdownMenu, DropdownMenuContent, @@ -57,11 +56,66 @@ import { import ActivityIndicator from "./ui/activity-indicator"; import { useRestart } from "@/api/ws"; import { ENV } from "@/env"; +import { NavLink } from "react-router-dom"; type HeaderProps = { onToggleNavbar: () => void; }; +function HeaderNavigation() { + const navbarLinks = [ + { + id: 1, + title: "Dashboard", + url: "/", + }, + { + id: 2, + title: "Live", + url: "/live", + }, + { + id: 3, + title: "History", + url: "/history", + }, + { + id: 4, + title: "Export", + url: "/export", + }, + { + id: 5, + title: "UI Playground", + url: "/playground", + dev: true, + }, + ]; + + return ( +