2026-02-04 17:13:58 +01:00
|
|
|
import { Routes, Route } from 'react-router-dom'
|
|
|
|
|
import { Layout } from './components'
|
2026-02-05 15:09:25 +01:00
|
|
|
import { Home, NewRun, Dashboard, Encounters } from './pages'
|
2026-02-04 17:13:58 +01:00
|
|
|
|
|
|
|
|
function App() {
|
|
|
|
|
return (
|
|
|
|
|
<Routes>
|
|
|
|
|
<Route path="/" element={<Layout />}>
|
|
|
|
|
<Route index element={<Home />} />
|
2026-02-05 15:09:25 +01:00
|
|
|
<Route path="runs/new" element={<NewRun />} />
|
2026-02-04 17:13:58 +01:00
|
|
|
<Route path="dashboard" element={<Dashboard />} />
|
|
|
|
|
<Route path="encounters" element={<Encounters />} />
|
|
|
|
|
</Route>
|
|
|
|
|
</Routes>
|
|
|
|
|
)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export default App
|