ADD: added database connection for players data handling and started login funtion with database
This commit is contained in:
@@ -6,6 +6,7 @@ import Dashboard from './pages/Dashboard';
|
||||
import TournamentDetails from './pages/TournamentDetails';
|
||||
import Players from './pages/Players';
|
||||
import Navigation from './pages/Navigation';
|
||||
import TeamManagement from './pages/Teams';
|
||||
|
||||
function App() {
|
||||
|
||||
@@ -19,6 +20,8 @@ function App() {
|
||||
|
||||
{/* Geschützte Routen */}
|
||||
<Route path="/players" element={<ProtectedRoute><Players /></ProtectedRoute>} />
|
||||
<Route path="/teams" element={<ProtectedRoute><TeamManagement /></ProtectedRoute>} />
|
||||
|
||||
<Route path="/tournaments/:id" element={<ProtectedRoute><TournamentDetails /></ProtectedRoute>} />
|
||||
</Routes>
|
||||
</Router>
|
||||
|
||||
Reference in New Issue
Block a user