mirror of
https://github.com/zvx-echo6/meshai.git
synced 2026-05-21 23:24:44 +02:00
- Vite + React 18 + TypeScript + Tailwind CSS - Dashboard overview with health gauge, pillar bars, alerts - WebSocket hook for real-time updates - Layout with sidebar navigation and live indicator - Placeholder pages for Mesh, Environment, Config, Alerts - Dark theme ops center aesthetic with JetBrains Mono Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
23 lines
668 B
TypeScript
23 lines
668 B
TypeScript
import { Routes, Route } from 'react-router-dom'
|
|
import Layout from './components/Layout'
|
|
import Dashboard from './pages/Dashboard'
|
|
import Mesh from './pages/Mesh'
|
|
import Environment from './pages/Environment'
|
|
import Config from './pages/Config'
|
|
import Alerts from './pages/Alerts'
|
|
|
|
function App() {
|
|
return (
|
|
<Layout>
|
|
<Routes>
|
|
<Route path="/" element={<Dashboard />} />
|
|
<Route path="/mesh" element={<Mesh />} />
|
|
<Route path="/environment" element={<Environment />} />
|
|
<Route path="/config" element={<Config />} />
|
|
<Route path="/alerts" element={<Alerts />} />
|
|
</Routes>
|
|
</Layout>
|
|
)
|
|
}
|
|
|
|
export default App
|