2026-05-12 10:28:12 -06:00
|
|
|
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'
|
2026-05-13 18:08:09 -06:00
|
|
|
import Notifications from './pages/Notifications'
|
|
|
|
|
import Reference from './pages/Reference'
|
|
|
|
|
import { ToastProvider } from './components/ToastProvider'
|
2026-05-12 10:28:12 -06:00
|
|
|
|
|
|
|
|
function App() {
|
|
|
|
|
return (
|
2026-05-13 18:08:09 -06:00
|
|
|
<ToastProvider>
|
|
|
|
|
<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 />} />
|
|
|
|
|
<Route path="/notifications" element={<Notifications />} />
|
|
|
|
|
<Route path="/reference" element={<Reference />} />
|
|
|
|
|
</Routes>
|
|
|
|
|
</Layout>
|
|
|
|
|
</ToastProvider>
|
2026-05-12 10:28:12 -06:00
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export default App
|