'use client'; import { useEffect, useState } from 'react'; import { DashboardOverview } from '@/components/DashboardOverview'; import { ConfigEditor } from '@/components/ConfigEditor'; import { LogViewer } from '@/components/LogViewer'; import { ProviderManager } from '@/components/ProviderManager'; import { ModelSwitcher } from '@/components/ModelSwitcher'; import { QuickActions } from '@/components/QuickActions'; import { Tabs, TabsContent, TabsList, TabsTrigger } from '@/components/ui/tabs'; import { Activity, Settings, Terminal, Key, Cpu, Zap } from 'lucide-react'; type TabValue = 'dashboard' | 'config' | 'logs' | 'providers' | 'models' | 'actions'; export default function Home() { const [activeTab, setActiveTab] = useState('dashboard'); return (
{/* Header */}

OpenClaw Dashboard

Manage your AI infrastructure

Status
Live
{/* Main Content */} setActiveTab(v as TabValue)} className="w-full"> Dashboard Config Logs Providers Models Actions {/* Footer */}
); }