feat(panel): migrate to React Router, role-based layout and routing

Replace useState-based page switching with react-router-dom Routes.
Layout now renders admin or player nav items based on user.role.
Add stub pages for PlayerDashboard, GameLobby, and GameRoom.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
syntaxbullet
2026-04-02 13:29:14 +02:00
parent f290eeeb8a
commit 3bdb720e4a
5 changed files with 234 additions and 195 deletions

View File

@@ -0,0 +1,3 @@
export function GameLobby() {
return <div className="text-text-tertiary">Game Lobby loading...</div>;
}