import { Loader2, Settings, Volume2 } from 'lucide-react'; import voiceboxLogo from '@/assets/voicebox-logo.png'; import { cn } from '@/lib/utils/cn'; import { useGenerationStore } from '@/stores/generationStore'; import { usePlayerStore } from '@/stores/playerStore'; interface SidebarProps { activeTab: string; onTabChange: (tab: string) => void; isMacOS?: boolean; } const tabs = [ { id: 'main', icon: Volume2, label: 'Main' }, { id: 'settings', icon: Settings, label: 'Settings' }, ]; export function Sidebar({ activeTab, onTabChange, isMacOS }: SidebarProps) { const isGenerating = useGenerationStore((state) => state.isGenerating); const audioUrl = usePlayerStore((state) => state.audioUrl); const isPlayerVisible = !!audioUrl; return (