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 { useContent } from '@/hooks/use-locale'; import { useSiteInfo } from '@/hooks/use-site-info'; type ConsultationSectionProps = { id: string; source: 'home' | 'services'; title: string; description: string; }; /** Closing call-to-action with contact details and the quick form. */ export default function ConsultationSection({ id, source, title, description, }: ConsultationSectionProps) { const site = useSiteInfo(); const t = useContent(common); const contacts = site.offices.map((office) => ({ icon: office.icon, title: office.name, lines: [ office.building, `${office.street}, ${office.area}`, office.city, `${t.consultation.tel}: ${office.phone}`, ], })); return ( } >
{description}