"use client" interface SidebarProps { sandboxesRunning: number sandboxesTotal: number activeView: 'settings' | 'sandboxes' | 'help' | 'wizards' isCreateMode: boolean isDestroyMode: boolean onSandboxesClick: () => void onCreateClick: () => void onDestroyClick: () => void onTerminalClick: () => void onSettingsClick: () => void onWizardsClick: () => void onHelpClick: () => void onExitMode: () => void onLogout: () => void terminalDisabled?: boolean } export default function Sidebar({ sandboxesRunning, sandboxesTotal, activeView, isCreateMode, isDestroyMode, onSandboxesClick, onCreateClick, onDestroyClick, onTerminalClick, onSettingsClick, onWizardsClick, onHelpClick, onExitMode, onLogout, terminalDisabled = false, }: SidebarProps) { const navItemClass = (active = false, danger = false) => `w-full flex items-center gap-3 px-3 py-2.5 rounded transition-colors ${ active ? danger ? 'bg-[var(--status-stopped)] text-white shadow-[0_10px_28px_rgba(220,38,38,0.18)]' : 'bg-[var(--nvidia-green)] text-black shadow-[0_10px_28px_rgba(118,185,0,0.18)]' : 'hover:bg-[var(--background-tertiary)] text-[var(--foreground-dim)] hover:text-[var(--foreground)]' }` return ( ) }