PageSourceSearch

https://armup.com/_next/static/chunks/app/contact/page-e12f8f36f627b312.js

js armup.com collected 2026-10-04 02:54:28 UTC 17,528 bytes, 61 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1327],{6792:function(e,t,a){Promise.resolve().then(a.bind(a,4639))},4639:function(e,t,a){"use strict";a.r(t),a.d(t,{default:function(){return y}});var r=a(7437),s=a(2265),l=a(2940),i=a(2022),n=a(4086),o=a(7390),c=a(6780),d=a(1976),m=a(4436),x=a(933),h=a(500);let u=new Set(["gmail.com","googlemail.com","outlook.com","hotmail.com","live.com","msn.com","outlook.co.uk","hotmail.co.uk","yahoo.com","yahoo.co.uk","yahoo.com.au","yahoo.co.in","ymail.com","rocketmail.com","icloud.com","me.com","mac.com","protonmail.com","proton.me","pm.me","zoho.com","zohomail.com","aol.com","mail.com","email.com","gmx.com","gmx.net","tutanota.com","tuta.io","fastmail.com","fastmail.fm","rediffmail.com","yandex.com","yandex.ru","mail.ru","qq.com","163.com","126.com","btinternet.com","virginmedia.com","sky.com","talktalk.net","bigpond.com","optusnet.com.au"]),p=["tempmail","throwaway","guerrilla","mailinator","yopmail","trashmail","fakeinbox","sharklasers","guerrillamail","grr.la","dispostable","maildrop","10minutemail","temp-mail","tmpmail"];function g(e){if(!/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(e))return"Please enter a valid email address";let t=e.toLowerCase().split("@")[1];if(!t)return"Please enter a valid email address";if(p.some(e=>t.includes(e)))return"Disposable/temporary emails are not allowed. Please use your real email.";let a=t.split(".").pop();return!a||a.length<2?"Invalid email domain":!u.has(t)&&t.split(".").length<2?"Please use a valid email from a recognized provider (e.g., Gmail, Outlook, Yahoo)":null}function y(){let[e,t]=(0,s.useState)(""),[a,u]=(0,s.useState)(""),[p,y]=(0,s.useState)(""),[f,b]=(0,s.useState)(""),[k,j]=(0,s.useState)(!1),[N,v]=(0,s.useState)(!1),[w,Z]=(0,s.use
1State)(""),[S,C]=(0,s.useState)(""),z=e=>{y(e),e&&e.includes("@")?C(g(e)||""):C("")},q=async r=>{if(r.preventDefault(),j(!0),Z(""),e.trim().length<2){Z("First name must be at least 2 characters"),j(!1);return}if(a.trim().length<2){Z("Last name must be at least 2 characters"),j(!1);return}let s=g(p);if(s){Z(s),j(!1);return}if(f.trim().length<10){Z("Description must be at least 10 characters"),j(!1);return}try{let r=await fetch("/api/contact",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({firstName:e.trim(),lastName:a.trim(),email:p.trim(),description:f.trim()})}),s=await r.json();r.ok&&s.success?(v(!0),t(""),u(""),y(""),b(""),C("")):Z(s.message||s.error||"Failed to send message. Please try again.")}catch(e){Z("Network error. Please check your connection and try again.")}finally{j(!1)}};return(0,r.jsxs)("div",{className:"min-h-screen bg-background",children:[(0,r.jsxs)("section",{className:"relative bg-gradient-to-br from-primary/10 via-background to-primary/5 py-16 sm:py-24",children:[(0,r.jsxs)("div",{className:"absolute inset-0 overflow-hidden",children:[(0,r.jsx)("div",{className:"absolute top-1/4 left-1/4 w-[400px] h-[400px] bg-primary/5 rounded-full blur-3xl"}),(0,r.jsx)("div",{className:"absolute bottom-1/4 right-1/4 w-[300px] h-[300px] bg-primary/5 rounded-full blur-3xl"})]}),(0,r.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8 relative z-10",children:(0,r.jsxs)("div",{className:"mx-auto max-w-3xl text-center",children:[(0,r.jsx)("h1",{className:"text-4xl font-bold tracking-tight text-gray-900 dark:text-white sm:text-6xl mb-6",children:"Contact Us"}),(0,r.jsx)("p",{className:"text-lg leading-8 text-gray-600 dark:text-gray-400",children:"Have a question, feedback, or need support? We'd love to hear from you. Fill out the form below and our team will get back to you as soon as possible."})]})})]}),(0,r.jsx)("section",{className:"py-16",children:(0,r.jsx)("div",{className:"mx-auto max-w-7xl px-6 lg:px-8",children:(0,r.jsxs)("div",{className:"grid grid-cols-1 lg:grid-cols-5 gap-12",children:[(0,r.jsx)("div",{className:"lg:col-span-3",children:(0,r.jsx)("div",{className:"glass-card p-8 sm:p-10",children:N?(0,r.jsxs)("div",{className:"text-center py-12",children:[(0,r.jsx)("div",{className:"w-20 h-20 bg-emerald-100 dark:bg-emerald-900/30 rounded-full flex items-center justify-center mx-auto mb-6",children:(0,r.jsx)(l.Z,{className:"h-10 w-10 text-emerald-500"})}),(0,r.jsx)("h2",{className:"text-2xl font-bold text-gray-900 dark:text-white mb-4",children:"Message Sent Successfully!"}),(0,r.jsx)("p",{className:"text-gray-600 dark:text-gray-400 mb-4 max-w-md mx-auto",children:"Thank you for reaching out! We've sent a confirmation to your email address."}),(0,r.jsx)("p",{className:"text-gray-500 dark:text-gray-500 mb-8 max-w-md mx-auto text-sm",children:"Our support agent will review your message and respond within 24-48 hours. Please check your inbox (and spam folder) for the confirmation email."}),(0,r.jsx)("button",{onClick:()=>v(!1),className:"inline-flex items-center justify-center px-8 py-3 text-base font-semibold text-white bg-primary rounded-xl hover:bg-primary/90 transition-all duration-300",children:"Send Another Message"})]}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("h2",{className:"text-2xl font-bold text-gray-900 dark:text-white mb-2",children:"Send Us a Message"}),(0,r.jsx)("p",{className:"text-gray-600 dark:text-gray-400 mb-8",children:"Fill in the details below and we'll respond within 24-48 hours."}),(0,r.jsxs)("form",{onSubmit:q,className:"space-y-6",children:[(0,r.jsxs)("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-6",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:"firstName",className:"block text-sm font-semibold text-gray-900 dark:text-white mb-2",children:"First Name"}),(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)("div",{className:"absolute inset-y-0 left-0 pl-4 flex items-center pointer-events-none",children:(0,r.jsx)(i.Z,{className:"h-5 w-5 text-gray-400"})}),(0,r.jsx)("input",{type:"text",id:"firstName",value:e,onChange:e=>t(e.target.value),required:!0,maxLength:50,placeholder:"John",className:"w-full pl-12 pr-4 py-3 bg-white dark:bg-gray-800 border border-gray-300 dark:border-gray-600 rounded-xl text-gray-900 dark:text-white placeholder-gray-400 focus:ring-2 focus:ring-primary focus:border-transparent transition-all duration-200"})]})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:"lastName",className:"block text-sm font-semibold text-gray-900 dark:text-white mb-2",children:"Last Name"}),(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)("div",{className:"absolute inset-y-0 left-0 pl-4 flex items-center pointer-events-none",children:(0,r.jsx)(i.Z,{className:"h-5 w-5 text-gray-400"})}),(0,r.jsx)("input",{type:"text",id:"lastName",value:a,onChange:e=>u(e.target.value),required:!0,maxLength:50,placeholder:"Doe",className:"w-full pl-12 pr-4 py-3 bg-white dark:bg-gray-800 border border-gray-300 dark:border-gray-600 rounded-xl text-gray-900 dark:text-white placeholder-gray-400 focus:ring-2 focus:ring-primary focus:border-transparent transition-all duration-200"})]})]})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:"email",className:"block text-sm font-semibold text-gray-900 dark:text-white mb-2",children:"Email Address"}),(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)("div",{className:"absolute inset-y-0 left-0 pl-4 flex items-center pointer-events-none",children:(0,r.jsx)(n.Z,{className:"h-5 w-5 text-gray-400"})}),(0,r.jsx)("input",{type:"email",id:"email",value:p,onChange:e=>z(e.target.value),required:!0,placeholder:"[email protected]",className:"w-full pl-12 pr-4 py-3 bg-white dark:bg-gray-800 border rounded-xl text-gray-900 dark:text-white placeholder-gray-400 focus:ring-2 focus:ring-primary focus:border-transparent transition-all duration-200 ".concat(S?"border-red-400 dark:border-red-500":"border-gray-300 dark:border-gray-600")})]}),S&&(0,r.jsx)("p",{className:"text-xs text-red-500 mt-1",children:S})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:"description",className:"block text-sm font-semibold text-gray-900 dark:text-white mb-2",children:"Description"}),(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)("div",{className:"absolute top-4 left-0 pl-4 pointer-events-none",children:(0,r.jsx)(o.Z,{className:"h-5 w-5 text-gray-400"})}),(0,r.jsx)("textarea",{id:"description",value:f,onChange:e=>b(e.target.value),required:!0,maxLength:5e3,rows:5,placeholder:"Tell us how we 
1can help you...",className:"w-full pl-12 pr-4 py-3 bg-white dark:bg-gray-800 border border-gray-300 dark:border-gray-600 rounded-xl text-gray-900 dark:text-white placeholder-gray-400 focus:ring-2 focus:ring-primary focus:border-transparent transition-all duration-200 resize-none"})]}),(0,r.jsxs)("p",{className:"text-xs text-gray-400 mt-1 text-right",children:[f.length,"/5000"]})]}),w&&(0,r.jsxs)("div",{className:"flex items-center gap-3 p-4 bg-red-50 dark:bg-red-900/20 border border-red-200 dark:border-red-800 rounded-xl",children:[(0,r.jsx)(c.Z,{className:"h-5 w-5 text-red-500 flex-shrink-0"}),(0,r.jsx)("p",{className:"text-sm text-red-600 dark:text-red-400",children:w})]}),(0,r.jsx)("button",{type:"submit",disabled:k,className:"w-full inline-flex items-center justify-center px-8 py-4 text-lg font-bold text-white bg-primary rounded-xl hover:bg-primary/90 transition-all duration-300 hover:scale-[1.02] disabled:opacity-50 disabled:cursor-not-allowed disabled:hover:scale-100",children:k?(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"animate-spin rounded-full h-5 w-5 border-b-2 border-white mr-3"}),"Sending..."]}):(0,r.jsxs)(r.Fragment,{children:["Send Message",(0,r.jsx)(d.Z,{className:"ml-2 h-5 w-5"})]})})]})]})})}),(0,r.jsxs)("div",{className:"lg:col-span-2 space-y-6",children:[(0,r.jsxs)("div",{className:"glass-card p-8",children:[(0,r.jsx)("h3",{className:"text-xl font-bold text-gray-900 dark:text-white mb-6",children:"Get In Touch"}),(0,r.jsxs)("div",{className:"space-y-6",children:[(0,r.jsxs)("div",{className:"flex items-start gap-4",children:[(0,r.jsx)("div",{className:"p-3 bg-primary/10 rounded-xl flex-shrink-0",children:(0,r.jsx)(n.Z,{className:"h-6 w-6 text-primary"})}),(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:"font-semibold text-gray-900 dark:text-white",children:"Email"}),(0,r.jsx)("a",{href:"mailto:[email protected]",className:"text-primary hover:underline",children:"[email protected]"})]})]}),(0,r.jsxs)("div",{className:"flex items-start gap-4",children:[(0,r.jsx)("div",{className:"p-3 bg-primary/10 rounded-xl flex-shrink-0",children:(0,r.jsx)(m.Z,{className:"h-6 w-6 text-primary"})}),(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:"font-semibold text-gray-900 dark:text-white",children:"Location"}),(0,r.jsxs)("p",{className:"text-gray-600 dark:text-gray-400",children:["Suite 2, Level 3, 480 Collins Street",(0,r.jsx)("br",{}),"Melbourne, VIC 3000"]}),(0,r.jsxs)("p",{className:"text-gray-600 dark:text-gray-400 mt-2",children:["Level 33, Australia Square, 264 George Street",(0,r.jsx)("br",{}),"Sydney, NSW 2000"]})]})]}),(0,r.jsxs)("div",{className:"flex items-start gap-4",children:[(0,r.jsx)("div",{className:"p-3 bg-primary/10 rounded-xl flex-shrink-0",children:(0,r.jsx)(x.Z,{className:"h-6 w-6 text-primary"})}),(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:"font-semibold text-gray-900 dark:text-white",children:"Response Time"}),(0,r.jsx)("p",{className:"text-gray-600 dark:text-gray-400",children:"Within 24-48 hours"})]})]})]})]}),(0,r.jsxs)("div",{className:"glass-card p-8",children:[(0,r.jsx)("h3",{className:"text-xl font-bold text-gray-900 dark:text-white mb-4",children:"Why Contact Us?"}),(0,r.jsxs)("div",{className:"space-y-4",children:[(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[(0,r.jsx)(h.Z,{className:"h-5 w-5 text-primary flex-shrink-0"}),(0,r.jsx)("span",{className:"text-gray-600 dark:text-gray-400",children:"Account & security questions"})]}),(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[(0,r.jsx)(o.Z,{className:"h-5 w-5 text-primary flex-shrink-0"}),(0,r.jsx)("span",{className:"text-gray-600 dark:text-gray-400",children:"General inquiries & feedback"})]}),(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[(0,r.jsx)(l.Z,{className:"h-5 w-5 text-primary flex-shrink-0"}),(0,r.jsx)("span",{className:"text-gray-600 dark:text-gray-400",children:"Partnership opportunities"})]})]})]})]})]})})})]})}},8030:function(e,t,a){"use strict";a.d(t,{Z:function(){return o}});var r=a(2265);/**
2 * @license lucide-react v0.400.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 */let s=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),l=function(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];return t.filter((e,t,a)=>!!e&&a.indexOf(e)===t).join(" ")};/**
7 * @license lucide-react v0.400.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 */var i={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
12 * @license lucide-react v0.400.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 */let n=(0,r.forwardRef)((e,t)=>{let{color:a="currentColor",size:s=24,strokeWidth:n=2,absoluteStrokeWidth:o,className:c="",children:d,iconNode:m,...x}=e;return(0,r.createElement)("svg",{ref:t,...i,width:s,height:s,stroke:a,strokeWidth:o?24*Number(n)/Number(s):n,className:l("lucide",c),...x},[...m.map(e=>
16{let[t,a]=e;return(0,r.createElement)(t,a)}),...Array.isArray(d)?d:[d]])}),o=(e,t)=>{let a=(0,r.forwardRef)((a,i)=>{let{className:o,...c}=a;return(0,r.createElement)(n,{ref:i,iconNode:t,className:l("lucide-".concat(s(e)),o),...c})});return a.displayName="".concat(e),a}},1976:function(e,t,a){"use strict";a.d(t,{Z:function(){return r}});/**
17 * @license lucide-react v0.400.0 - ISC
18 *
19 * This source code is licensed under the ISC license.
20 * See the LICENSE file in the root directory of this source tree.
21 */let r=(0,a(8030).Z)("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]])},6780:function(e,t,a){"use strict";a.d(t,{Z:function(){return r}});/**
22 * @license lucide-react v0.400.0 - ISC
23 *
24 * This source code is licensed under the ISC license.
25 * See the LICENSE file in the root directory of this source tree.
26 */let r=(0,a(8030).Z)("CircleAlert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]])},2940:function(e,t,a){"use strict";a.d(t,{Z:function(){return r}});/**
27 * @license lucide-react v0.400.0 - ISC
28 *
29 * This source code is licensed under the ISC license.
30 * See the LICENSE file in the root directory of this source tree.
31 */let r=(0,a(8030).Z)("CircleCheckBig",[["path",{d:"M22 11.08V12a10 10 0 1 1-5.93-9.14",key:"g774vq"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]])},933:function(e,t,a){"use strict";a.d(t,{Z:function(){return r}});/**
32 * @license lucide-react v0.400.0 - ISC
33 *
34 * This source code is licensed under the ISC license.
35 * See the LICENSE file in the root directory of this source tree.
36 */let r=(0,a(8030).Z)("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]])},4436:function(e,t,a){"use strict";a.d(t,{Z:function(){return r}});/**
37 * @license lucide-react v0.400.0 - ISC
38 *
39 * This source code is licensed under the ISC license.
40 * See the LICENSE file in the root directory of this source tree.
41 */let r=(0,a(8030).Z)("Globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]])},4086:function(e,t,a){"use strict";a.d(t,{Z:function(){return r}});/**
42 * @license lucide-react v0.400.0 - ISC
43 *
44 * This source code is licensed under the ISC license.
45 * See the LICENSE file in the root directory of this source tree.
46 */let r=(0,a(8030).Z)("Mail",[["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}]])},7390:function(e,t,a){"use strict";a.d(t,{Z:function(){return r}});/**
47 * @license lucide-react v0.400.0 - ISC
48 *
49 * This source code is licensed under the ISC license.
50 * See the LICENSE file in the root directory of this source tree.
51 */let r=(0,a(8030).Z)("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]])},500:function(e,t,a){"use strict";a.d(t,{Z:function(){return r}});/**
52 * @license lucide-react v0.400.0 - ISC
53 *
54 * This source code is licensed under the ISC license.
55 * See the LICENSE file in the root directory of this source tree.
56 */let r=(0,a(8030).Z)("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]])},2022:function(e,t,a){"use strict";a.d(t,{Z:function(){return r}});/**
57 * @license lucide-react v0.400.0 - ISC
58 *
59 * This source code is licensed under the ISC license.
60 * See the LICENSE file in the root directory of this source tree.
61 */let r=(0,a(8030).Z)("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]])}},function(e){e.O(0,[2971,7023,1744],function(){return e(e.s=6792)}),_N_E=e.O()}]);

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.