1import{r as o,j as e}from"./vendor-react-DY70i_w5.js";import{t as b,a as n,M as f}from"./index-CLHH4l98.js";import{C as l}from"./circle-check-big-D-4PFE9B.js";import{S as C}from"./send-CZb5kUmB.js";import{M as k}from"./mail-D4kQ78wN.js";import{P as i}from"./phone-D_kLnYFf.js";import"./vendor-trpc-mfBlu3Ix.js";import"./vendor-radix-D9cCyuPm.js";const j={firstName:"",lastName:"",email:"",company:"",role:"",phone:"",challenge:"",timeline:"",serviceNeed:"",message:"",stage:"SQL"},N=["Immediate (within 1 month)","Short-term (1-3 months)","Medium-term (3-6 months)","Long-term (6+ months)","Just exploring"],v=["Connectivity & Networking","Google Workspace","Microsoft 365","IT Support & Managed Services","SaaS Business Solutions","Gai","eCommerce","Digital Marketing","Renewable Power & Solar","Hardware / Shop Enquiry","Other / Not sure"],y=["Legacy infrastructure limiting growth","Security vulnerabilities or compliance gaps","Poor network performance or reliability","Cloud migration or multi-cloud strategy","Scaling for new locations or users","Reducing operational costs","Load shedding / power reliability","Need AI or automation solutions","Building or improving online store","Digital marketing and lead generation","Other"];function D(){const[s,d]=o.useState(j),[g,m]=o.useState(!1),[r,c]=o.useState(!1),x=b.consultations.book.useMutation({onSuccess:()=>{m(!0),c(!1),n.success("Your consultation request has been submitted!")},onError:t=>{c(!1),n.error(t.message||"Something went wrong. Please try again.")}}),u=t=>{if(t.preventDefault(),!s.email||!s.firstName||!s.company||!s.role||!s.challenge||!s.timeline||!s.serviceNeed){n.error("Please fill in all required fields.");return}c(!0),x.mutate({firstName:s.firstName,lastName:s.lastName,email:s.email,phone:s.phone,company:s.company,role:s.role,challenge:s.challenge,timeline:s.timeline,serviceNeed:s.serviceNeed,message:s.message})},a=(t,p)=>{d(h=>({...h,[t]:p}))};return g?e.jsx("div",{"data-loc":"client/src/pages/Contact.tsx:116",className:"pt-20 min-h-screen flex items-center justify-center",children:e.jsx("div",{"data-loc":"client/src/pages/Contact.tsx:117",className:"container max-w-lg text-center",children:e.jsxs("div",{"data-loc":"client/src/pages/Contact.tsx:118",className:"glass-card p-12",children:[e.jsx("div",{"data-loc":"client/src/pages/Contact.tsx:119",className:"h-16 w-16 rounded-full bg-gekko-green/10 flex items-center justify-center mx-auto mb-6",children:e.jsx(l,{"data-loc":"client/src/pages/Contact.tsx:120",className:"h-8 w-8 text-gekko-green"})}),e.jsx("h2",{"data-loc":"client/src/pages/Contact.tsx:122",className:"text-2xl font-bold mb-4",children:"Thank You!"}),e.jsx("p",{"data-loc":"client/src/pages/Contact.tsx:123",className:"text-muted-foreground mb-6",children:"Your consultation request has been received. A GekkoTech solutions specialist will contact you within one business day to discuss your requirements."}),e.jsxs("p",{"data-loc":"client/src/pages/Contact.tsx:126",className:"text-sm text-muted-foreground",children:["In the meantime, explore our"," ",e.jsx("a",{"data-loc":"client/src/pages/Contact.tsx:128",href:"/resources",className:"text-gekko-green hover:underline",children:"resources"})," ","for useful guides and checklists."]})]})})}):e.jsxs("div",{"data-loc":"client/src/pages/Contact.tsx:138",className:"pt-20",children:[e.jsx("section",{"data-loc":"client/src/pages/Contact.tsx:140",className:"section-padding bg-gradient-to-b from-gekko-darker to-background",children:e.jsx("div",{"data-loc":"client/src/pages/Contact.tsx:141",className:"container",children:e.jsxs("div",{"data-loc":"client/src/pages/Contact.tsx:142",className:"max-w-3xl",children:[e.jsxs("h1",{"data-loc":"client/src/pages/Contact.tsx:143",className:"text-4xl md:text-5xl font-bold mb-6",children:["Book a ",e.jsx("span",{"data-loc":"client/src/pages/Contact.tsx:144",className:"gradient-text",children:"Consultation"})]}),e.jsx("p",{"data-loc":"client/src/pages/Contact.tsx:146",className:"text-xl text-muted-foreground leading-relaxed",children:"Tell us about your technology challenges and goals. Our experts will assess your requirements and recommend a path forward â no obligation."})]})})}),e.jsx("section",{"data-loc":"client/src/pages/Contact.tsx:153",className:"section-padding",children:e.jsx("div",{"data-loc":"client/src/pages/Contact.tsx:154",className:"container",children:e.jsxs("div",{"data-loc":"client/src/pages/Contact.tsx:155",className:"grid grid-cols-1 lg:grid-cols-3 gap-12",children:[e.jsx("div",{"data-loc":"client/src/pages/Contact.tsx:157",className:"lg:col-span-2",children:e.jsxs("form",{"data-loc":"client/src/pages/Contact.tsx:158",onSubmit:u,className:"space-y-6",children:[e.jsxs("div",{"data-loc":"client/src/pages/Contact.tsx:160",className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[e.jsxs("div",{"data-loc":"client/src/pages/Contact.tsx:161",children:[e.jsx("label",{"data-loc":"client/src/pages/Contact.tsx:162",className:"block text-sm font-medium mb-2",children:"First Name *"}),e.jsx("input",{"data-loc":"client/src/pages/Contact.tsx:163",type:"text",required:!0,value:s.firstName,onChange:t=>a("firstName",t.target.value),className:"w-full px-4 py-3 rounded-lg bg-secondary border border-border focus:border-gekko-green focus:ring-1 focus:ring-gekko-green outline-none transition-colors text-sm",placeholder:"John"})]}),e.jsxs("div",{"data-loc":"client/src/pages/Contact.tsx:172",children:[e.jsx("label",{"data-loc":"client/src/pages/Contact.tsx:173",className:"block text-sm font-medium mb-2",children:"Last Name *"}),e.jsx("input",{"data-loc":"client/src/pages/Contact.tsx:174",type:"text",required:!0,value:s.lastName,onChange:t=>a("lastName",t.target.value),className:"w-full px-4 py-3 rounded-lg bg-secondary border border-border focus:border-gekko-green focus:ring-1 focus:ring-gekko-green outline-none transition-colors text-sm",placeholder:"Smith"})]})]}),e.jsxs("div",{"data-loc":"client/src/pages/Contact.tsx:186",className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[e.jsxs("div",{"data-loc":"client/src/pages/Contact.tsx:187",children:[e.jsx("label",{"data-loc":"client/src/pages/Contact.tsx:188",className:"block text-sm font-medium mb-2",children:"Work Email *"}),e.jsx("input",{"data-loc":"client/src/pages/Contact.tsx:189",type:"email",required:!0,value:s.email,onChange:t=>a("email",t.target.value),className:"w-full px-4 py-3 rounded-lg bg-secondary border border-border focus:border-gekko-green focus:ring-1 focus:ring-gekko-green outline-none transition-colors text-sm",placeholder:"[email protected]"})]}),e.jsxs("div",{"data-loc":"client/src/pages/Contact.tsx:198",children:[e.jsx("label",{"data-loc":"client/src/pages/Contact.tsx:199",className:"block text-sm font-medium mb-2",children:"Phone"}),e.jsx("input",{"data-loc":"client/src/pages/Contact.tsx:200",type:"tel",value:s.phone,onChange:t=>a("phone",t.target.value),className:"w-full px-4 py-3 rounded-lg bg-secondary border border-border focus:border-gekko-green focus:ring-1 focus:ring-gekko-green outline-none transition-colors text-sm",placeholder:"+1 (555) 000-0000"})]})]}),e.jsxs("div",{"data-loc":"client/src/pages/Contact.tsx:211",className:"grid grid-cols-1 sm:grid-cols-2 gap-4",children:[e.jsxs("div",{"data-loc":"client/src/pages/Contact.tsx:212",children:[e.jsx("label",{"data-loc":"client/src/pages/Contact.tsx:213",className:"block text-sm font-medium mb-2",children:"Company *"}),e.jsx("input",{"data-loc":"client/src/pages/Contact.tsx:214",type:"text",required:!0,value:s.company,onChange:t=>a("company",t.target.value),className:"w-full px-4 py-3 rounded-lg bg-secondary border border-border focus:border-gekko-green focus:ring-1 focus:ring-gekko-green outline-none transition-colors text-sm",placeholder:"Company name"})]}),e.jsxs("div",{"data-loc":"client/src/pages/Contact.tsx:223",children:[e.jsx("label",{"data-loc":"client/src/pages/Contact.tsx:224",className:"block text-sm font-medium mb-2",children:"Your Role *"}),e.jsx("input",{"data-loc":"client/src/pages/Contact.tsx:225",type:"text",required:!0,value:s.role,onChange:t=>a("role",t.target.value),className:"w-full px-4 py-3 rounded-lg bg-secondary border border-border focus:border-gekko-green focus:ring-1 focus:ring-gekko-green outline-none transition-colors text-sm",placeholder:"CTO, IT Director, etc."})]})]}),e.jsxs("div",{"data-loc":"client/src/pages/Contact.tsx:237",children:[e.jsx("label",{"data-loc":"client/src/pages/Contact.tsx:238",className:"block text-sm font-medium mb-2",children:"Service Needed *"}),e.jsxs("select",{"data-loc":"client/src/pages/Contact.tsx:239",required:!0,value:s.serviceNeed,onChange:t=>a("serviceNeed",t.target.value),className:"w-full px-4 py-3 rounded-lg bg-secondary border border-border focus:border-gekko-green focus:ring-1 focus:ring-gekko-green outline-none transition-colors text-sm",children:[e.jsx("option",{"data-loc":"client/src/pages/Contact.tsx:245",value:"",children:"Select a service"}),v.map(t=>e.jsx("option",{"data-loc":"client/src/pages/Contact.tsx:247",value:t,children:t},t))]})]}),e.jsxs("div",{"data-loc":"client/src/pages/Contact.tsx:253",children:[e.jsx("label",{"data-loc":"client/src/pages/Contact.tsx:254",className:"block text-sm font-medium mb-2",children:"Primary Challenge *"}),e.jsxs("select",{"data-loc":"client/src/pages/Contact.tsx:255",required:!0,value:s.challenge,onChange:t=>a("challenge",t.target.value),className:"w-full px-4 py-3 rounded-lg bg-secondary border border-border focus:border-gekko-green focus:ring-1 focus:ring-gekko-green outline-none transition-colors text-sm",children:[e.jsx("option",{"data-loc":"client/src/pages/Contact.tsx:261",value:"",children:"Select your main challenge"}),y.map(t=>e.jsx("option",{"data-loc":"client/src/pages/Contact.tsx:263",value:t,children:t},t))]})]}),e.jsxs("div",{"data-loc":"client/src/pages/Contact.tsx:269",children:[e.jsx("label",{"data-loc":"client/src/pages/Contact.tsx:270",className:"block text-sm font-medium mb-2",children:"Timeline *"}),e.jsxs("select",{"data-loc":"client/src/pages/Contact.tsx:271",required:!0,value:s.timeline,onChange:t=>a("timeline",t.target.value),className:"w-full px-4 py-3 rounded-lg bg-secondary border border-border focus:border-gekko-green focus:ring-1 focus:ring-gekko-green outline-none transition-colors text-sm",children:[e.jsx("option",{"data-loc":"client/src/pages/Contact.tsx:277",value:"",children:"When do you need this?"}),N.map(t=>e.jsx("option",{"data-loc":"client/src/pages/Contact.tsx:279",value:t,children:t},t))]})]}),e.jsxs("div",{"data-loc":"client/src/pages/Contact.tsx:285",children:[e.jsx("label",{"data-loc":"client/src/pages/Contact.tsx:286",className:"block text-sm font-medium mb-2",children:"Additional Details"}),e.jsx("textarea",{"data-loc":"client/src/pages/Contact.tsx:287",value:s.message,onChange:t=>a("message",t.target.value),rows:4,className:"w-full px-4 py-3 rounded-lg bg-secondary border border-border focus:border-gekko-green focus:ring-1 focus:ring-gekko-green outline-none transition-colors text-sm resize-none",placeholder:"Tell us more about your project, requirements, or questions..."})]}),e.jsx("button",{"data-loc":"client/src/pages/Contact.tsx:297",type:"submit",disabled:r,className:"cta-button text-base w-full sm:w-auto disabled:opacity-50 disabled:cursor-not-allowed",children:r?e.jsx(e.Fragment,{children:"Submitting..."}):e.jsxs(e.Fragment,{children:["Submit Consultation Request",e.jsx(C,{"data-loc":"client/src/pages/Contact.tsx:307",className:"ml-2 h-5 w-5"})]})}),e.jsx("p",{"data-loc":"client/src/pages/Contact.tsx:312",className:"text-xs text-muted-foreground",children:"By
1submitting this form, you agree to be contacted by GekkoTech regarding your enquiry. We respect your privacy and will never share your information."})]})}),e.jsxs("div",{"data-loc":"client/src/pages/Contact.tsx:319",className:"space-y-6",children:[e.jsxs("div",{"data-loc":"client/src/pages/Contact.tsx:320",className:"glass-card p-6",children:[e.jsx("h3",{"data-loc":"client/src/pages/Contact.tsx:321",className:"font-semibold mb-4",children:"What Happens Next?"}),e.jsx("div",{"data-loc":"client/src/pages/Contact.tsx:322",className:"space-y-4",children:[{step:"1",text:"We review your submission within 1 business day"},{step:"2",text:"A solutions specialist contacts you to discuss requirements"},{step:"3",text:"We provide a tailored recommendation and proposal"}].map(t=>e.jsxs("div",{"data-loc":"client/src/pages/Contact.tsx:328",className:"flex items-start gap-3",children:[e.jsx("span",{"data-loc":"client/src/pages/Contact.tsx:329",className:"h-6 w-6 rounded-full bg-gekko-green/10 text-gekko-green text-xs font-bold flex items-center justify-center shrink-0",children:t.step}),e.jsx("span",{"data-loc":"client/src/pages/Contact.tsx:332",className:"text-sm text-foreground/80",children:t.text})]},t.step))})]}),e.jsxs("div",{"data-loc":"client/src/pages/Contact.tsx:338",className:"glass-card p-6",children:[e.jsx("h3",{"data-loc":"client/src/pages/Contact.tsx:339",className:"font-semibold mb-4",children:"Contact Information"}),e.jsxs("div",{"data-loc":"client/src/pages/Contact.tsx:340",className:"space-y-3",children:[e.jsxs("div",{"data-loc":"client/src/pages/Contact.tsx:341",className:"flex items-center gap-3",children:[e.jsx(k,{"data-loc":"client/src/pages/Contact.tsx:342",className:"h-4 w-4 text-gekko-green"}),e.jsx("a",{"data-loc":"client/src/pages/Contact.tsx:343",href:"mailto:[email protected]",className:"text-sm text-muted-foreground hover:text-foreground transition-colors",children:"[email protected]"})]}),e.jsxs("div",{"data-loc":"client/src/pages/Contact.tsx:345",className:"flex items-center gap-3",children:[e.jsx(i,{"data-loc":"client/src/pages/Contact.tsx:346",className:"h-4 w-4 text-gekko-green"}),e.jsx("a",{"data-loc":"client/src/pages/Contact.tsx:347",href:"tel:+27824094010",className:"text-sm text-muted-foreground hover:text-foreground transition-colors",children:"+27 82 409 4010"})]}),e.jsxs("div",{"data-loc":"client/src/pages/Contact.tsx:349",className:"flex items-center gap-3",children:[e.jsx(i,{"data-loc":"client/src/pages/Contact.tsx:350",className:"h-4 w-4 text-gekko-yellow"}),e.jsx("a",{"data-loc":"client/src/pages/Contact.tsx:351",href:"https://wa.me/27870626033",className:"text-sm text-muted-foreground hover:text-foreground transition-colors",children:"WhatsApp: +27 87 062 6033"})]}),e.jsxs("div",{"data-loc":"client/src/pages/Contact.tsx:353",className:"flex items-center gap-3",children:[e.jsx(f,{"data-loc":"client/src/pages/Contact.tsx:354",className:"h-4 w-4 text-gekko-green"}),e.jsx("a",{"data-loc":"client/src/pages/Contact.tsx:355",href:"https://maps.app.goo.gl/KFt3boWXQ1kMSKuM9",target:"_blank",rel:"noopener noreferrer",className:"text-sm text-muted-foreground hover:text-gekko-green transition-colors",children:"939 Summit Rd, Knoppieslaagte, Centurion, 0157"})]})]})]}),e.jsxs("div",{"data-loc":"client/src/pages/Contact.tsx:360",className:"glass-card p-6",children:[e.jsx("h3",{"data-loc":"client/src/pages/Contact.tsx:361",className:"font-semibold mb-3",children:"Free Consultation Includes"}),e.jsx("ul",{"data-loc":"client/src/pages/Contact.tsx:362",className:"space-y-2",children:["Infrastructure assessment discussion","Challenge and goal alignment","Solution recommendation","Indicative timeline and budget","No obligation or commitment"].map(t=>e.jsxs("li",{"data-loc":"client/src/pages/Contact.tsx:370",className:"flex items-start gap-2 text-sm text-foreground/80",children:[e.jsx(l,{"data-loc":"client/src/pages/Contact.tsx:371",className:"h-4 w-4 text-gekko-green mt-0.5 shrink-0"}),t]},t))})]})]})]})})})]})}export{D 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.