2025-08-01 17:59:08 +02:00
|
|
|
import React from 'react';
|
|
|
|
import { BrowserRouter as Router, Routes, Route } from 'react-router-dom';
|
2025-08-01 18:28:25 +02:00
|
|
|
import Home from './screens/Home';
|
|
|
|
import CreateStation from './screens/CreateStation';
|
|
|
|
import JoinStation from './screens/JoinStation';
|
2025-08-01 17:59:08 +02:00
|
|
|
import './App.css';
|
|
|
|
|
|
|
|
function App() {
|
|
|
|
return (
|
|
|
|
<div className="App">
|
|
|
|
<Router>
|
|
|
|
<Routes>
|
|
|
|
<Route path="/" element={<Home />} />
|
|
|
|
<Route path="/create-station" element={<CreateStation />} />
|
|
|
|
<Route path="/join-station" element={<JoinStation />} />
|
2025-08-01 18:25:04 +02:00
|
|
|
<Route path="/station" element={<StationPage />} />
|
2025-08-01 17:59:08 +02:00
|
|
|
</Routes>
|
|
|
|
</Router>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
}
|
|
|
|
|
|
|
|
export default App;
|