2026-07-02 16:15:25 +00:00
|
|
|
import { Routes, Route, Link } from 'react-router-dom';
|
|
|
|
|
import DatasetExplorer from './pages/DatasetExplorer';
|
|
|
|
|
import ArtifactViewer from './pages/ArtifactViewer';
|
|
|
|
|
import MissionUpload from './pages/MissionUpload';
|
2026-07-02 16:22:21 +00:00
|
|
|
import FieldConsole from './pages/FieldConsole';
|
|
|
|
|
import HealthDashboard from './pages/HealthDashboard';
|
2026-07-02 16:34:49 +00:00
|
|
|
import PilotChecklist from './pages/PilotChecklist';
|
2026-07-02 16:15:25 +00:00
|
|
|
|
|
|
|
|
function App() {
|
|
|
|
|
return (
|
|
|
|
|
<div style={{ fontFamily: 'system-ui, sans-serif', maxWidth: 1200, margin: '0 auto', padding: 20 }}>
|
|
|
|
|
<header style={{ borderBottom: '2px solid #333', paddingBottom: 20, marginBottom: 20 }}>
|
|
|
|
|
<h1>LandveX Intelligence Lab</h1>
|
|
|
|
|
<nav style={{ display: 'flex', gap: 20, marginTop: 10 }}>
|
|
|
|
|
<Link to="/">Dataset Explorer</Link>
|
|
|
|
|
<Link to="/upload">Mission Upload</Link>
|
2026-07-02 16:22:21 +00:00
|
|
|
<Link to="/console">Field Console</Link>
|
|
|
|
|
<Link to="/health">Health</Link>
|
2026-07-02 16:34:49 +00:00
|
|
|
<Link to="/pilot">Pilot 001</Link>
|
2026-07-02 16:15:25 +00:00
|
|
|
</nav>
|
|
|
|
|
</header>
|
|
|
|
|
|
|
|
|
|
<Routes>
|
|
|
|
|
<Route path="/" element={<DatasetExplorer />} />
|
|
|
|
|
<Route path="/upload" element={<MissionUpload />} />
|
|
|
|
|
<Route path="/artifact/:id" element={<ArtifactViewer />} />
|
2026-07-02 16:22:21 +00:00
|
|
|
<Route path="/console" element={<FieldConsole />} />
|
|
|
|
|
<Route path="/health" element={<HealthDashboard />} />
|
2026-07-02 16:34:49 +00:00
|
|
|
<Route path="/pilot" element={<PilotChecklist />} />
|
2026-07-02 16:15:25 +00:00
|
|
|
</Routes>
|
|
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export default App;
|