Refactor public legal URLs and fix broken links

This commit is contained in:
dyzulk
2025-12-30 18:02:36 +07:00
parent 59160de9ab
commit ca3641e338
9 changed files with 146 additions and 109 deletions

View File

@@ -41,7 +41,7 @@ export default function Footer() {
{legalPages.map((page) => (
<Link
key={page.slug}
href={`/legal/view?slug=${page.slug}`}
href={`/legal?page=${page.slug}`}
className="hover:text-brand-500 transition-colors"
>
{page.title}