import { Link, useLocation } from "react-router-dom"; import { Upload, History, LayoutDashboard, Moon, Sun } from "lucide-react"; import { useAuth } from "../context/AuthContext.jsx"; import { useTheme } from "../context/ThemeContext.jsx"; const NAV_LINKS = [ { to: "/", label: "Dashboard", icon: LayoutDashboard }, { to: "/onboard", label: "New Analysis", icon: Upload }, { to: "/history", label: "History", icon: History }, ]; export default function Navbar() { const location = useLocation(); const { user, logout } = useAuth(); const { theme, toggleTheme } = useTheme(); return ( ); }