import ConsultationForm from '@/components/site/consultation-form'; import Glow from '@/components/site/glow'; import Icon from '@/components/site/icon'; import Pill from '@/components/site/pill'; import Section from '@/components/site/section'; import { common } from '@/content/common'; import { company, offices } from '@/data/site'; import { useContent } from '@/hooks/use-locale'; type ConsultationSectionProps = { id: string; title: string; description: string; }; /** Closing call-to-action with contact details and the quick form. */ export default function ConsultationSection({ id, title, description, }: ConsultationSectionProps) { const t = useContent(common); const contacts = offices.map((office) => ({ icon: office.icon, title: office.name, lines: [ office.building, `${office.street}, ${office.area}`, office.city, `${t.consultation.tel}: ${office.phone.label}`, ], })); return ( } >
{description}