import { NavLink, useLocation } from 'react-router-dom'
import { motion, AnimatePresence } from 'framer-motion'
import { useUIStore } from '@/stores/uiStore'
import {
LayoutDashboard,
Users,
TrendingUp,
Wallet,
Briefcase,
FileText,
Megaphone,
HeadphonesIcon,
Zap,
ChevronLeft,
ChevronRight,
Newspaper,
Bot,
Inbox,
Target,
MessageCircle,
} from 'lucide-react'
import { cn } from '@/lib/utils'
const navItems = [
{ path: '/', label: 'Briefing', icon: Newspaper },
{ path: '/dashboard', label: 'Dashboard', icon: LayoutDashboard },
{ path: '/agents', label: 'Agents', icon: Bot },
{ path: '/comm/inbox', label: 'Inbox', icon: Inbox },
{ path: '/comm/leads', label: 'Leads', icon: Target },
{ path: '/comm/contacts', label: 'Contacts', icon: MessageCircle },
{ path: '/crm', label: 'CRM', icon: Users },
{ path: '/sales', label: 'Sales', icon: TrendingUp },
{ path: '/finance', label: 'Finance', icon: Wallet },
{ path: '/hr', label: 'HR', icon: Briefcase },
{ path: '/legal', label: 'Legal', icon: FileText },
{ path: '/marketing', label: 'Marketing', icon: Megaphone },
{ path: '/support', label: 'Support', icon: HeadphonesIcon },
{ path: '/automation', label: 'Automation', icon: Zap },
]
export function Sidebar() {
const { sidebarOpen, toggleSidebar } = useUIStore()
const location = useLocation()
return (
<>
{/* Mobile overlay */}
{sidebarOpen && (
)}
{/* Logo */}
{sidebarOpen && (
AMOS
)}
{/* Navigation */}
>
)
}