'use client' import { useLang } from '@/context/LangContext' import { siteConfig } from '@/lib/site' const CONTENT = { de: { title: 'Impressum', companyLabel: 'Unternehmen', addressLabel: 'Adresse', representativeLabel: 'Vertretungsberechtigt', contactLabel: 'Kontakt', registryLabel: 'Register', vatLabel: 'USt-ID', note: 'Vor der Veroeffentlichung muessen alle rechtlichen Angaben mit den echten Firmendaten ersetzt werden.', }, en: { title: 'Imprint', companyLabel: 'Company', addressLabel: 'Address', representativeLabel: 'Represented by', contactLabel: 'Contact', registryLabel: 'Registry', vatLabel: 'VAT ID', note: 'Replace all legal placeholders with your real company details before publishing the site.', }, es: { title: 'Aviso Legal', companyLabel: 'Empresa', addressLabel: 'Direccion', representativeLabel: 'Representante', contactLabel: 'Contacto', registryLabel: 'Registro', vatLabel: 'IVA', note: 'Sustituye todos los marcadores legales por tus datos reales antes de publicar el sitio.', }, } export default function ImprintPage() { const { lang } = useLang() const c = CONTENT[lang] return (

{c.title}

{c.companyLabel}: {siteConfig.company.legalName}

{c.addressLabel}: {siteConfig.company.addressLine1}

{siteConfig.company.addressLine2 ?

{siteConfig.company.addressLine2}

: null}

{siteConfig.company.country}

{c.representativeLabel}: {siteConfig.company.representative}

{c.contactLabel}: {siteConfig.legalEmail}

{c.registryLabel}: {siteConfig.company.registry}

{c.vatLabel}: {siteConfig.company.vatId}

{c.note}

) }