"use client"; import { GaugeIcon, LibraryIcon, RocketIcon, SettingsIcon } from "lucide-react"; import Link from "next/link"; import { usePathname } from "next/navigation"; import { cn } from "@/lib/utils"; const LINKS = [ { href: "/", label: "Library", icon: LibraryIcon, active: (p: string) => !["/settings", "/deployments", "/benchmarks"].some((x) => p.startsWith(x)), }, { href: "/deployments", label: "Deployments", icon: RocketIcon, active: (p: string) => p.startsWith("/deployments") }, { href: "/benchmarks", label: "Benchmarks", icon: GaugeIcon, active: (p: string) => p.startsWith("/benchmarks") }, { href: "/settings", label: "Settings", icon: SettingsIcon, active: (p: string) => p.startsWith("/settings") }, ]; /** Main navigation; model and job pages count as part of the library. */ export function AppNav() { const pathname = usePathname(); return ( ); }