import React from 'react'; import { Activity, Compass, Layers, Cpu, BarChart3, Sliders, Radio, Sun, Moon } from 'lucide-react'; import { useTheme } from '../ThemeContext'; interface NavbarProps { activeTab: string; setActiveTab: (tab: string) => void; onlineStatus?: boolean; } export const Navbar: React.FC = ({ activeTab, setActiveTab, onlineStatus = true }) => { const { theme, toggleTheme } = useTheme(); const navItems = [ { id: 'dashboard', label: 'Control Room', icon: Activity }, { id: 'playground', label: 'Playground', icon: Compass }, { id: 'traffic', label: 'Live Traffic', icon: Radio }, { id: 'models', label: 'Models', icon: Cpu }, { id: 'rules', label: 'Rules', icon: Layers }, { id: 'analytics', label: 'Analytics', icon: BarChart3 }, { id: 'settings', label: 'Settings', icon: Sliders }, ]; return (
{/* Brand / Logo */}
setActiveTab('dashboard')} className="flex items-center gap-3 cursor-pointer select-none shrink-0 group" >
Model Router Logo
MODEL ROUTER v1.0
AI Traffic Control Room
{/* Navigation Tabs */} {/* Mobile & Tablet Nav Pill Scroll */} {/* Status Indicator */}
ROUTER READY
); };