--- import { cta } from '../data/home'; const cf = cta.contactForm; const model = { actionUrl: cf.actionUrl, mailto: cf.mailto, notifySubject: cf.notifySubject, successRedirect: cf.successRedirect, fieldName: cf.fieldName, fieldCompany: cf.fieldCompany, fieldCountry: cf.fieldCountry, fieldEmail: cf.fieldEmail, fieldMessage: cf.fieldMessage, }; const hasFormspree = typeof cf.actionUrl === 'string' && cf.actionUrl.length > 0; const nextUrl = typeof cf.successRedirect === 'string' && cf.successRedirect.length > 0 ? cf.successRedirect : ''; const notifySubject = typeof cf.notifySubject === 'string' && cf.notifySubject.length > 0 ? cf.notifySubject : ''; const fieldClass = 'mt-1.5 min-h-10 w-full rounded-lg border border-nx-border bg-nx-bg/80 px-3 text-sm text-nx-fg outline-none ring-sky-500/30 focus:border-sky-500/40 focus:ring-2'; ---