import type { Metadata } from 'next' import { getDictionary, LOCALES, type Locale } from '@/lib/i18n' import ContactForm from '@/components/ui/ContactForm' import { Phone, Mail, MapPin } from 'lucide-react' export function generateStaticParams() { return LOCALES.map(lang => ({ lang })) } export async function generateMetadata({ params }: { params: Promise<{ lang: string }> }): Promise { const { lang } = await params const d = getDictionary(lang) return { title: d.contact.title, description: d.contact.subtitle, alternates: { canonical: `https://sag24.ru/${lang}/kontakty/` }, } } export default async function KontaktyPage({ params }: { params: Promise<{ lang: string }> }) { const { lang: langStr } = await params const lang = langStr as Locale const d = getDictionary(lang) return (

{d.contact.title}

{d.contact.subtitle}

{d.contact.phone}
{d.contact.phones.map((phone, i) => ( {phone} ))}
{d.contact.email}
info@sag24.ru
{d.contact.address}
{d.contact.addressValue}