import React from 'react'; import type { View } from '../types'; import { BonsaiIcon, SparklesIcon, BugIcon, LeafIcon, WrenchIcon, BookUserIcon, StethoscopeIcon, PaletteIcon, ScanIcon, SnailIcon, FilterIcon, RootsIcon, PotRulerIcon, SunClockIcon, BeakerIcon, ShovelIcon, UmbrellaIcon, ScissorsIcon, SettingsIcon, ChevronsLeftIcon } from './icons'; import { AuthContext } from '../context/AuthContext'; interface SidebarProps { activeView: View; setActiveView: (view: View) => void; isCollapsed: boolean; setIsCollapsed: (isCollapsed: boolean) => void; } const CATEGORIZED_NAV_ITEMS = [ { category: 'Core', items: [ { id: 'garden', name: 'My Garden', icon: BookUserIcon }, { id: 'steward', name: 'New Tree Analysis', icon: SparklesIcon }, ] }, { category: 'AI Studios', items: [ { id: 'designStudio', name: 'AI Design Studio', icon: PaletteIcon }, { id: 'wiringGuide', name: 'AI Wiring Guide', icon: SnailIcon }, { id: 'nebariDeveloper', name: 'Nebari Developer', icon: RootsIcon }, // { id: 'virtualTrimmer', name: 'Virtual Trimmer', icon: ScissorsIcon }, ] }, { category: 'Diagnostics', items: [ { id: 'healthCheck', name: 'Health Check-up', icon: StethoscopeIcon }, { id: 'speciesIdentifier', name: 'Species Identifier', icon: ScanIcon }, { id: 'soilAnalyzer', name: 'Soil Analyzer', icon: FilterIcon }, { id: 'weatherShield', name: 'Weather Shield', icon: UmbrellaIcon }, ] }, { category: 'Utilities', items: [ { id: 'sunTracker', name: 'Sun Tracker', icon: SunClockIcon }, { id: 'potCalculator', name: 'Pot Calculator', icon: PotRulerIcon }, { id: 'fertilizerMixer', name: 'Fertilizer Mixer', icon: BeakerIcon }, { id: 'soilVolumeCalculator', name: 'Soil Mix Calculator', icon: ShovelIcon }, { id: 'tools', name: 'Tool Guide', icon: WrenchIcon }, ] }, { category: 'Reference', items: [ { id: 'pests', name: 'Pest Library', icon: BugIcon }, { id: 'seasons', name: 'Seasonal Guides', icon: LeafIcon }, ] }, ]; const Sidebar: React.FC = ({ activeView, setActiveView, isCollapsed, setIsCollapsed }) => { const { logout } = React.useContext(AuthContext); return ( ); }; export default Sidebar;