feat: implement leaderboard page and integrate into application routing

This commit is contained in:
RaymondVerhoef
2026-05-10 21:47:14 +02:00
parent 31aacd68d5
commit 0cf5758742
2 changed files with 171 additions and 3 deletions

View File

@@ -9,9 +9,7 @@ import Dashboard from './pages/Dashboard'
import Admin from './pages/Admin'
import Leren from './pages/Leren'
import Testen from './pages/Testen'
// Placeholder components for routing structure
const Leaderboard = () => <div className="p-4 md:p-8"><h1 className="text-3xl md:text-4xl text-teal font-bold">Leaderboard</h1><p className="mt-4">See who is on top!</p></div>
import Leaderboard from './pages/Leaderboard'
// Protected Route Wrapper
const ProtectedRoute = ({ children, requireAdmin }) => {