"use client" import { useAudienceMode } from "@/components/audience-mode-provider" import { Button } from "@/components/ui/button" import { FlaskConical, Moon, Scale, Sun, Home, Info, BarChart3, LayoutGrid } from "lucide-react" import { useTheme } from "next-themes" import Link from "next/link" import { usePathname } from "next/navigation" import { cn } from "@/lib/utils" export function Navigation() { const { theme, setTheme } = useTheme() const { mode, setMode } = useAudienceMode() const pathname = usePathname() const navItems = [ { href: "/", label: "Home", icon: Home, isActive: pathname === "/" }, { href: "/models", label: "Models", icon: LayoutGrid, isActive: pathname === "/models" || pathname === "/benchmarks" || pathname?.startsWith("/evaluations") }, { href: "/evals", label: "Evaluations", icon: BarChart3, isActive: pathname === "/evals" || pathname?.startsWith("/evals/") }, { href: "/about", label: "About", icon: Info, isActive: pathname === "/about" } ] return (
EvalEval Logo Eval Cards
) }