refactor: move memorize feature to /decks/[deck_id]/learn route

- Delete (features)/memorize directory
- Create /decks/[deck_id]/learn with Memorize component and page
- Update InDeck.tsx to navigate to new learn route
- Fix homepage memorize link to point to /decks
This commit is contained in:
2026-03-14 11:34:46 +08:00
parent af684a15ce
commit 6213dd2338
7 changed files with 42 additions and 179 deletions

View File

@@ -73,7 +73,7 @@ export default async function HomePage() {
color="#dd7486"
></LinkArea>
<LinkArea
href="/memorize"
href="/decks"
name={t("memorize.name")}
description={t("memorize.description")}
color="#cc9988"