"use client"; import Link from "next/link"; import { usePathname } from "next/navigation"; import { cn } from "@/lib/utils"; import { LayoutDashboard, Handshake, Users, Building2, CalendarCheck, Settings, ChevronLeft, } from "lucide-react"; import { Button } from "@/components/ui/button"; import { useState } from "react"; const navItems = [ { href: "/deals", label: "Deals", icon: Handshake }, { href: "/contacts", label: "Contacts", icon: Users }, { href: "/companies", label: "Companies", icon: Building2 }, { href: "/activities", label: "Activities", icon: CalendarCheck }, { href: "/dashboard", label: "Dashboard", icon: LayoutDashboard }, { href: "/settings", label: "Settings", icon: Settings }, ]; export function Sidebar() { const pathname = usePathname(); const [collapsed, setCollapsed] = useState(false); return ( ); }