chore(nav): rename homepage label to 发现
This commit is contained in:
@@ -23,7 +23,7 @@ export default function DashboardLayout({ children }: { children: React.ReactNod
|
||||
{isAuthenticated && currentRole === "consumer" ? (
|
||||
<div className="flex min-h-[50vh] items-center justify-center">
|
||||
<Button asChild>
|
||||
<Link href="/">首页</Link>
|
||||
<Link href="/">发现</Link>
|
||||
</Button>
|
||||
</div>
|
||||
) : (
|
||||
|
||||
@@ -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: "消息" },
|
||||
|
||||
Reference in New Issue
Block a user