feat(ui): separate items and recipes into distinct views

Extract recipe list from ItemsList into a dedicated RecipeList view
Update navigation menu and routing for the new recipes page
This commit is contained in:
2026-04-30 14:31:25 +08:00
parent 0e8b7bc7af
commit 47b9b25032
5 changed files with 102 additions and 35 deletions

View File

@@ -7,7 +7,8 @@ import { api, getAuthToken, onAuthTokenChange, setAuthToken, type AuthUser } fro
const navItems = [
{ label: 'Pokemon', to: '/pokemon' },
{ label: '栖息地', to: '/habitats' },
{ label: '物品 / 材料单', to: '/items' },
{ label: '物品', to: '/items' },
{ label: '材料单', to: '/recipes' },
{ label: '管理', to: '/admin' }
];