"use client" import { useState } from "react" import Link from "next/link" import { usePathname } from "next/navigation" import { cn } from "@/lib/utils" import { Button } from "@/components/ui/button" import { LayoutDashboard, Wallet, FolderTree, Tags, BarChart3, Upload, ChevronLeft, ChevronRight, Settings, } from "lucide-react" const navItems = [ { href: "/", label: "Tableau de bord", icon: LayoutDashboard }, { href: "/accounts", label: "Comptes", icon: Wallet }, { href: "/folders", label: "Organisation", icon: FolderTree }, { href: "/transactions", label: "Transactions", icon: Upload }, { href: "/categories", label: "Catégories", icon: Tags }, { href: "/statistics", label: "Statistiques", icon: BarChart3 }, ] export function Sidebar() { const pathname = usePathname() const [collapsed, setCollapsed] = useState(false) return ( ) }