PageSourceSearch

https://vagle.ai/assets/ContactPage-88s9GUGb.js

js vagle.ai collected 2026-10-05 13:12:54 UTC 8,330 bytes, 7 lines download raw bytes

1import{j as e,C as y}from"./index-CbtKD9GF.js";import{c as w,b as g,L as n}from"./vendor-gmoby7Lc.js";import{S,b as k}from"./SEO-Cf9F0YQU.js";import{A}from"./LegalPage-DZqw6IjE.js";import{M as b}from"./mail-DySuzRh3.js";import{S as I}from"./shield-check-DgeiBe1R.js";import"./icons-BYq1EogD.js";const E="[email protected]",r=E;function U({mode:f="contact"}){const m=w(),[s,x]=g.useState({name:"",email:"",company:"",phone:"",useCase:"",message:""}),[v,d]=g.useState(!1),[j,u]=g.useState(""),t=f==="sales",p=t&&new URLSearchParams(m.search).get("plan")==="enterprise",h=r,a=t?p?{eyebrow:"Enterprise Plan",metaTitle:"Enterprise Plan Discussion | Vagle AI",metaDescription:"Contact Vagle AI for Enterprise and Agency plans, multi-client workspaces, routing, team access, QA, reporting, and custom usage pricing.",title:"Discuss Enterprise plan",intro:"Tell us about your client workspaces, expected call volume, numbers, routing needs, integrations, and support requirements. We will help shape the right Enterprise setup.",meta:["Enterprise Console","Multi-client workspaces","Custom usage pricing"],summaryTitle:"Reach us directly",submit:"Request enterprise discussion",subject:"Vagle AI enterprise plan enquiry",creditNote:"Enterprise and agency pricing is quoted based on expected usage, routing complexity, integrations, workspaces, support needs, and payment model."}:{eyebrow:"Contact Sales",metaTitle:"Contact Sales | Vagle AI",metaDescription:"Contact Vagle AI sales for AI voice calling, pay as you go credits, Follow-up Funnel activation, tool setup, and business automation questions.",title:"Talk to sales",intro:"Share your team size, calling use case, expected call volume, and whether you need Follow-up Funnel setup. We will help you choose the right pay as you go setup.",meta:["Sales enquiries","Follow-up setup","Credit top-ups"],summaryTitle:"Reach us directly",submit:"Contact sales",subject:"Vagle AI sales enquiry",creditNote:"New accounts start with 0 credits. Add credits anytime to test calls, transcripts, summaries, and workflows, and pay only for what you use."}:{eyebrow:"Contact",metaTitle:"Contact | Vagle AI",metaDescription:"Contact Vagle AI for business enquiries, partnerships, grants, support, AI voice calling, follow-up funnels, and business tool automation.",title:"Talk to us",intro:"Questions about Vagle AI, pricing, follow-up funnels, business tool automation, grants, partnerships, or support? Send us a message and we will get back to you.",meta:["Business enquiries","Partnerships","Support"],summaryTitle:"Reach us directly",submit:"Send message",subject:"Vagle AI enquiry",creditNote:null},i=o=>l=>x(c=>({...c,[o]:l.target.value})),C=()=>{const o=encodeURIComponent(`${a.subject} from ${s.name}`),l=encodeURIComponent(`Name: ${s.name}
2Email: ${s.email}
3Company: ${s.company||"Not provided"}
4Phone: ${s.phone||"Not provided"}
5Use case: ${s.useCase||"Not provided"}
6
7${s.message}`);window.location.href=`mailto:${h}?subject=${o}&body=${l}`},N=async o=>{if(o.preventDefault(),!s.name.trim()||!s.email.trim()||!s.message.trim()||t&&(!s.company.trim()||!s.useCase.trim())){u(t?"Please fill in your name, email, company, use case, and message.":"Please fill in your name, email, and message.");return}if(!/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(s.email.trim())){u("Please enter a valid email address.");return}u("");try{const l=await fetch("/api/contact",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({...s,source:p?"enterprise_sales":t?"sales":"contact"})}),c=await l.json().catch(()=>({}));if(!l.ok||!c.success)throw new Error(c.error||"Failed to send message");d(!0)}catch(l){console.error("Contact form submit failed, opening mail fallback:",l),C(),d(!0)}};return e.jsxs("div",{className:"legal-page",children:[e.jsx(S,{title:a.metaTitle,description:a.metaDescription,path:m.pathname,schema:[k([{name:"Home",path:"/"},{name:a.eyebrow,path:m.pathname}])]}),e.jsx("header",{className:"legal-header",children:e.jsxs("nav",{className:"legal-nav","aria-label":"Contact navigation",children:[e.jsxs(n,{to:"/",className:"legal-brand",children:["Vagle",e.jsx("span",{children:"AI"})]}),e.jsxs("div",{className:"legal-nav-links",children:[e.jsx(n,{to:"/about",children:"About"}),e.jsx(n,{to:"/use-cases",children:"Use Cases"}),e.jsx(n,{to:"/blog",children:"Blog"}),e.jsx(n,{to:"/security",children:"Security"}),e.jsx(n,{to:"/privacy",children:"Privacy"}),e.jsx(n,{to:"/terms",children:"Terms"}),e.jsx(n,{to:"/contact",className:t?"":"active",children:"Contact"})]}),e.jsxs(n,{to:"/",className:"legal-back",children:[e.jsx(A,{size:16})," Home"]})]})}),e.jsxs("main",{className:"legal-main",children:[e.jsxs("section",{className:"legal-hero",children:[e.jsxs("div",{className:"legal-hero-copy",children:[e.jsxs("div",{className:"legal-eyebrow",children:[e.jsx(b,{size:16})," ",a.eyebrow]}),e.jsx("h1",{children:a.title}),e.jsx("p",{children:a.intro}),e.jsx("div",{className:"legal-meta",children:a.meta.map(o=>e.jsx("span",{children:o},o))})]}),e.jsxs("aside",{className:"legal-summary-card","aria-label":"Contact channels",children:[e.jsx(I,{size:22}),e.jsx("h2",{children:a.summaryTitle}),e.jsx("ul",{children:e.jsxs("li",{children:[e.jsx(b,{size:16})," Email: ",r]})})]})]}),a.creditNote&&e.jsxs("section",{className:"contact-credit-note",children:[e.jsx(y,{size:18}),e.jsx("span",{children:a.creditNote})]}),t&&e.jsxs("section",{className:"contact-sales-actions","aria-label":"Sales actions",children:[e.jsx("a",{className:"contact-action-primary",href:`mailto:${r}?subject=${encodeURIComponent(a.subject)}`,children:"Contact Sales"}),e.jsx("a",{className:"contact-action-secondary",href:`mailto:${r}
7?subject=${encodeURIComponent("Vagle AI general enquiry")}`,children:"Contact"})]}),e.jsx("section",{className:"contact-shell",children:e.jsx("div",{className:"contact-card",children:v?e.jsxs("div",{className:"contact-success",children:[e.jsx(y,{size:40}),e.jsxs("h2",{children:["Thanks, ",s.name.split(" ")[0]||"there","!"]}),e.jsxs("p",{children:["Your message has been sent to ",e.jsx("a",{href:`mailto:${h}`,children:h}),". If your email client opened instead, please send the prepared message from there."]}),e.jsx("button",{type:"button",className:"contact-reset",onClick:()=>{d(!1),x({name:"",email:"",company:"",phone:"",useCase:"",message:""})},children:"Send another message"})]}):e.jsxs("form",{className:"contact-form",onSubmit:N,children:[e.jsx("h2",{children:"Send a message"}),j&&e.jsx("div",{className:"contact-error",children:j}),e.jsxs("div",{className:"contact-row",children:[e.jsxs("div",{className:"contact-field",children:[e.jsx("label",{children:"Your name *"}),e.jsx("input",{type:"text",value:s.name,onChange:i("name"),placeholder:"Jane Smith"})]}),e.jsxs("div",{className:"contact-field",children:[e.jsx("label",{children:"Work email *"}),e.jsx("input",{type:"email",value:s.email,onChange:i("email"),placeholder:"[email protected]"})]})]}),e.jsxs("div",{className:"contact-field",children:[e.jsxs("label",{children:["Company ",t?"*":""]}),e.jsx("input",{type:"text",value:s.company,onChange:i("company"),placeholder:"Acme Inc."})]}),e.jsxs("div",{className:"contact-row",children:[e.jsxs("div",{className:"contact-field",children:[e.jsx("label",{children:"Phone optional"}),e.jsx("input",{type:"tel",value:s.phone,onChange:i("phone"),placeholder:"+91 98765 43210"})]}),e.jsxs("div",{className:"contact-field",children:[e.jsxs("label",{children:["Use case ",t?"*":""]}),e.jsx("input",{type:"text",value:s.useCase,onChange:i("useCase"),placeholder:"Lead follow-up, bookings, support"})]})]}),e.jsxs("div",{className:"contact-field",children:[e.jsx("label",{children:"How can we help? *"}),e.jsx("textarea",{rows:5,value:s.message,onChange:i("message"),placeholder:p?"Tell us your number of clients or branches, expected call volume, routing needs, team roles, tools, and support expectations.":t?"Tell us expected call volume, use case, tools to connect, and whether you need Follow-up Funnel activation.":"Tell us about your business and what you'd like your voice agent to do."})]}),e.jsx("button",{type:"submit",className:"contact-submit",children:a.submit}),e.jsxs("p",{className:"contact-fineprint",children:["By contacting us you agree to our ",e.jsx(n,{to:"/privacy",children:"Privacy Policy"}),"."]})]})})})]})]})}export{U 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.