aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/client/App.tsx
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-12-07 18:50:08 +0900
committernsfisis <nsfisis@gmail.com>2025-12-07 18:50:08 +0900
commitf443ac18ccb8ab34fb5bf69b0802eb69cf89cf06 (patch)
tree571fa2cdd1959598e623fdd839c07d63b03b1124 /src/client/App.tsx
parentb965d9432b4037dd2f65bb4c8690965e090228ca (diff)
downloadkioku-f443ac18ccb8ab34fb5bf69b0802eb69cf89cf06.tar.gz
kioku-f443ac18ccb8ab34fb5bf69b0802eb69cf89cf06.tar.zst
kioku-f443ac18ccb8ab34fb5bf69b0802eb69cf89cf06.zip
feat(client): add study session page with card flip and rating UI
Implements the complete study flow frontend: - Study session page with card display and flip interaction - Rating buttons (Again, Hard, Good, Easy) with keyboard shortcuts - Progress display showing remaining cards count - Session complete screen with review summary - Study Now button on deck detail page 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Diffstat (limited to 'src/client/App.tsx')
-rw-r--r--src/client/App.tsx13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/client/App.tsx b/src/client/App.tsx
index 4c5b08a..f774003 100644
--- a/src/client/App.tsx
+++ b/src/client/App.tsx
@@ -1,6 +1,12 @@
import { Route, Switch } from "wouter";
import { ProtectedRoute } from "./components";
-import { DeckDetailPage, HomePage, LoginPage, NotFoundPage } from "./pages";
+import {
+ DeckDetailPage,
+ HomePage,
+ LoginPage,
+ NotFoundPage,
+ StudyPage,
+} from "./pages";
export function App() {
return (
@@ -15,6 +21,11 @@ export function App() {
<DeckDetailPage />
</ProtectedRoute>
</Route>
+ <Route path="/decks/:deckId/study">
+ <ProtectedRoute>
+ <StudyPage />
+ </ProtectedRoute>
+ </Route>
<Route path="/login" component={LoginPage} />
<Route component={NotFoundPage} />
</Switch>