'use client'; import { useTranslations } from 'next-intl'; export function Contact() { const t = useTranslations(); const contactList = [ { icon: 'uil-envelope-alt', titleKey: 'Contact.email', value: 'hello@pintumasuk.id', }, { icon: 'uil-phone', titleKey: 'Contact.phone', value: '+62 812-3456-7890', }, { icon: 'uil-map-marker', titleKey: 'Contact.office', valueKey: 'Contact.address', }, ]; return (
{t('Contact.eyebrow')}

{t('Contact.title')}

{t('Contact.desc')}

{contactList.map((item, i) => (
{(t as any)(item.titleKey)} {item.valueKey ? (t as any)(item.valueKey) : item.value}
))}

{t('Contact.form.title')}

e.preventDefault()}>

{t('Contact.form.note')}

); }