feat: add new content pages

This commit is contained in:
beilunyang
2026-01-18 14:33:11 +08:00
committed by ty
parent cef0ee0f0c
commit 07ad672e7d
54 changed files with 2314 additions and 57 deletions
@@ -0,0 +1,20 @@
"use client"
import { usePathname } from "next/navigation"
import { Footer } from "./footer"
export function ConditionalFooter() {
const pathname = usePathname()
// Hide footer on /moe and /profile paths
const hideFooterPaths = ["/moe", "/profile"]
const shouldHideFooter = hideFooterPaths.some(path =>
pathname.includes(path)
)
if (shouldHideFooter) {
return null
}
return <Footer />
}