Ship live alerts, pool status, AI monitor, remote agent commands, build manager, and uninstall flow; wire Calibrate settings (WS ping, pool traffic log, retention limits) at runtime and exclude server/data from git.
26 lines
908 B
TypeScript
26 lines
908 B
TypeScript
import { Routes, Route, Navigate } from 'react-router-dom';
|
|
import Layout from './components/Layout/Layout';
|
|
import DashboardPage from './pages/DashboardPage';
|
|
import AgentsPage from './pages/AgentsPage';
|
|
import BuilderPage from './pages/BuilderPage';
|
|
import SettingsPage from './pages/SettingsPage';
|
|
import GuidePage from './pages/GuidePage';
|
|
|
|
function App() {
|
|
return (
|
|
<Layout>
|
|
<Routes>
|
|
<Route path="/" element={<Navigate to="/dashboard" replace />} />
|
|
<Route path="/dashboard" element={<DashboardPage />} />
|
|
<Route path="/agents" element={<AgentsPage />} />
|
|
<Route path="/forge" element={<BuilderPage />} />
|
|
<Route path="/builder" element={<Navigate to="/forge" replace />} />
|
|
<Route path="/guide" element={<GuidePage />} />
|
|
<Route path="/settings" element={<SettingsPage />} />
|
|
</Routes>
|
|
</Layout>
|
|
);
|
|
}
|
|
|
|
export default App;
|