1import{r as n,j as e,w as N}from"./chunk-PVWAREVJ-Bsq69dW_.js";import{g as w,b as v,J as g}from"./JsonLd-DnkRmyXJ.js";import"./button-C4r3oOYR.js";import{S as k}from"./Section-Bx39M5TR.js";import{c as S}from"./countries-BVdaqHEm.js";import{p as C}from"./payload-BH0wrrMc.js";import{C as z}from"./chevron-down-Bz6-97DY.js";import{c}from"./createLucideIcon-Bwkg359e.js";import{m as r}from"./proxy-BJsVwoye.js";import"./utils-D-KgF5mV.js";import"./chevron-right-Bb7DDQHv.js";import"./useScrollAnimation-BJtXMnew.js";/** 2 * @license lucide-react v0.542.0 - ISC 3 * 4 * This source code is licensed under the ISC license. 5 * See the LICENSE file in the root directory of this source tree. 6 */const q=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m4.93 4.93 4.24 4.24",key:"1ymg45"}],["path",{d:"m14.83 9.17 4.24-4.24",key:"1cb5xl"}],["path",{d:"m14.83 14.83 4.24 4.24",key:"q42g0n"}],["path",{d:"m9.17 14.83-4.24 4.24",key:"bqpfvv"}],["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}]],F=c("life-buoy",q);/** 7 * @license lucide-react v0.542.0 - ISC 8 * 9 * This source code is licensed under the ISC license. 10 * See the LICENSE file in the root directory of this source tree. 11 */const M=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],f=c("mail",M);/** 12 * @license lucide-react v0.542.0 - ISC 13 * 14 * This source code is licensed under the ISC license. 15 * See the LICENSE file in the root directory of this source tree. 16 */const _=[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}],["path",{d:"M7.828 13.07A3 3 0 0 1 12 8.764a3 3 0 0 1 5.004 2.224 3 3 0 0 1-.832 2.083l-3.447 3.62a1 1 0 0 1-1.45-.001z",key:"hoo97p"}]],L=c("message-circle-heart",_);function P(){const[t,o]=n.useState(!1),[l,d]=n.useState(null),[y,m]=n.useState(!1),[u,x]=n.useState(!1),b=async s=>{if(s.preventDefault(),t)return;d(null),o(!0);const h=s.currentTarget,a=new FormData(h),j={firstName:String(a.get("first-name")||""),lastName:String(a.get("last-name")||""),company:String(a.get("company")||""),email:String(a.get("email")||""),country:String(a.get("country")||""),phoneNumber:String(a.get("phone-number")||""),message:String(a.get("message")||""),agreeToPolicy:a.get("agree-to-policies")==="on",source:"appmaker-website"};try{const i=await C(j,"contact-us");if(!i.ok||i.status<200||i.status>=300)throw new Error(`Request failed with status ${i.status}`);h.reset(),x(!1),m(!0)}catch(i){console.error("Contact form submission error:",i),d("Something went wrong. Please try again.")}finally{o(!1)}},p=()=>{m(!1)};return e.jsxs("div",{className:"isolate",children:[e.jsx("div",{"aria-hidden":"true",className:"absolute inset-x-0 -top-40 -z-10 transform-gpu overflow-hidden blur-3xl sm:-top-80",children:e.jsx("div",{style:{clipPath:"polygon(74.1% 44.1%, 100% 61.6%, 97.5% 26.9%, 85.5% 0.1%, 80.7% 2%, 72.5% 32.5%, 60.2% 62.4%, 52.4% 68.1%, 47.5% 58.3%, 45.2% 34.5%, 27.5% 76.7%, 0.1% 64.9%, 17.9% 100%, 27.6% 76.8%, 76.1% 97.7%, 74.1% 44.1%)"},className:"relative left-1/2 -z-10 aspect-1155/678 w-144.5 max-w-none -translate-x-1/2 rotate-30 bg-linear-to-tr from-[#ff80b5] to-[#9089fc] opacity-30 sm:left-[calc(50%-40rem)] sm:w-288.75"})}),y&&e.jsxs("div",{className:"fixed inset-0 z-50 flex items-center justify-center",children:[e.jsx("div",{className:"absolute inset-0 bg-black/40 backdrop-blur-[2px]",onClick:p}),e.jsx("div",{className:"relative w-full max-w-md mx-4 p-[1px] rounded-xl am-gradient shadow-[0_20px_60px_rgba(107,124,255,0.20)]",children:e.jsx("div",{className:"relative rounded-xl bg-white/80 dark:bg-gray-900/80 backdrop-blur-xl p-6",children:e.jsxs("div",{className:"text-center space-y-4",children:[e.jsx("div",{className:"mx-auto w-12 h-12 rounded-full bg-green-100 dark:bg-green-900/30 flex items-center justify-center",children:e.jsx("svg",{className:"w-6 h-6 text-green-600 dark:text-green-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:e.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M5 13l4 4L19 7"})})}),e.jsx("h3",{className:"text-xl font-semibold text-gray-900 dark:text-white",children:"Thank y
16ou!"}),e.jsx("p",{className:"text-sm text-gray-700 dark:text-gray-300",children:"Your message has been received. We'll reach out shortly."}),e.jsx("button",{onClick:p,className:"w-full rounded-md bg-indigo-600 px-3.5 py-2.5 text-sm font-semibold text-white shadow-xs hover:bg-indigo-500 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600",children:"Close"})]})})})]}),e.jsxs("form",{onSubmit:b,className:"bg-transparent",children:[e.jsxs("div",{className:"grid grid-cols-1 gap-x-8 gap-y-6 sm:grid-cols-2",children:[e.jsxs("div",{children:[e.jsx("label",{htmlFor:"first-name",className:"block text-sm/6 font-semibold text-gray-900",children:"First name"}),e.jsx("div",{className:"mt-2.5",children:e.jsx("input",{id:"first-name",name:"first-name",type:"text",autoComplete:"given-name",required:!0,disabled:t,className:"block w-full rounded-md bg-white px-3.5 py-2 text-base text-gray-900 outline-1 -outline-offset-1 outline-gray-300 placeholder:text-gray-400 focus:outline-2 focus:-outline-offset-2 focus:outline-indigo-600 disabled:opacity-50"})})]}),e.jsxs("div",{children:[e.jsx("label",{htmlFor:"last-name",className:"block text-sm/6 font-semibold text-gray-900",children:"Last name"}),e.jsx("div",{className:"mt-2.5",children:e.jsx("input",{id:"last-name",name:"last-name",type:"text",autoComplete:"family-name",required:!0,disabled:t,className:"block w-full rounded-md bg-white px-3.5 py-2 text-base text-gray-900 outline-1 -outline-offset-1 outline-gray-300 placeholder:text-gray-400 focus:outline-2 focus:-outline-offset-2 focus:outline-indigo-600 disabled:opacity-50"})})]}),e.jsxs("div",{className:"sm:col-span-2",children:[e.jsx("label",{htmlFor:"company",className:"block text-sm/6 font-semibold text-gray-900",children:"Company"}),e.jsx("div",{className:"mt-2.5",children:e.jsx("input",{id:"company",name:"company",type:"text",autoComplete:"organization",required:!0,disabled:t,className:"block w-full rounded-md bg-white px-3.5 py-2 text-base text-gray-900 outline-1 -outline-offset-1 outline-gray-300 placeholder:text-gray-400 focus:outline-2 focus:-outline-offset-2 focus:outline-indigo-600 disabled:opacity-50"})})]}),e.jsxs("div",{className:"sm:col-span-2",children:[e.jsx("label",{htmlFor:"email",className:"block text-sm/6 font-semibold text-gray-900",children:"Email"}),e.jsx("div",{className:"mt-2.5",children:e.jsx("input",{id:"email",name:"email",type:"email",autoComplete:"email",required:!0,disabled:t,className:"block w-full rounded-md bg-white px-3.5 py-2 text-base text-gray-900 outline-1 -outline-offset-1 outline-gray-300 placeholder:text-gray-400 focus:outline-2 focus:-outline-offset-2 focus:outline-indigo-600 disabled:opacity-50"})})]}),e.jsxs("div",{className:"sm:col-span-2",children:[e.jsx("label",{htmlFor:"phone-number",className:"block text-sm/6 font-semibold text-gray-900",children:"Phone number"}),e.jsx("div",{className:"mt-2.5",children:e.jsxs("div",{className:"flex rounded-md bg-white outline-1 -outline-offset-1 outline-gray-300 has-[input:focus-within]:outline-2 has-[input:focus-within]:-outline-offset-2 has-[input:focus-within]:outline-indigo-600",children:[e.jsxs("div",{className:"grid shrink-0 grid-cols-1 focus-within:relative max-w-28",children:[e.jsxs("select",{id:"country",name:"country",autoComplete:"country","aria-label":"Country",disabled:t,defaultValue:"",className:"col-start-1 row-start-1 w-full appearance-none rounded-md py-2 pr-7 pl-3.5 text-base text-gray-500 placeholder:text-gray-400 focus:outline-2 focus:-outline-offset-2 focus:outline-indigo-600 sm:text-sm/6 disabled:opacity-50",children:[e.jsx("option",{value:"",children:"--"}),S.map(s=>e.jsx("option",{value:s.code,children:`${s.code} (${s.phone_code})`},s.code))]}),e.jsx(z,{"aria-hidden":"true",className:"pointer-events-none col-start-1 row-start-1 mr-2 size-5 self-center justify-self-end text-gray-500 sm:size-4"})]}),e.jsx("input",{id:"phone-number",name:"phone-number",type:"text",placeholder:"123-456-7890",disabled:t,className:"block min-w-0 grow py-1.5 pr-3 pl-1 text-base text-gray-900 placeholder:text-gray-400 focus:outline-none sm:text-sm/6 disabled:opacity-50"})]})})]}),e.jsxs("div",{className:"sm:col-span-2",children:[e.jsx("label",{htmlFor:"message",className:"block text-sm/6 font-semibold text-gray-900",children:"Message"}),e.jsx("div",{className:"mt-2.5",children:e.jsx("textarea",{id:"message",name:"message",rows:4,required:!0,disabled:t,className:"block w-full rounded-md bg-white px-3.5 py-2 text-base text-gray-900 outline-1 -outline-offset-1 outline-gray-300 placeholder:text-gray-400 focus:outline-2 focus:-outline-offset-2 focus:outline-indigo-600 disabled:opacity-50",defaultValue:""})})]}),e.jsxs("div",{className:"flex gap-x-4 sm:col-span-2",children:[e.jsx("div",{className:"flex h-6 items-center",children:e.jsxs("div",{className:"group relative inline-flex w-8 shrink-0 rounded-full bg-gray-200 p-px inset-ring inset-ring-gray-900/5 outline-offset-2 outline-indigo-600 transition-colors duration-200 ease-in-out has-checked:bg-indigo-600 has-focus-visible:outline-2",children:[e.jsx("span",{className:"size-4 rounded-full bg-white shadow-xs ring-1 ring-gray-900/5 transition-transform duration-200 ease-in-out group-has-checked:translate-x-3.5"}),e.jsx("input",{id:"agree-to-policies",name:"agree-to-policies",type:"checkbox","aria-label":"Agree to policies",required:!0,checked:u,onChange:s=>x(s.target.checked),disabled:t,className:"absolute inset-0 appearance-none focus:outline-hidden disabled:opacity-50"})]})}),e.jsxs("label",{htmlFor:"agree-to-policies",className:"text-sm/6 text-gray-600",children:["By selecting this, you agree to our"," ",e.jsx("a",{href:"/privacy",className:"font-semibold whitespace-nowrap text-indigo-600 hover:text-indigo-500",children:"privacy policy"}),"."]})]})]}),l&&e.jsx("div",{className:"mt-4 p-4 rounded-md bg-red-50 border border-red-200",children:e.jsx("p",{className:"text-sm text-red-800",role:"alert","aria-live":"polite",children:l})}),e.jsx("div",{className:"mt-10",children:e.jsx("button",{type:"submit",disabled:t||!u,className:"block w-full rounded-md bg-indigo-600 px-3.5 py-2.5 text-center text-sm font-semibold text-white shadow-xs hover:bg-indigo-500 focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600 disabled:opacity-50 disabled:cursor-not-allowed",children:t?"Sending...":"Let's talk"})})]})]})}function R({}){return[{title:"Contact us - AppMaker"},{name:"description",content:"Get in touch with the AppMaker team for sales, support, or partnership inquiries. We're here to help you build and scale your Shopify mobile app."},{tagName:"link",rel:"canonical",href:"https://appmaker.xyz/contact"}]}const V=N(function(){const o=w([{name:"Home",url:"/"},{name:"Contact",url:"/contact"}]),l=v({name:"AppMaker",url:"https://appmaker.xyz",email:"[email protected]"});return e.jsxs("div",{className:"min-h-[60vh] py-16",children:[e.jsx(g,{data:o}),e.jsx(g,{data:l}),e.jsx(k,{className:"mb-16",children:e.jsx("div",{className:"max-w-4xl mx-auto text-center",children:e.jsxs(r.div,{initial:{opacity:0,y:10}
16,animate:{opacity:1,y:0},children:[e.jsx("h1",{className:"text-4xl sm:text-5xl lg:text-[44px] font-normal leading-tight font-oswald uppercase",children:"Contact us"}),e.jsx("p",{className:"mt-4 text-lg max-w-xl font-light mx-auto",children:"Get in touch and let us know how we can help."})]})})}),e.jsxs("section",{className:"grid grid-cols-1 gap-8 max-w-3xl mx-auto px-4 sm:px-6 lg:px-8",children:[e.jsx(P,{}),e.jsxs("div",{className:"flex flex-col gap-4",children:[e.jsxs(r.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},className:"p-8 rounded-4xl bg-gradient-to-br from-green-50 to-emerald-100 hover:shadow-lg transition-all duration-300",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[e.jsx(F,{size:24}),e.jsx("h3",{className:"text-2xl font-normal text-gray-900",children:"Help & support"})]}),e.jsx("p",{className:"text-gray-600 mb-6 font-light",children:"Get in touch and let us know how we can help."}),e.jsxs("a",{href:"mailto:[email protected]",className:"text-gray-600 font-medium flex items-center gap-2",children:[e.jsx(f,{className:"h-4 w-4"}),"[email protected]"]})]}),e.jsxs(r.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},className:"p-8 rounded-4xl bg-gradient-to-br from-purple-50 to-violet-100 hover:shadow-lg transition-all duration-300",children:[e.jsxs("div",{className:"flex items-center gap-2 mb-4",children:[e.jsx(L,{size:24}),e.jsx("h3",{className:"text-2xl font-normal text-gray-900",children:"Contact us"})]}),e.jsx("p",{className:"text-gray-600 mb-6 font-light",children:"For general queries, including partnership opportunities."}),e.jsxs("a",{href:"mailto:[email protected]",className:"text-gray-600 font-medium flex items-center gap-2",children:[e.jsx(f,{className:"h-4 w-4"}),"[email protected]"]})]})]})]})]})});export{V as default,R as meta};
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.