From 00354d392a0bcddaac71fee7b6aae721e5747f59 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Fri, 20 Feb 2026 23:44:07 +0900 Subject: feat(frontend): add problem preview page for pre-game viewing Allow participants to view problem descriptions and sample code before a game starts. Dashboard shows a preview link only for games that haven't started yet. Co-Authored-By: Claude Opus 4.6 --- frontend/app/App.tsx | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'frontend/app/App.tsx') diff --git a/frontend/app/App.tsx b/frontend/app/App.tsx index 9ac8007..3f1333a 100644 --- a/frontend/app/App.tsx +++ b/frontend/app/App.tsx @@ -4,6 +4,7 @@ import PublicOnlyRoute from "./components/PublicOnlyRoute"; import { BASE_PATH } from "./config"; import DashboardPage from "./pages/DashboardPage"; import GolfPlayPage from "./pages/GolfPlayPage"; +import GolfProblemPreviewPage from "./pages/GolfProblemPreviewPage"; import GolfWatchPage from "./pages/GolfWatchPage"; import IndexPage from "./pages/IndexPage"; import LoginPage from "./pages/LoginPage"; @@ -29,6 +30,13 @@ export default function App() { + + {(params) => ( + + + + )} + {(params) => ( -- cgit v1.3.1