fix(legal): show legal pages in site language with bidirectional toggle

Wire legal pages to LanguageContext, pass locale on footer/booking links,
translate layout chrome, and restore SSR content when switching back to English.
This commit is contained in:
Michilis
2026-06-04 22:51:32 +00:00
parent 22e9254f42
commit a8b72b47b1
6 changed files with 76 additions and 7 deletions
@@ -68,6 +68,8 @@ export default async function LegalPage({ params, searchParams }: PageProps) {
return (
<LegalPageLayout
slug={resolvedParams.slug}
initialLocale={locale}
title={legalPage.title}
content={legalPage.content}
lastUpdated={legalPage.lastUpdated}