feat: 重构导航和博客系统,支持多级菜单和API数据源

- 重构导航菜单支持多级子菜单结构
- 博客系统改为从API获取数据,移除本地文件存储
- 删除旧的关于页面,准备重构
- 修复博客详情页slug匹配问题
- 默认首页重定向到中文版本
This commit is contained in:
砂糖
2025-11-21 17:49:17 +08:00
parent 0a420f2dbb
commit 216076ff2a
13 changed files with 178 additions and 222 deletions

6
app/page.tsx Normal file
View File

@@ -0,0 +1,6 @@
// 默认跳转到中文版本
import { redirect } from 'next/navigation';
export default function HomePage() {
redirect('/zh');
}