refactor: 重构路由、统一 MorePage 样式并清理冗余

- 新增零依赖路由器 (src/router):路由表 + useSyncExternalStore hook + Link 组件

- 抽出 HomePage,document.title 改由路由表驱动

- MorePage 改用 Tailwind 并复用 Header/Footer,移除 more.css

- 清理未使用依赖 (clsx/tailwind-merge/cva/tw-animate-css)、utils.ts、空 icons 目录、未用的 shadcn 主题变量及重复背景图
This commit is contained in:
xiaozhou233 committed 2026-10-05 19:10:47 +08:00
1 parent 4f687ba457
commit 9ce0c5704a
16 files changed
+230 -402

No files matched your search

+1 -5
View File
@@ -12,14 +12,10 @@
"dependencies": {
"@fontsource-variable/geist": "^5.2.9",
"@tailwindcss/vite": "^4.3.0",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"lucide-react": "^1.17.0",
"react": "^19.2.6",
"react-dom": "^19.2.6",
"tailwind-merge": "^3.6.0",
"tailwindcss": "^4.3.0",
"tw-animate-css": "^1.4.0"
"tailwindcss": "^4.3.0"
},
"devDependencies": {
"@eslint/js": "^10.0.1",