feat: refine home section navigation

This commit is contained in:
TerryM
2026-05-28 16:07:08 +08:00
parent 9d977be2d2
commit e0240f6217
4 changed files with 33 additions and 30 deletions

View File

@@ -267,8 +267,7 @@ export function PublicLayout() {
const na = (which: PublicNavWhich) =>
navIsActive(pathname, search, hash, which);
const isHome = pathname === "/";
const footerInContentFlow =
pathname === "/browse" || pathname.startsWith("/category/");
const footerInContentFlow = pathname === "/browse";
const goSearch = () => {
const s = q.trim();