1import{r as n,j as e,C as r,k as o,o as M,b as x,f as g,g as b,h as F,I as u,l as D,s as H,p as P,B as A,M as E,t as L,m as T,L as v,q as W}from"./index-B6L1KSTD.js";import{S as I}from"./SEOHead-D1Ozhx_1.js";import{T as B}from"./textarea-j9KOl17C.js";import{L as c}from"./label-D60HqABX.js";import{P as O}from"./phone-BFhICbT2.js";import{M as R}from"./map-pin-GGq_8tbf.js";import{A as C}from"./arrow-right-BLpBcAa3.js";import{H as G}from"./help-circle-C_nD_Pqa.js";function Q(){const[l,m]=n.useState(!1),[a,t]=n.useState(!1),[f,h]=n.useState(null),[s,N]=n.useState({name:"",email:"",company:"",phone:"",subject:"",message:""}),[p,S]=n.useState(""),y=n.useRef(Date.now()),i=d=>{const{name:w,value:j}=d.target;N(k=>({...k,[w]:j}))},q=async d=>{if(d.preventDefault(),m(!0),h(null),p){t(!0);return}if(Date.now()-y.current<3e3){h("Please take your time filling out the form."),m(!1);return}try{await P.submitContact({name:s.name,email:s.email,company:s.company||void 0,phone:s.phone||void 0,subject:s.subject,message:s.message,_hp:p,_ts:y.current}),t(!0)}catch(j){h(j.message||"Failed to submit. Please try again.")}finally{m(!1)}};return a?e.jsx(r,{className:"max-w-xl mx-auto",children:e.jsx(o,{className:"pt-6",children:e.jsxs("div",{className:"text-center py-8",children:[e.jsx(M,{className:"h-16 w-16 text-green-500 mx-auto mb-4"}),e.jsx("h3",{className:"text-xl font-semibold mb-2",children:"Message Sent!"}),e.jsx("p",{className:"text-muted-foreground",children:"Thank you for reaching out. We'll get back to you as soon as possible."}),e.jsx(x,{variant:"outline",className:"mt-6",onClick:()=>{t(!1),N({name:"",email:"",company:"",phone:"",subject:"",message:""})},children:"Send Another Message"})]})})}):e.jsxs(r,{className:"max-w-xl mx-auto",children:[e.jsxs(g,{children:[e.jsx(b,{children:"Get in Touch"}),e.jsx(F,{children:"Have questions about Cheap MDM? Fill out the form below and we'll get back to you."})]}),e.jsx(o,{children:e.jsxs("form",{onSubmit:q,className:"space-y-4",children:[e.jsxs("div",{className:"absolute -left-[9999px]","aria-hidden":"true",children:[e.jsx("label",{htmlFor:"website",children:"Website"}),e.jsx("input",{type:"text",id:"website",name:"website",value:p,onChange:d=>S(d.target.value),tabIndex:-1,autoComplete:"off"})]}),e.jsxs("div",{className:"grid sm:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"name",children:"Name *"}),e.jsx(u,{id:"name",name:"name",value:s.name,onChange:i,placeholder:"Your name",required:!0})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"email",children:"Email *"}),e.jsx(u,{id:"email",name:"email",type:"email",value:s.email,onChange:i,placeholder:"[email protected]",required:!0})]})]}),e.jsxs("div",{className:"grid sm:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"company",children:"Company"}),e.jsx(u,{id:"company",name:"company",value:s.company,onChange:i,placeholder:"Company name"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"phone",children:"Phone"}),e.jsx(u,{id:"phone",name:"phone",type:"tel",value:s.phone,onChange:i,placeholder:"+1 (555) 123-4567"})]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"subject",children:"Subject *"}),e.jsx(u,{id:"subject",name:"subject",value:s.subject,onChange:i,placeholder:"How can we help?",required:!0})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(c,{htmlFor:"message",children:"Message *"}),e.jsx(B,{id:"message",name:"message",value:s.message,onChange:i,placeholder:"Tell us more about your needs...",rows:4,required:!0})]}),f&&e.jsx("div",{className:"text-sm text-destructive bg-destructive/10 p-3 rounded-md",children:f}),e.jsx(x,{type:"submit",className:"w-full",disabled:l,children:l?e.jsxs(e.Fragment,{children:[e.jsx(D,{className:"mr-2 h-4 w-4 animate-spin"}),"Sending..."]}):e.jsxs(e.Fragment,{children:[e.jsx(H,{className:"mr-2 h-4 w-4"}),"Send Message"]})})]})})]})}const U=[{icon:E,title:"Live Chat",description:"Chat with our support team in real-time",action:"Available 24/7",color:"from-blue-500 to-blue-600"},{icon:L,title:"Email",description:"Send us an email anytime",action:"[email protected]",color:"from-purple-500 to-purple-600"}
1,{icon:O,title:"Phone",description:"Call our support line",action:"+1 (647) 725-9699",color:"from-green-500 to-green-600"}],Y=[{question:"How quickly do you respond to inquiries?",answer:"We aim to respond to all inquiries within 24 hours during business days. For urgent matters, please use our live chat for immediate assistance."},{question:"Do you offer demo sessions?",answer:"Yes! We offer free 30-minute demo sessions where we can walk you through the platform and answer any questions. Contact us to schedule one."},{question:"Can I request custom features?",answer:"Absolutely. We love hearing from our customers about new feature ideas. Contact us with your requirements and we'll discuss what's possible."},{question:"What information should I include in my message?",answer:"Please include your company name, the number of devices you manage (or plan to), your use case, and any specific questions or requirements you have."}];function ee(){const[l,m]=n.useState(null);return e.jsxs(e.Fragment,{children:[e.jsx(I,{title:"Contact Us",description:"Get in touch with the Cheap MDM team. We're here to help with questions about our MDM platform, pricing, enterprise solutions, or technical support.",canonical:"/contact"}),e.jsx("section",{className:"py-20 bg-gradient-to-b from-slate-50 to-white dark:from-slate-950 dark:to-slate-900",children:e.jsx("div",{className:"container mx-auto px-4",children:e.jsxs("div",{className:"max-w-3xl mx-auto text-center",children:[e.jsx(A,{variant:"secondary",className:"mb-6 text-sm px-4 py-2",children:"Contact Us"}),e.jsxs("h1",{className:"text-4xl sm:text-5xl font-bold mb-6",children:["We'd love to"," ",e.jsx("span",{className:"bg-gradient-to-r from-blue-600 to-purple-600 bg-clip-text text-transparent",children:"hear from you"})]}),e.jsx("p",{className:"text-xl text-muted-foreground",children:"Have questions about Cheap MDM? Our team is here to help you find the right solution for your business."})]})})}),e.jsx("section",{className:"py-12",children:e.jsx("div",{className:"container mx-auto px-4",children:e.jsx("div",{className:"grid md:grid-cols-3 gap-6 max-w-4xl mx-auto",children:U.map(a=>e.jsx(r,{className:"text-center hover:shadow-lg transition-shadow",children:e.jsxs(o,{className:"pt-8",children:[e.jsx("div",{className:`w-14 h-14 rounded-xl bg-gradient-to-r ${a.color} flex items-center justify-center mx-auto mb-4`,children:e.jsx(a.icon,{className:"h-7 w-7 text-white"})}),e.jsx("h3",{className:"font-semibold text-lg mb-1",children:a.title}),e.jsx("p",{className:"text-sm text-muted-foreground mb-3",children:a.description}),e.jsx("p",{className:"text-sm font-medium text-blue-600 dark:text-blue-400",children:a.action})]})},a.title))})})}),e.jsx("section",{className:"py-20",children:e.jsx("div",{className:"container mx-auto px-4",children:e.jsx("div",{className:"max-w-4xl mx-auto",children:e.jsxs("div",{className:"grid lg:grid-cols-2 gap-12",children:[e.jsxs("div",{children:[e.jsx("h2",{className:"text-2xl font-bold mb-2",children:"Send us a message"}),e.jsx("p",{className:"text-muted-foreground mb-8",children:"Fill out the form below and we'll get back to you as soon as possible."}),e.jsx(Q,{})]}),e.jsxs("div",{className:"space-y-8",children:[e.jsxs(r,{children:[e.jsx(g,{children:e.jsxs(b,{className:"flex items-center gap-2",children:[e.jsx(R,{className:"h-5 w-5 text-blue-600"}),"Office Location"]})}),e.jsx(o,{children:e.jsxs("p",{className:"text-muted-foreground",children:["Alpha Ajoge Inc.",e.jsx("br",{}),"695 Markham Road, Suite 27",e.jsx("br",{}),"Toronto, ON M1H 2A5",e.jsx("br",{}),"Canada"]}
1)})]}),e.jsxs(r,{children:[e.jsx(g,{children:e.jsxs(b,{className:"flex items-center gap-2",children:[e.jsx(T,{className:"h-5 w-5 text-blue-600"}),"Business Hours"]})}),e.jsx(o,{children:e.jsxs("div",{className:"space-y-2 text-muted-foreground",children:[e.jsxs("p",{children:[e.jsx("span",{className:"font-medium text-foreground",children:"Monday - Friday:"}),e.jsx("br",{}),"9:00 AM - 6:00 PM (EST)"]}),e.jsxs("p",{children:[e.jsx("span",{className:"font-medium text-foreground",children:"Weekend:"}),e.jsx("br",{}),"Email support only"]}),e.jsx("p",{className:"text-sm mt-4",children:"Live chat is available 24/7 for urgent issues."})]})})]}),e.jsx(r,{className:"bg-gradient-to-r from-blue-600 to-purple-600 text-white",children:e.jsxs(o,{className:"pt-6",children:[e.jsx("h3",{className:"font-semibold text-lg mb-2",children:"Looking for enterprise solutions?"}),e.jsx("p",{className:"text-blue-100 text-sm mb-4",children:"Contact our sales team for custom pricing, white-label options, and dedicated support."}),e.jsx(v,{to:"/pricing",children:e.jsxs(x,{variant:"secondary",size:"sm",children:["View Enterprise Plans",e.jsx(C,{className:"ml-2 h-4 w-4"})]})})]})})]})]})})})}),e.jsx("section",{className:"py-20 bg-slate-50 dark:bg-slate-900/50",children:e.jsx("div",{className:"container mx-auto px-4",children:e.jsxs("div",{className:"max-w-3xl mx-auto",children:[e.jsxs("div",{className:"text-center mb-12",children:[e.jsx(G,{className:"h-12 w-12 text-blue-600 mx-auto mb-4"}),e.jsx("h2",{className:"text-3xl font-bold mb-4",children:"Frequently Asked Questions"}),e.jsx("p",{className:"text-muted-foreground",children:"Quick answers to common questions about contacting us."})]}),e.jsx("div",{className:"space-y-3",children:Y.map((a,t)=>e.jsxs(r,{className:"overflow-hidden",children:[e.jsxs("button",{className:"w-full px-6 py-4 flex items-center justify-between text-left hover:bg-muted/50 transition-colors",onClick:()=>m(l===t?null:t),children:[e.jsx("span",{className:"font-medium pr-4",children:a.question}),e.jsx(W,{className:`h-5 w-5 text-muted-foreground transition-transform ${l===t?"rotate-180":""}`})]}),l===t&&e.jsx(o,{className:"pt-0 pb-4 px-6",children:e.jsx("p",{className:"text-muted-foreground",children:a.answer})})]},t))}),e.jsxs("div",{className:"text-center mt-12",children:[e.jsx("p",{className:"text-muted-foreground mb-4",children:"Can't find what you're looking for?"}),e.jsx(v,{to:"/blog",children:e.jsxs(x,{variant:"outline",children:["Browse our knowledge base",e.jsx(C,{className:"ml-2 h-4 w-4"})]})})]})]})})})]})}export{ee as ContactPage};
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.