diff --git a/src/app/(site)/[locale]/contacts/page.tsx b/src/app/(site)/[locale]/contacts/page.tsx
index f48849f..3dcf800 100644
--- a/src/app/(site)/[locale]/contacts/page.tsx
+++ b/src/app/(site)/[locale]/contacts/page.tsx
@@ -5,7 +5,8 @@ import { ContactForm } from '@/components/ContactForm'
import { Footer } from '@/components/Footer'
import { Header } from '@/components/Header'
import { getDict, isLocale, locales } from '@/i18n'
-import { loadContent } from '@/lib/content'
+import { loadContent, loadLegal } from '@/lib/content'
+import { isLegalPublished } from '@/lib/legal-model'
import { FALLBACK_EMAIL } from '@/lib/inquiry'
export const dynamic = 'force-dynamic'
@@ -30,6 +31,7 @@ export default async function ContactsPage({ params }: Props) {
if (!isLocale(locale)) notFound()
const t = getDict(locale)
const { home } = await loadContent(locale)
+ const legal = await loadLegal(locale)
const email = home?.contactEmail?.trim() || FALLBACK_EMAIL
return (
<>
@@ -43,10 +45,10 @@ export default async function ContactsPage({ params }: Props) {
{t.contacts.emailLabel}: {email}
-
+
-
+
>
)
}
diff --git a/src/app/(site)/[locale]/page.tsx b/src/app/(site)/[locale]/page.tsx
index f6df718..9a667cc 100644
--- a/src/app/(site)/[locale]/page.tsx
+++ b/src/app/(site)/[locale]/page.tsx
@@ -1,5 +1,5 @@
-import { isLegalPublished } from '@/lib/legal-model'
import { loadLegal } from '@/lib/content'
+import { isLegalPublished } from '@/lib/legal-model'
import Image from 'next/image'
import { notFound } from 'next/navigation'
import { BookWhere } from '@/components/BookWhere'
@@ -41,6 +41,7 @@ export default async function Home({ params }: { params: Promise<{ locale: strin
const { home, news } = await loadContent(locale)
const m = buildHomeModel(home, news, t)
const email = m.collaboration.email ?? FALLBACK_EMAIL
+ const legal = await loadLegal(locale)
const fmt = new Intl.DateTimeFormat(locale, { day: 'numeric', month: 'long', year: 'numeric' })
return (
@@ -119,7 +120,7 @@ export default async function Home({ params }: { params: Promise<{ locale: strin
{t.collaboration.title}
{m.collaboration.text}
-
+