diff --git a/app/(dashboard)/layout.tsx b/app/(dashboard)/layout.tsx index ad3c673..1f3fd20 100644 --- a/app/(dashboard)/layout.tsx +++ b/app/(dashboard)/layout.tsx @@ -23,7 +23,7 @@ export default function DashboardLayout({ children }: { children: React.ReactNod {isAuthenticated && currentRole === "consumer" ? (
) : ( diff --git a/components/header.tsx b/components/header.tsx index 0980fc4..ff62f5e 100644 --- a/components/header.tsx +++ b/components/header.tsx @@ -53,13 +53,13 @@ export function Header() { const navLinks = currentRole === "consumer" ? [ - { href: "/", label: "首页" }, + { href: "/", label: "发现" }, { href: "/search", label: "找陪玩" }, { href: "/community", label: "社区" }, { href: "/chat", label: "消息" }, ] : [ - { href: "/", label: "首页" }, + { href: "/", label: "发现" }, { href: "/community", label: "社区" }, { href: "/orders", label: "订单" }, { href: "/chat", label: "消息" },