diff options
| author | nsfisis <nsfisis@gmail.com> | 2025-12-07 18:21:20 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2025-12-07 18:21:20 +0900 |
| commit | af9a4912f914bb198fe13bd3421ea33ff3bf9d45 (patch) | |
| tree | 707f81a146739ec4c2abb67033f8612cb5079d41 /src/client/App.tsx | |
| parent | 0b0e7e802fcb50652c3e9912363d996a039d56d8 (diff) | |
| download | kioku-af9a4912f914bb198fe13bd3421ea33ff3bf9d45.tar.gz kioku-af9a4912f914bb198fe13bd3421ea33ff3bf9d45.tar.zst kioku-af9a4912f914bb198fe13bd3421ea33ff3bf9d45.zip | |
feat(client): add card list view in deck detail page
Add DeckDetailPage component that displays all cards in a deck with their
front/back content, state, review count, and lapses. Deck names on HomePage
are now clickable links to navigate to the deck detail view.
🤖 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.tsx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/client/App.tsx b/src/client/App.tsx index 5e749d2..4c5b08a 100644 --- a/src/client/App.tsx +++ b/src/client/App.tsx @@ -1,6 +1,6 @@ import { Route, Switch } from "wouter"; import { ProtectedRoute } from "./components"; -import { HomePage, LoginPage, NotFoundPage } from "./pages"; +import { DeckDetailPage, HomePage, LoginPage, NotFoundPage } from "./pages"; export function App() { return ( @@ -10,6 +10,11 @@ export function App() { <HomePage /> </ProtectedRoute> </Route> + <Route path="/decks/:deckId"> + <ProtectedRoute> + <DeckDetailPage /> + </ProtectedRoute> + </Route> <Route path="/login" component={LoginPage} /> <Route component={NotFoundPage} /> </Switch> |
