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
@@ -1370,7 +1370,7 @@ export default function BookingPage() {
>
{t('booking.form.termsAgreePart1')}
<Link
href="/legal/terms-policy"
href={`/legal/terms-policy${locale === 'es' ? '?locale=es' : ''}`}
target="_blank"
rel="noopener noreferrer"
className="text-secondary-blue hover:text-brand-navy underline"
@@ -1379,7 +1379,7 @@ export default function BookingPage() {
</Link>
{t('booking.form.termsAgreePart2')}
<Link
href="/legal/privacy-policy"
href={`/legal/privacy-policy${locale === 'es' ? '?locale=es' : ''}`}
target="_blank"
rel="noopener noreferrer"
className="text-secondary-blue hover:text-brand-navy underline"