import { BarChart3, Shield, FileText, Scale, Home, Activity, Gauge, Brain, Network, Hash, Radio } from "lucide-react"; interface SidebarProps { activeSection: string; onSectionChange: (section: string) => void; isConnected: boolean; } export function Sidebar({ activeSection, onSectionChange, isConnected }: SidebarProps) { const menuItems = [ { id: 'dashboard', label: 'Dashboard', icon: BarChart3 }, { id: 'blockchain', label: 'Blockchain Core', icon: Activity }, { id: 'contracts', label: 'Smart Contracts', icon: FileText }, { id: 'evidence', label: 'Evidence Chains', icon: Shield }, { id: 'ai-analysis', label: 'AI Analysis', icon: Brain }, { id: 'cases', label: 'Case Management', icon: Scale }, { id: 'property', label: 'Property NFTs', icon: Home }, { id: 'chittyid', label: 'ChittyID System', icon: Hash }, { id: 'beacon', label: 'App Tracking', icon: Radio }, { id: 'ecosystem', label: 'Ecosystem', icon: Network }, { id: 'monitoring', label: 'Monitoring', icon: Gauge }, ]; const systemStatus = [ { name: 'ChittyChain Core', status: 'active' }, { name: 'IPFS Network', status: 'active' }, { name: 'WebSocket', status: isConnected ? 'active' : 'error' }, { name: 'AI Analysis', status: 'active' }, { name: 'Audit Engine', status: 'pending' }, ]; const getStatusColor = (status: string) => { switch (status) { case 'active': return 'text-green-400'; case 'pending': return 'text-yellow-400'; case 'error': return 'text-red-400'; default: return 'text-gray-400'; } }; return ( ); }