PageSourceSearch

https://investirsimple.com/assets/merci-C9paMr2u.js

js investirsimple.com collected 2026-10-02 06:59:09 UTC 4,437 bytes, 1 lines download raw bytes

1import{o as u,j as e,L as l,r as a}from"./index-DND8j0iF.js";import{C as h}from"./circle-check-DWbyRPk3.js";import{M as f}from"./mail-SlOXMSKR.js";import{Y as c}from"./youtube-DJc7KRW_.js";function p(){const[t,d]=a.useState(null);return a.useEffect(()=>{const m=`https://api.rss2json.com/v1/api.json?rss_url=${encodeURIComponent("https://www.youtube.com/feeds/videos.xml?channel_id=UC32oszl8tuwYd4-BMbEjmtw")}`;let r=!1;return(async()=>{try{const s=await fetch(m);if(!s.ok)throw new Error("HTTP "+s.status);const n=await s.json();if(!n.items?.length)throw new Error("Aucune vidéo trouvée");const o=n.items.find(x=>!x.link.includes("/shorts/"));if(!o)throw new Error("Aucune vidéo longue trouvée");const i=new URL(o.link).searchParams.get("v");i&&!r&&d(i)}catch(s){console.error("Erreur chargement vidéo YouTube :",s)}})(),()=>{r=!0}},[]),e.jsx("div",{className:"relative w-full overflow-hidden rounded-xl border border-[#0B0F14]/10 bg-black shadow-[0_20px_50px_-20px_rgba(11,15,20,0.35)]",style:{aspectRatio:"16 / 9"},children:t?e.jsx("iframe",{src:`https://www.youtube-nocookie.com/embed/${t}?rel=0`,title:"Dernière vidéo YouTube — Investir Simple",loading:"lazy",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0,className:"absolute inset-0 w-full h-full"}):e.jsx("div",{className:"absolute inset-0 flex items-center justify-center text-white/60 font-body text-sm",children:"Chargement de la dernière vidéo…"})})}function F(){const{prenom:t}=u.useSearch();return e.jsx("main",{className:"bg-[#F5F5F3] text-[#0B0F14] min-h-screen py-16 px-6",children:e.jsxs("div",{className:"max-w-2xl mx-auto text-center",children:[e.jsx("div",{className:"inline-flex items-center justify-center w-16 h-16 rounded-full bg-[#C6A96B]/15 mb-8",children:e.jsx(h,{className:"w-9 h-9 text-[#C6A96B]"})}),e.jsxs("h1",{className:"font-heading text-3xl sm:text-4xl lg:text-5xl font-medium mb-6 leading-tight",children:["Merci",t?`, ${t}`:""," !"]}),e.jsx("p",{className:"font-body text-lg text-[#0B0F14]/80 mb-4",children:"Ton inscription est bien enregistrée. Tu vas recevoir la ressource par email dans quelques instants."}),e.jsxs("div",{className:"flex items-start gap-3 bg-white border border-[#0B0F14]/10 rounded-xl p-5 my-8 text-left",children:[e.jsx(f,{className:"w-5 h-5 text-[#C6A96B] shrink-0 mt-0.5"}),e.jsxs("p",{className:"font-body text-sm text-[#0B0F14]/70",children:["Pense à vérifier ton dossier ",e.jsx("strong",{children:"spams"})," ou ",e.jsx("strong",{children:"promotions"})," et, si tu le retrouves là, déplace l'email vers ta boîte principale pour être sûr·e de recevoir les prochains."]})]}),e.jsxs("section",{className:"mt-14 mb-10 text-left",children:[e.jsxs("div",{className:"flex items-center justify-between gap-4 mb-4",children:[e.jsxs("div",{children:[e.jsx("p",{className:"font-heading text-xs uppercase tracking-[0.2em] text-[#C6A96B] mb-1",children:"En attendant"}),e.jsx("h2",{className:"font-heading text-xl sm:text-2xl font-medium",children:"Découvre ma dernière vidéo YouTube"})]}),e.jsxs("a",{href:"https://www.youtube.com/@investir_simple",target:"_blank",rel:"noopener noreferrer",className:"hidden sm:inline-flex items-center gap-2 bg-[#0B0F14] text-[#F5F5F3] font-cta font-bold text-sm px-4 py-2.5 rounded-lg hover:bg-[#0B0F14]/90 transition-colors",children:[e.jsx(c,{className:"w-4 h-4"}),"S'abonner"]})]}),e.jsx(p,{}),e.jsxs("a",{href:"https://www.youtube.com/@investir_simple",target:"_blank",rel:"noopener noreferrer",className:"sm:hidden mt-4 inline-flex items-center justify-center gap-2 bg-[#0B0F14] text-[#F5F5F3] font-cta font-bold text-sm px-4 py-2.5 rounded-lg hover:bg-[#0B0F14]/90 transition-colors",children:[e.jsx(c,{className:"w-4 h-4"}),"S'abonner à la chaîne"]})]}),e.jsxs("div",{className:"flex flex-col sm:flex-row gap-3 justify-center",children:[e.jsx(l,{to:"/",className:"inline-flex items-center justify-center bg-[#0B0F14] text-[#F5F5F3] font-cta font-bold text-base px-6 py-3 rounded-lg hover:bg-[#0B0F14]/90 transition-colors",children:"Retour à l'accueil"}),e.jsx(l,{to:"/lepodcast",className:"inline-flex items-center justify-center border border-[#0B0F14]/20 text-[#0B0F14] font-cta font-bold text-base px-6 py-3 rounded-lg hover:bg-[#0B0F14]/5 transition-colors",children:"Découvrir le podcast"})]})]})})}export{F 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.