fix: add favorites to public navigation
All checks were successful
Deploy Staging (terry-wallet-login) / deploy (push) Successful in 1m10s

This commit is contained in:
TerryM
2026-06-06 00:25:12 +08:00
parent fd1a3f4b3e
commit bd48fded30

View File

@@ -669,6 +669,13 @@ export function PublicLayout() {
> >
{t("latest")} {t("latest")}
</Link> </Link>
<Link
to={lp("/favorites")}
className={navClassName(na("favorites"))}
aria-current={na("favorites") ? "page" : undefined}
>
{t("favorites")}
</Link>
<Link <Link
to={popularHref} to={popularHref}
className={navClassName(na("browsePopular"))} className={navClassName(na("browsePopular"))}
@@ -761,6 +768,11 @@ export function PublicLayout() {
label: t("latest"), label: t("latest"),
active: na("browseLatest"), active: na("browseLatest"),
}, },
{
to: lp("/favorites"),
label: t("favorites"),
active: na("favorites"),
},
{ {
to: popularHref, to: popularHref,
label: t("popular"), label: t("popular"),