'use client' import { cn } from '@/lib/utils' import { useAppStore } from '@/stores/appStore' import { Button } from '@/components/ui/button' import { Home, Settings, Users, FileText, Folder } from 'lucide-react' import Link from 'next/link' import { usePathname } from 'next/navigation' const sidebarItems = [ { icon: Home, label: 'Home', href: '/' }, { icon: Folder, label: 'Files', href: '/files' }, { icon: FileText, label: 'Documents', href: '/documents' }, { icon: Users, label: 'Users', href: '/users' }, { icon: Settings, label: 'Settings', href: '/settings' }, ] export function Sidebar() { const { sidebarOpen } = useAppStore() const pathname = usePathname() return ( ) }