fix: preserve localized view all routes
All checks were successful
Deploy to Frontend Servers / deploy (push) Successful in 37s

This commit is contained in:
TerryM
2026-06-02 22:23:07 +08:00
parent edba16bbd2
commit 3c72917bf9

View File

@@ -288,7 +288,7 @@ export function Home() {
<div className="px-4 md:px-0">
<SectionHeader
title={t("categorySection")}
viewAllTo="/categories"
viewAllTo={lp("/categories")}
viewAllLabel={t("viewAll")}
/>
</div>
@@ -385,7 +385,7 @@ export function Home() {
<div className="px-4 md:px-0">
<SectionHeader
title={t("officialSection")}
viewAllTo="/official-recommendations"
viewAllTo={lp("/official-recommendations")}
viewAllLabel={t("viewAll")}
/>
</div>
@@ -470,7 +470,7 @@ export function Home() {
<div className="px-4 md:px-0">
<SectionHeader
title={t("latestSection")}
viewAllTo="/browse"
viewAllTo={lp("/browse")}
viewAllLabel={t("viewAll")}
/>
</div>
@@ -506,7 +506,7 @@ export function Home() {
<div className="px-4 md:px-0">
<SectionHeader
title={t("popularSection")}
viewAllTo="/browse?sort=popular"
viewAllTo={lp("/browse?sort=popular")}
viewAllLabel={t("viewAll")}
/>
</div>