import { NavLink } from "react-router-dom"; import { Activity, Map, Table2, BarChart3, Moon, Sun } from "lucide-react"; import { cn } from "@/lib/utils"; import { useTheme } from "./ThemeProvider"; const NAV = [ { to: "/", label: "Predict", icon: Activity, end: true }, { to: "/map", label: "Map", icon: Map }, { to: "/areas", label: "Top Areas", icon: Table2 }, { to: "/models", label: "Models", icon: BarChart3 }, ]; function Logo() { return (
Testing-Flow
Traffic Intelligence
); } export function Layout({ children }: { children: React.ReactNode }) { const { theme, toggle } = useTheme(); return (
{/* Mobile nav */}
{children}
); }