1import{r,j as e}from"./index-B7icUDRE.js";import{q as m,s as c,t as d}from"./CookieBanner-D9z5lUZ9.js";import{P as x}from"./PalmaresTeaser-COpOKncQ.js";import"./laureats-_Z8BAChE.js";const h="https://docs.google.com/forms/d/e/1FAIpQLSejXmlnoNg7ygkKw4KD578m6WwefgLFcw0TRacjL8FdW6aohA/viewform?usp=header",p="https://hooks.zapier.com/hooks/catch/17085828/46dnu1b/";function u(){const[t,a]=r.useState(""),[o,i]=r.useState(!1);async function n(s){if(s.preventDefault(),!!t){i(!0);try{await fetch(p,{method:"POST",headers:{"Content-Type":"application/json"},mode:"no-cors",body:JSON.stringify({email:t,"Nom Projet":"Top 50 RSE Industrie 2026 Lovable",source:"home",timestamp:new Date().toISOString(),triggered_from:window.location.origin})})}catch(l){console.error("Zapier webhook error",l)}}}return e.jsxs("div",{className:"bg-brand-dark text-white p-5 md:p-6 w-full rounded-2xl shadow-xl shadow-black/15",children:[e.jsx("p",{className:"text-center text-white text-lg md:text-xl font-semibold tracking-widest uppercase mb-4 md:mb-5",children:"SORTIE DU PALMARES LE 8 SEPTEMBRE"}),e.jsxs("div",{className:"flex flex-col md:flex-row gap-5 md:gap-6 items-stretch md:items-center",children:[e.jsx("div",{className:"md:shrink-0",children:e.jsx("a",{href:h,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center justify-center w-full md:w-auto bg-white text-brand-dark rounded-full px-8 py-2.5 text-sm font-semibold tracking-wide hover:bg-white/90 transition-all",children:"Candidater"})}),e.jsx("div",{className:"flex-1 min-w-0",children:o?e.jsx("p",{className:"text-white/90 text-sm md:text-base",children:"Merci ! Vous serez informé(e) dès la sortie du palmarès."}):e.jsxs("form",{onSubmit:n,className:"flex flex-col sm:flex-row gap-2 items-stretch sm:items-center justify-end",children:[e.jsx("input",{name:"email",type:"email",required:!0,value:t,onChange:s=>a(s.target.value),placeholder:"Votre email professionnel",className:"w-80 md:w-96 border-b border-white/30 py-2 text-sm md:text-base focus:outline-none focus:border-white bg-transparent text-white placeholder:text-white/60"}),e.jsx("button",{type:"submit",className:"shrink-0 w-full sm:w-auto bg-white/10 text-white border border-white/30 rounded-full px-4 py-2.5 text-sm font-medium hover:bg-white/20 transition-all whitespace-nowrap",children:"Recevoir un mail à la sortie"})]})})]})]})}function f({className:t}){return e.jsx("section",{className:m("px-4 pt-10 pb-8",t),children:e.jsx("div",{className:"max-w-7xl mx-auto w-full",children:e.jsx(u,{})})})}function N(){return e.jsxs(e.Fragment,{children:[e.jsx(c,{}),e.jsxs("div",{className:"min-h-screen bg-paper text-ink",children:[e.jsx(x,{className:"pb-0"}),e.jsx(f,{className:"pt-0"}),e.jsx(d,{})]})]})}export{N as component};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.