1import{j as e}from"./index-BAnr4_3t.js";import{r as o}from"./react-vendor-DhYD1Kji.js";import{c as n,P as w,a as C,N as A,B as M}from"./Navigation-B3jW5qGr.js";import E from"./Footer-BLRISpjJ.js";import{a as D,P as R,C as k,M as F}from"./ui-vendor-BAPlMAVD.js";const c=o.forwardRef(({className:s,type:t,...a},r)=>e.jsx("input",{type:t,className:n("flex h-10 w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",s),ref:r,...a}));c.displayName="Input";var O="Label",y=o.forwardRef((s,t)=>e.jsx(w.label,{...s,ref:t,onMouseDown:a=>{var i;a.target.closest("button, input, select, textarea")||((i=s.onMouseDown)==null||i.call(s,a),!a.defaultPrevented&&a.detail>1&&a.preventDefault())}}));y.displayName=O;var v=y;const I=C("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),l=o.forwardRef(({className:s,...t},a)=>e.jsx(v,{ref:a,className:n(I(),s),...t}));l.displayName=v.displayName;const S=o.forwardRef(({className:s,...t},a)=>e.jsx("textarea",{className:n("flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-sm r
1ing-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",s),ref:a,...t}));S.displayName="Textarea";const f=o.forwardRef(({className:s,...t},a)=>e.jsx("div",{ref:a,className:n("rounded-lg border bg-card text-card-foreground shadow-sm",s),...t}));f.displayName="Card";const j=o.forwardRef(({className:s,...t},a)=>e.jsx("div",{ref:a,className:n("flex flex-col space-y-1.5 p-6",s),...t}));j.displayName="CardHeader";const g=o.forwardRef(({className:s,...t},a)=>e.jsx("h3",{ref:a,className:n("text-2xl font-semibold leading-none tracking-tight",s),...t}));g.displayName="CardTitle";const T=o.forwardRef(({className:s,...t},a)=>e.jsx("p",{ref:a,className:n("text-sm text-muted-foreground",s),...t}));T.displayName="CardDescription";const b=o.forwardRef(({className:s,...t},a)=>e.jsx("div",{ref:a,className:n("p-6 pt-0",s),...t}));b.displayName="CardContent";const _=o.forwardRef(({className:s,...t},a)=>e.jsx("div",{ref:a,className:n("flex items-center p-6 pt-0",s),...t}));_.displayName="CardFooter";const P=1,L=1e6;let h=0;function q(){return h=(h+1)%Number.MAX_SAFE_INTEGER,h.toString()}const p=new Map,N=s=>{if(p.has(s))return;const t=setTimeout(()=>{p.delete(s),d({type:"REMOVE_TOAST",toastId:s})},L);p.set(s,t)},H=(s,t)=>{switch(t.type){case"ADD_TOAST":return{...s,toasts:[t.toast,...s.toasts].slice(0,P)};case"UPDATE_TOAST":return{...s,toasts:s.toasts.map(a=>a.id===t.toast.id?{...a,...t.toast}:a)};case"DISMISS_TOAST":{const{toastId:a}=t;return a?N(a):s.toasts.forEach(r=>{N(r.id)}),{...s,toasts:s.toasts.map(r=>r.id===a||a===void 0?{...r,open:!1}:r)}}case"REMOVE_TOAST":return t.toastId===void 0?{...s,toasts:[]}:{...s,toasts:s.toasts.filter(a=>a.id!==t.toastId)}}},x=[];let u={toasts:[]};function d(s){u=H(u,s),x.forEach(t=>{t(u)})}function B({...s}){const t=q(),a=i=>d({type:"UPDATE_TOAST",toast:{...i,id:t}}),r=()=>d({type:"DISMISS_TOAST",toastId:t});return d({type:"ADD_TOAST",toast:{...s,id:t,open:!0,onOpenChange:i=>{i||r()}}}),{id:t,dismiss:r,update:a}}function V(){const[s,t]=o.useState(u);return o.useEffect(()=>(x.push(t),()=>{const a=x.indexOf(t);a>-1&&x.splice(a,1)}),[s]),{...s,toast:B,dismiss:a=>d({type:"DISMISS_TOAST",toastId:a})}}const Q=()=>{const[s,t]=o.useState({name:"",email:"",company:"",subject:"",message:""}),{toast:a}=V(),r=m=>{m.preventDefault(),a({title:"Message sent!",description:"We'll get back to you within 24 hours."}),t({name:"",email:"",company:"",subject:"",message:""})},i=m=>{t({...s,[m.target.name]:m.target.value})};return e.jsxs("div",{className:"min-h-screen bg-background",children:[e.jsx(A,{}),e.jsx("section",{className:"pt-24 pb-16 bg-gradient-to-br from-primary/5 to-accent/5",children:e.jsxs("div",{className:"container mx-auto px-6 text-center",children:[e.jsx("h1",{className:"text-4xl md:text-5xl font-bold mb-6",children:"Get in Touch"}),e.jsx("p",{className:"text-xl text-muted-foreground max-w-3xl mx-auto",children:"Have questions about Fixpanic? We're here to help. Reach out to our team and we'll get back to you as soon as possible."})]})}),e.jsx("section",{className:"py-16",children:e.jsx("div",{className:"container mx-auto px-6",children:e.jsxs("div",{className:"grid lg:grid-cols-2 gap-12",children:[e.jsxs(f,{children:[e.jsxs(j,{children:[e.jsx(g,{children:"Send us a message"}),e.jsx(T,{children:"Fill out the form below and we'll respond within 24 hours."})]}),e.jsx(b,{children:e.jsxs("form",{onSubmit:r,className:"space-y-6",children:[e.jsxs("div",{className:"grid md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(l,{htmlFor:"name",children:"Name *"}),e.jsx(c,{id:"name",name:"name",value:s.name,onChange:i,required:!0,placeholder:"Your full name"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(l,{htmlFor:"email",children:"Email *"}),e.jsx(c,{id:"email",name:"email",type:"email",value:s.email,onChange:i,required:!0,placeholder:"[email protected]"})]})]}),e.jsxs("div",{className:"grid md:grid-cols-2 gap-4",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsx(l,{htmlFor:"company",children:"Company"}),e.jsx(c,{id:"company",name:"company",value:s.company,onChange:i,placeholder:"Your company name"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(l,{htmlFor:"subject",children:"Subject *"}),e.jsx(c,{id:"subject",name:"subject",value:s.subject,onChange:i,required:!0,placeholder:"What's this about?"})]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(l,{htmlFor:"message",children:"Message *"}),e.jsx(S,{id:"message",name:"message",value:s.message,onChange:i,required:!0,placeholder:"Tell us more about your inquiry...",rows:6})]}
1),e.jsx(M,{type:"submit",className:"w-full",children:"Send Message"})]})})]}),e.jsxs("div",{className:"space-y-8",children:[e.jsxs("div",{children:[e.jsx("h2",{className:"text-2xl font-bold mb-6",children:"Contact Information"}),e.jsxs("div",{className:"space-y-6",children:[e.jsxs("div",{className:"flex items-start space-x-4",children:[e.jsx("div",{className:"w-10 h-10 bg-primary/10 rounded-lg flex items-center justify-center",children:e.jsx(D,{className:"w-5 h-5 text-primary"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-semibold",children:"Email"}),e.jsx("p",{className:"text-muted-foreground",children:"[email protected]"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"We respond within 24 hours"})]})]}),e.jsxs("div",{className:"flex items-start space-x-4",children:[e.jsx("div",{className:"w-10 h-10 bg-primary/10 rounded-lg flex items-center justify-center",children:e.jsx(R,{className:"w-5 h-5 text-primary"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-semibold",children:"Phone"}),e.jsx("p",{className:"text-muted-foreground",children:"+1 (555) 123-4567"}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"Monday - Friday, 9AM - 6PM EST"})]})]}),e.jsxs("div",{className:"flex items-start space-x-4",children:[e.jsx("div",{className:"w-10 h-10 bg-primary/10 rounded-lg flex items-center justify-center",children:e.jsx(k,{className:"w-5 h-5 text-primary"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-semibold",children:"Business Hours"}),e.jsx("p",{className:"text-muted-foreground",children:"Monday - Friday: 9AM - 6PM EST"}),e.jsx("p",{className:"text-muted-foreground",children:"Saturday - Sunday: Closed"})]})]}),e.jsxs("div",{className:"flex items-start space-x-4",children:[e.jsx("div",{className:"w-10 h-10 bg-primary/10 rounded-lg flex items-center justify-center",children:e.jsx(F,{className:"w-5 h-5 text-primary"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-semibold",children:"Address"}),e.jsxs("p",{className:"text-muted-foreground",children:["123 Tech Street",e.jsx("br",{}),"San Francisco, CA 94105",e.jsx("br",{}),"United States"]})]})]})]})]}),e.jsxs(f,{children:[e.jsx(j,{children:e.jsx(g,{children:"Need Quick Help?"})}),e.jsxs(b,{className:"space-y-4",children:[e.jsx("p",{className:"text-muted-foreground text-sm",children:"Looking for immediate assistance? Check out these resources:"}),e.jsxs("div",{className:"space-y-2",children:[e.jsx("a",{href:"https://docs.fixpanic.com/",className:"block text-primary hover:text-accent transition-colors text-sm",children:"â Documentation & Guides"}),e.jsx("a",{href:"https://discord.com/invite/7ABzDzh2",target:"_blank",rel:"noopener noreferrer",className:"block text-primary hover:text-accent transition-colors text-sm",children:"â Community Forum"}),e.jsx("a",{href:"/status",className:"block text-primary hover:text-accent transition-colors text-sm",children:"â Status Page"}),e.jsx("a",{href:"https://app.fixpanic.com",className:"block text-primary hover:text-accent transition-colors text-sm",children:"â Login to Dashboard"})]})]})]})]})]})})}),e.jsx(E,{})]})};export{Q 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.