--- import { footer } from '../data/home'; const hasNewsletterAction = typeof footer.newsletter.actionUrl === 'string' && footer.newsletter.actionUrl.length > 0; const nl = footer.newsletter; const nextUrl = typeof nl.successRedirect === 'string' && nl.successRedirect.length > 0 ? nl.successRedirect : ''; const notifySubject = typeof nl.notifySubject === 'string' && nl.notifySubject.length > 0 ? nl.notifySubject : ''; const linkClass = 'text-sm text-sky-400/90 transition-colors hover:text-sky-300'; ---