import { useTranslations } from 'next-intl'; import { getTranslations } from 'next-intl/server'; import { Metadata } from 'next'; import JsonLd from '@/components/JsonLd'; import { getBreadcrumbSchema, SITE_URL, LOGO_URL } from '@/lib/schema'; import { Section, Container, Button, Heading, Card, Input, Textarea, Label } from '@/components/ui'; interface ContactPageProps { params: { locale: string; }; } export async function generateMetadata({ params: { locale } }: ContactPageProps): Promise { const t = await getTranslations({ locale, namespace: 'Contact' }); return { title: t('title'), description: t('subtitle'), alternates: { canonical: `/${locale}/contact`, languages: { 'de': '/de/contact', 'en': '/en/contact', 'x-default': '/en/contact', }, }, openGraph: { title: `${t('title')} | KLZ Cables`, description: t('subtitle'), url: `https://klz-cables.com/${locale}/contact`, }, twitter: { card: 'summary_large_image', title: `${t('title')} | KLZ Cables`, description: t('subtitle'), }, }; } export default function ContactPage() { const t = useTranslations('Contact'); const locale = t('locale') || 'en'; // Fallback if needed, but usually passed via params return (
{/* Hero Section */}
{t('title')}

{t('subtitle')}

{/* Contact Info */}
{t('info.howToReachUs')}

{t('info.office')}

{t('info.address')}

{t('info.phone')}

+49 881 92537298

{t('info.email')}

info@klz-vertriebs-gmbh.com
{t('hours.title')}
  • {t('hours.weekdays')} {t('hours.weekdaysTime')}
  • {t('hours.weekend')} {t('hours.closed')}
{/* Contact Form */}
{t('form.title')}