From af9a4912f914bb198fe13bd3421ea33ff3bf9d45 Mon Sep 17 00:00:00 2001
From: nsfisis <nsfisis@gmail.com>
Date: Sun, 7 Dec 2025 18:21:20 +0900
Subject: feat(client): add card list view in deck detail page
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

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>
---
 src/client/App.tsx | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

(limited to 'src/client/App.tsx')

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>
-- 
cgit v1.2.3-70-g09d2

