terry-staging #3

Merged
terry merged 5 commits from terry-staging into main 2026-05-26 12:59:23 +00:00
Showing only changes of commit 292383f122 - Show all commits

View File

@@ -410,10 +410,13 @@ export function PublicLayout() {
} }
/> />
<BottomNavIcon <BottomNavIcon
to="/wallet" to="/browse?sort=recommended"
label={t("wallet")} label={t("official")}
icon="profile" icon="heart"
active={pathname === "/wallet"} active={
pathname === "/browse" &&
new URLSearchParams(search).get("sort") === "recommended"
}
/> />
<BottomNavIcon <BottomNavIcon
to="/browse?sort=latest" to="/browse?sort=latest"
@@ -440,7 +443,7 @@ function BottomNavIcon({
}: { }: {
to: string; to: string;
label: string; label: string;
icon: "home" | "document" | "profile" | "update"; icon: "home" | "document" | "heart" | "profile" | "update";
active: boolean; active: boolean;
}) { }) {
const src = active const src = active