"use client" import Link from "next/link" import { usePathname } from "next/navigation" import { Library, MessageSquare, Settings2 } from "lucide-react" import { cn } from "@/lib/utils" export function Navigation() { const pathname = usePathname() const routes = [ { label: "Chat", icon: MessageSquare, href: "/chat", active: pathname === "/" || pathname === "/chat", }, { label: "Knowledge", icon: Library, href: "/knowledge", active: pathname === "/knowledge", }, { label: "Settings", icon: Settings2, href: "/settings", active: pathname === "/settings", }, ] return (