删除多个完成报告文件,优化项目结构以提升可维护性。

This commit is contained in:
乘风
2026-02-03 15:59:37 +08:00
parent d4ca9573f5
commit a2443c097c
119 changed files with 2119 additions and 8537 deletions

View File

@@ -11,13 +11,13 @@ export function BottomNav() {
if (pathname.startsWith("/admin")) return null
const navItems = [
{ href: "/", icon: Home, label: "首页", id: "home" },
{ href: "/match", icon: Users, label: "找伙伴", id: "match" },
{ href: "/my", icon: User, label: "我的", id: "my" },
{ href: "/view", icon: Home, label: "首页", id: "home" },
{ href: "/view/match", icon: Users, label: "找伙伴", id: "match" },
{ href: "/view/my", icon: User, label: "我的", id: "my" },
]
const isActive = (href: string) => {
if (href === "/") return pathname === "/"
if (href === "/view") return pathname === "/view"
return pathname.startsWith(href)
}