chore(nav): rename homepage label to 发现

This commit is contained in:
zetaloop
2026-02-25 02:53:51 +08:00
parent dc451b0218
commit 360ac9b5be
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ export default function DashboardLayout({ children }: { children: React.ReactNod
{isAuthenticated && currentRole === "consumer" ? ( {isAuthenticated && currentRole === "consumer" ? (
<div className="flex min-h-[50vh] items-center justify-center"> <div className="flex min-h-[50vh] items-center justify-center">
<Button asChild> <Button asChild>
<Link href="/"></Link> <Link href="/"></Link>
</Button> </Button>
</div> </div>
) : ( ) : (
+2 -2
View File
@@ -53,13 +53,13 @@ export function Header() {
const navLinks = const navLinks =
currentRole === "consumer" currentRole === "consumer"
? [ ? [
{ href: "/", label: "首页" }, { href: "/", label: "发现" },
{ href: "/search", label: "找陪玩" }, { href: "/search", label: "找陪玩" },
{ href: "/community", label: "社区" }, { href: "/community", label: "社区" },
{ href: "/chat", label: "消息" }, { href: "/chat", label: "消息" },
] ]
: [ : [
{ href: "/", label: "首页" }, { href: "/", label: "发现" },
{ href: "/community", label: "社区" }, { href: "/community", label: "社区" },
{ href: "/orders", label: "订单" }, { href: "/orders", label: "订单" },
{ href: "/chat", label: "消息" }, { href: "/chat", label: "消息" },