/* === Nav === */ const Nav = ({ dark = true }) => { const [scrolled, setScrolled] = React.useState(false); React.useEffect(() => { const onScroll = () => setScrolled(window.scrollY > 20); window.addEventListener('scroll', onScroll); return () => window.removeEventListener('scroll', onScroll); }, []); const navLinks = [ { label: 'Como funciona', href: '#como-funciona' }, { label: 'Para advogados', href: '#advogados' }, { label: 'Para clientes', href: '#clientes' }, { label: 'FAQ', href: '#faq' }, ]; return ( {navLinks.map(l => ( e.currentTarget.style.color = dark ? '#fff' : 'var(--navy-900)'} onMouseLeave={e => e.currentTarget.style.color = dark ? 'rgba(255,255,255,0.78)' : 'var(--ink-2)'} >{l.label} ))} Entrar Cadastrar ); }; /* === Footer === */ const Footer = () => { const cols = [ { title: 'Produto', links: ['Verificar contato', 'Para advogados', 'Para escritórios', 'Aplicativo móvel', 'Selo de verificação'] }, { title: 'Empresa', links: ['Sobre o JurisID', 'Imprensa', 'Investidores', 'Carreiras', 'Contato'] }, { title: 'Recursos', links: ['Central de ajuda', 'Como denunciar fraude', 'Boletim de ocorrência', 'API para escritórios', 'Status'] }, { title: 'Legal', links: ['Termos de uso', 'Política de privacidade', 'LGPD', 'Cookies', 'Conformidade ICP-Brasil'] }, ]; return ( ); }; window.Nav = Nav; window.Footer = Footer;