1import{r as l,j as e,s as p,t as u,L as t}from"./index-Dgv2xMGN.js";const j=({source:o="footer"})=>{const[n,c]=l.useState(""),[i,s]=l.useState("idle"),[x,r]=l.useState(null),m=async a=>{a.preventDefault(),s("loading"),r(null);const d=n.trim();if(!/^[^@\s]+@[^@\s]+\.[^@\s]+$/.test(d)){s("error"),r("Please enter a valid email.");return}const{error:h}=await p.from("email_leads").insert({email:d,source:o,user_agent:typeof navigator<"u"?navigator.userAgent.slice(0,500):null});if(h&&!h.message.toLowerCase().includes("duplicate")){s("error"),r("Something went wrong. Please try again.");return}s("success"),c(""),u("newsletter_signup",{source:o})};return e.jsxs("div",{children:[e.jsx("p",{className:"font-barlow font-medium text-[11px] tracking-[0.22em] uppercase text-white/45 mb-5",children:"Stay in the loop"}),e.jsx("p",{className:"font-barlow text-[14px] text-white/65 leading-relaxed mb-5 max-w-xs",children:"Occasional notes on overthinking, clarity, and product updates. No spam."}),i==="success"?e.jsx("p",{className:"font-barlow text-[14px] text-white/85",children:"Thanks â you're on the list."}):e.jsxs("form",{onSubmit:m,className:"flex flex-col gap-2 max-w-xs",children:[e.jsxs("div",{className:"flex",children:[e.jsx("input",{type:"email",required:!0,autoComplete:"email",value:n,onChange:a=>c(a.target.value),placeholder:"[email protected]","aria-label":"Email address",className:"flex-1 bg-white/5 border border-white/15 rounded-l-full px-4 py-2.5 font-barlow text-[14px] text-white placeholder:text-white/35 focus:outline-none focus:border-white/40 transition-colors"}),e.jsx("button",{type:"submit",disabled:i==="loading",className:"bg-white text-[#111] rounded-r-full px-5 py-2.5 font-barlow font-medium text-[13px] hover:bg-white/90 transition-colors disabled:opacity-60",children:i==="loading"?"â¦":"Join"})]}),x&&e.jsx("p",{className:"font-barlow text-[12px] text-red-300/80",children:x})]})]})},v=()=>e.jsxs("footer",{className:"bg-[#111] text-white border-t border-white/10",children:[e.jsxs("div",{className:"max-w-6xl mx-auto px-6 py-20 grid md:grid-cols-4 gap-12",children:[e.jsxs("div",{children:[e.jsxs("span",{className:"font-instrument text-[28px] tracking-tight",children:["nexo",e.jsx("span",{className:"italic text-white/60",children:"mind"})]}),e.jsx("p",{className:"font-barlow text-[15px] text-white/60 mt-4 leading-relaxed max-w-xs",children:"Private AI journaling for mental clarity."})]}),e.jsxs("div",{children:[e.jsx("p",{className:"font-barlow font-medium text-[11px] tracking-[0.22em] uppercase text-white/45 mb-5",children:"Explore"}),e.jsxs("ul",{className:"space-y-3 font-barlow text-[14px] text-white/70",children:[e.jsx("li",{children:e.jsx(t,{to:"/blog",className:"hover:text-white transition-colors",children:"Journal"})}),e.jsx("li",{children:e.jsx(t,{to:"/compare",className:"hover:text-white transition-colors",children:"Compare"})}),e.jsx("li",{children:e.jsx(t,{to:"/nexomind-vs-day-one",className:"hover:text-white transition-colors",children:"vs Day One"})}),e.jsx("li",{children:e.jsx(t,{to:"/nexomind-vs-reflectly",className:"hover:text-white transition-colors",children:"vs Reflectly"})}),e.jsx("li",{children:e.jsx(t,{to:"/nexomind-vs-stoic",className:"hover:text-white transition-colors",children:"vs Stoic"})}),e.jsx("li",{children:e.jsx(t,{to:"/nexomind-vs-apple-journal",className:"hover:text-white transition-colors",children:"vs Apple Journal"})}),e.jsx("li",{children:e.jsx(t,{to:"/how-to-stop-overthinking",className:"hover:text-white transition-colors",children:"How to stop overthinking"})}),e.jsx("li",{children:e.jsx(t,{to:"/mental-clarity",className:"hover:text-white transition-colors",children:"Mental clarity"})}),e.jsx("li",{children:e.jsx(t,{to:"/ai-journaling",className:"hover:text-white transition-colors",children:"AI journaling"})}),e.jsx("li",{children:e.jsx(t,{to:"/private-ai-journaling",className:"hover:text-white transition-colors",children:"Private AI journaling"})})]})]}),e.jsxs("div",{children:[e.jsx("p",{className:"font-barlow font-medium text-[11px] tracking-[0.22em] uppercase text-white/45 mb-5",children:"Company"}),e.jsxs("ul",{className:"space-y-3 font-barlow text-[14px] text-white/70",children:[e.jsx("li",{children:e.jsx(t,{to:"/about",className:"hover:text-white transition-colors",children:"About"})}),e.jsx("li",{children:e.jsx(t,{to:"/contact",className:"hover:text-white transition-colors",children:"Contact"})}),e.jsx("li",{children:e.jsx(t,{to:"/privacy-policy",className:"hover:text-white transition-colors",children:"Privacy Policy"})}),e.jsx("li",{children:e.jsx(t,{to:"/terms-of-service",className:"hover:text-white transition-colors",children:"Terms of Service"})})]})]}),e.jsx(j,{source:"footer"})]}),e.jsx("div",{className:"border-t border-white/10 px-6 py-8",children:e.jsxs("div",{className:"max-w-6xl mx-auto flex flex-col md:flex-row items-center justify-between gap-4",children:[e.jsxs("p",{className:"font-barlow text-[13px] text-white/40",children:["© ",new Date().getFullYear()," NexoMind. All rights reserved."]}),e.jsxs("div",{className:"flex flex-wrap items-center gap-x-5 gap-y-2 font-barlow text-[11px] tracking-[0.18em] uppercase text-white/40",children:[e.jsx("span",{children:"Private by design"}),e.jsx("span",{className:"opacity-40",children:"â¢"}),e.jsx("span",{children:"No data sold"}),e.jsx("span",{className:"opacity-40",children:"â¢"}),e.jsx("span",{children:"Encrypted reflections"})]})]})})]});
1export{v as default};
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.