'use client' import { MessageSquare, LayoutDashboard, Box, Bot, ListTodo, Brain, BookOpen, GitBranch, BarChart2, Settings, Zap, Plug, MonitorPlay } from 'lucide-react' import { useAppStore } from '@/store/useAppStore' import type { Page } from '@/store/useAppStore' interface NavItem { id: Page label: string labelMy: string icon: React.ElementType } const NAV_ITEMS: NavItem[] = [ { id: 'chat', label: 'Chat', labelMy: 'စကားပြော', icon: MessageSquare }, { id: 'dashboard', label: 'Dashboard', labelMy: 'Dashboard', icon: LayoutDashboard }, { id: 'spaces', label: 'Spaces', labelMy: 'Spaces (22)', icon: Box }, { id: 'agents', label: 'Agents', labelMy: 'Agent (16)', icon: Bot }, { id: 'connectors', label: 'Connectors', labelMy: 'ချိတ်ဆက်မှု', icon: Plug }, { id: 'tasks', label: 'Tasks', labelMy: 'လုပ်ငန်းများ', icon: ListTodo }, { id: 'memory', label: 'Memory', labelMy: 'မှတ်ဉာဏ်', icon: Brain }, { id: 'knowledge', label: 'Knowledge', labelMy: 'ဗဟုသုတ', icon: BookOpen }, { id: 'workflows', label: 'Workflows', labelMy: 'Workflow', icon: GitBranch }, { id: 'analytics', label: 'Analytics', labelMy: 'Analytics', icon: BarChart2 }, { id: 'settings', label: 'Settings', labelMy: 'ဆက်တင်', icon: Settings }, ] export default function Sidebar() { const { currentPage, setCurrentPage, sidebarOpen, locale, isComputerUseOpen, setComputerUseOpen } = useAppStore() if (!sidebarOpen) return null return ( ) }