/* global React */ const Hero = ({ copy }) => { const [form, setForm] = React.useState({ nome: "", whatsapp: "" }); const submit = (e) => { e.preventDefault(); const msg = encodeURIComponent(`Olá! Me chamo ${form.nome} e tenho interesse em um site de afiliado do Mercado Livre. Meu WhatsApp: ${form.whatsapp}`); window.open(`https://wa.me/5511999999999?text=${msg}`, "_blank"); }; return (
{/* decorative blobs */}
{/* sparkles */}
{/* LEFT COPY */}
{copy.heroBadge}

{copy.heroTitle.before}{" "} {copy.heroTitle.highlight} {copy.heroTitle.after}

{copy.heroSub}

{/* trust strip */}
{/* RIGHT FORM CARD */}
Gratuito

Receba seu site pronto

Preencha em 30 segundos. Te chamamos no WhatsApp.

setForm({...form, nome: v})} /> setForm({...form, whatsapp: v})} />

🔒 Seus dados estão seguros. Sem spam.

); }; const Sparkle = ({ style }) => ( ); const Spark = () => ( ); const TrustItem = ({ icon, label }) => { const icons = { bolt: , shield: , rocket: , }; return (
{icons[icon]} {label}
); }; const Field = ({ label, name, value, onChange, type = "text", placeholder }) => ( ); window.Hero = Hero;