From 62987ce4b8ba956f8ac7068ec6e4becf8ad546e6 Mon Sep 17 00:00:00 2001
From: Peppa
Date: Tue, 17 Nov 2026 17:45:51 +0500
Subject: [PATCH] =?UTF-8?q?QLFW-18:=20=D1=81=D1=81=D1=8B=D0=BB=D0=BA=D0=B0?=
=?UTF-8?q?=20=D0=BD=D0=B0=20=D0=BF=D0=BE=D0=BB=D0=B8=D1=82=D0=B8=D0=BA?=
=?UTF-8?q?=D1=83=20=D0=B2=20=D1=81=D0=BE=D0=B3=D0=BB=D0=B0=D1=81=D0=B8?=
=?UTF-8?q?=D0=B8=20=D1=83=20=D1=84=D0=BE=D1=80=D0=BC=20=D1=82=D0=BE=D0=BB?=
=?UTF-8?q?=D1=8C=D0=BA=D0=BE=20=D0=BF=D1=80=D0=B8=20=D0=BF=D0=BE=D0=BB?=
=?UTF-8?q?=D0=BD=D0=BE=D0=BC=20=D1=82=D0=B5=D0=BA=D1=81=D1=82=D0=B5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Co-Authored-By: Claude Sonnet 5.5
---
src/app/(site)/[locale]/contacts/page.tsx | 6 ++++--
src/app/(site)/[locale]/page.tsx | 7 ++++---
src/components/ContactForm.tsx | 6 ++++--
3 files changed, 12 insertions(+), 7 deletions(-)
diff --git a/src/app/(site)/[locale]/contacts/page.tsx b/src/app/(site)/[locale]/contacts/page.tsx
index ae4580e..3dcf800 100644
--- a/src/app/(site)/[locale]/contacts/page.tsx
+++ b/src/app/(site)/[locale]/contacts/page.tsx
@@ -6,6 +6,7 @@ import { Footer } from '@/components/Footer'
import { Header } from '@/components/Header'
import { getDict, isLocale, locales } from '@/i18n'
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}
-
+