PageSourceSearch

https://www.runmeridian.ai/assets/AIContactPage-B3neUwVU.js

js runmeridian.ai collected 2026-10-05 15:11:09 UTC 6,771 bytes, 3 lines download raw bytes

1import{r as c,y as h,j as e,L as u,aH as v,Z as b,b6 as g,aj as p}from"./vendor-rEgLgVpk.js";import{B as d}from"./index-4G9MUb21.js";import{I as o}from"./input-DPe3g1rU.js";import{L as i}from"./label-58EMwEzm.js";import{T as j}from"./textarea-DeFSGol4.js";function C(){const[m,n]=c.useState(!1),[s,r]=c.useState({name:"",email:"",phone:"",subject:"",message:""}),l=h({mutationFn:async t=>{const a=await fetch("/api/ai/lead",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:t.name,email:t.email,phone:t.phone,address:"N/A - Contact page inquiry",upgradeInterest:"contact",notes:`Subject: ${t.subject}
2
3${t.message}`})});if(!a.ok)throw new Error("Failed to submit");return a.json()},onSuccess:()=>n(!0)}),x=t=>{t.preventDefault(),l.mutate(s)};return e.jsx("div",{className:"min-h-full ai-bg-main ai-dot-texture ai-font-body ai-page",style:{color:"var(--iv-text-primary)"},children:e.jsxs("main",{children:[e.jsxs("section",{className:"relative overflow-hidden",children:[e.jsx("div",{className:"absolute inset-0 bg-gradient-to-b from-[#4DA8A8]/5 via-transparent to-transparent pointer-events-none"}),e.jsxs("div",{className:"max-w-5xl mx-auto px-6 pt-20 pb-16 text-center relative",children:[e.jsx("div",{className:"inline-block mb-6",children:e.jsx("span",{className:"ai-eyebrow",children:"Contact Us"})}),e.jsx("h1",{className:"ai-font-display text-4xl md:text-5xl font-bold leading-[1.1] mb-6","data-testid":"text-contact-headline",children:"Get in Touch"}),e.jsxs("p",{className:"ai-font-display text-lg md:text-xl max-w-2xl mx-auto",style:{color:"var(--iv-text-muted)"},"data-testid":"text-contact-subline",children:["Questions about ",e.jsx("span",{className:"text-[#4DA8A8]",children:"Meridian"}),"? Need a custom plan? Our team is here to help."]})]})]}),e.jsx("section",{className:"max-w-5xl mx-auto px-6 pb-16",children:e.jsx("div",{className:"border rounded-2xl p-8",style:{background:"var(--iv-bg-card)",borderColor:"var(--iv-border)"},children:m?e.jsxs("div",{className:"text-center py-12",children:[e.jsx(b,{className:"w-12 h-12 text-[#4DA8A8] mx-auto mb-4"}),e.jsx("h2",{className:"ai-font-display text-xl font-bold mb-2","data-testid":"text-contact-success-title",children:"Message Sent"}),e.jsx("p",{className:"text-sm mb-6",style:{color:"var(--iv-text-dim)"},"data-testid":"text-contact-success-message",children:"Thank you for reaching out. Our team will respond within one business day."}),e.jsx(d,{variant:"ghost",className:"px-6 py-2 hover:bg-white/5",style:{color:"var(--iv-text-muted)"},onClick:()=>{n(!1),r({name:"",email:"",phone:"",subject:"",message:""})},"data-testid":"button-send-another",children:"Send Another Message"})]}):e.jsxs(e.Fragment,{children:[e.jsx("h2",{className:"ai-font-display text-xl font-bold mb-6","data-testid":"text-contact-form-title",children:"Send us a message"}),e.jsxs("form",{onSubmit:x,className:"space-y-4",children:[e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx(i,{className:"text-xs",style:{color:"var(--iv-text-ghost)"},children:"Name"}),e.jsx(o,{value:s.name,onChange:t=>r(a=>({...a,name:t.target.value})),required:!0,className:"ai-input-glow",style:{background:"var(--iv-bg-main)",borderColor:"var(--iv-border)",color:"var(--iv-text-primary)"},"data-testid":"input-contact-name"})]}),e.jsxs("div",{children:[e.jsx(i,{className:"text-xs",style:{color:"var(--iv-text-ghost)"},children:"Email"}),e.jsx(o,{type:"email",value:s.email,onChange:t=>r(a=>({...a,email:t.target.value})),required:!0,className:"ai-input-glow",style:{background:"var(--iv-bg-main)",borderColor:"var(--iv-border)",color:"var(--iv-text-primary)"},"data-testid":"input-contact-email"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[e.jsxs("div",{children:[e.jsx(i,{className:"text-xs",style:{color:"var(--iv-text-ghost)"},children:"Phone (optional)"}),e.jsx(o,{value:s.phone,onChange:t=>r(a=>({...a,phone:t.target.value})),className:"ai-input-glow",style:{background:"var(--iv-bg-main)",borderColor:"var(--iv-border)",color:"var(--iv-text-primary)"},"data-testid":"input-contact-phone"})]}),e.jsxs("div",{children:[e.jsx(i,{className:"text-xs",style:{color:"var(--iv-text-ghost)"},children:"Subject"}),e.jsx(o,{value:s.subject,onChange:t=>r(a=>({...a,subject:t.target.value})),required:!0,className:"ai-input-glow",style:{background:"var(--iv-bg-main)",borderColor:"var(--iv-border)",color:"var(--iv-text-primary)"},placeholder:"e.g. Enterprise pricing, API access","data-testid":"input-contact-subject"})]})]}),e.jsxs("div",{children:[e.jsx(i,{className:"text-xs",style:{color:"var(--iv-text-ghost)"},children:"Message"}),e.jsx(j,{value:s.message,onChange:t=>r(a=>({...a,message:t.target.value})),required:!0,rows:5,className:"ai-input-glow resize-none",style:{background:"var(--iv-bg-main)",borderColor:"var(--iv-border)",color:"var(--iv-text-primary)"}
3,placeholder:"Tell us how we can help...","data-testid":"textarea-contact-message"})]}),e.jsxs(d,{type:"submit",disabled:l.isPending,className:"w-full bg-[#4DA8A8] hover:bg-[#3D9898] text-white font-semibold py-3 ai-button-glow","data-testid":"button-contact-submit",children:[l.isPending&&e.jsx(u,{className:"w-4 h-4 animate-spin mr-2"}),"Send Message",e.jsx(v,{className:"w-4 h-4 ml-2"})]})]})]})})}),e.jsx("section",{className:"max-w-5xl mx-auto px-6 pb-16",children:e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-6",children:[e.jsxs("div",{className:"border rounded-2xl p-6 flex items-start gap-4",style:{background:"var(--iv-bg-card)",borderColor:"var(--iv-border)"},"data-testid":"card-contact-phone",children:[e.jsx("div",{className:"w-10 h-10 rounded-lg bg-[#4DA8A8]/10 flex items-center justify-center flex-shrink-0",children:e.jsx(g,{className:"w-5 h-5 text-[#4DA8A8]"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"ai-font-display text-sm font-bold mb-1",style:{color:"var(--iv-text-muted)"},children:"Phone"}),e.jsx("a",{href:"tel:+13128680200",className:"text-[#4DA8A8] hover:underline","data-testid":"link-contact-phone",children:"(312) 868-0200"})]})]}),e.jsxs("div",{className:"border rounded-2xl p-6 flex items-start gap-4",style:{background:"var(--iv-bg-card)",borderColor:"var(--iv-border)"},"data-testid":"card-contact-location",children:[e.jsx("div",{className:"w-10 h-10 rounded-lg bg-[#4DA8A8]/10 flex items-center justify-center flex-shrink-0",children:e.jsx(p,{className:"w-5 h-5 text-[#4DA8A8]"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"ai-font-display text-sm font-bold mb-1",style:{color:"var(--iv-text-muted)"},children:"Location"}),e.jsx("p",{className:"text-sm",style:{color:"var(--iv-text-dim)"},"data-testid":"text-contact-location",children:"Chicago, IL"})]})]})]})})]})})}export{C 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.