/* global React, Icon, Eyebrow, Reveal, TBMark, useLanguage */ function Footer() { const { isPortuguese } = useLanguage(); const homePrefix = /Projects\.html$/i.test(window.location.pathname) ? 'index.html' : ''; const browseItems = isPortuguese ? [ { label: 'retratos', href: 'Projects.html' }, { label: 'casais', href: 'Projects.html' }, { label: 'famílias', href: 'Projects.html' }, { label: 'coleções', href: `${homePrefix}#collections` }, ] : [ { label: 'portraits', href: 'Projects.html' }, { label: 'couples', href: 'Projects.html' }, { label: 'families', href: 'Projects.html' }, { label: 'collections', href: `${homePrefix}#collections` }, ]; const infoItems = isPortuguese ? [ { label: 'sobre', href: `${homePrefix}#about` }, { label: 'valores', href: `${homePrefix}#pricing` }, { label: 'depoimentos', href: `${homePrefix}#testimonials` }, { label: 'contato', href: `${homePrefix}#contact` }, ] : [ { label: 'about', href: `${homePrefix}#about` }, { label: 'pricing', href: `${homePrefix}#pricing` }, { label: 'kind words', href: `${homePrefix}#testimonials` }, { label: 'contact', href: `${homePrefix}#contact` }, ]; return ( ); } function FootCol({ title, items }) { return (
{title} {items.map(({ label, href }) => ( { e.currentTarget.style.color = 'var(--limestone)'; e.currentTarget.style.borderBottomColor = 'var(--taxi)'; }} onMouseLeave={e => { e.currentTarget.style.color = '#C9C2B3'; e.currentTarget.style.borderBottomColor = 'transparent'; }} >{label} ))}
); } function FootLink({ icon, label, href, external }) { return ( {label} ); } window.Footer = Footer;