1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[977],{1362:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(1847).A)("CircleCheck",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},2508:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(1847).A)("Smartphone",[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]])},5339:(e,t,r)=>{Promise.resolve().then(r.bind(r,5825))},5626:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(1847).A)("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]])},5825:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>v});var a=r(5155),s=r(2115),l=r(2619),o=r.n(l),d=r(1485),n=r(5626),i=r(4684),x=r(2508);let c=(0,r(1847).A)("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"}]]);var m=r(1362),u=r(6132),b=r(8085),p=r(4551);let h=["General Inquiry","Android App Idea","Web Project","Open Source Collaboration","Mentorship / Feedback"];function v(){let[e,t]=(0,s.useState)("General Inquiry"),[r,l]=(0,s.useState)("idle"),[v,g]=(0,s.useState)({name:"",email:"",subject:"",message:""});async function f(t){t.preventDefault(),l("sending");try{let t={...v,subject:v.subject||e};(await fetch("/api/contact",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)})).ok?(l("done"),g({name:"",email:"",subject:"",message:""})):l("error")}catch(e){l("error")}}return(0,a.jsxs)("main",{className:"relative min-h-screen bg-[var(--bg-main)] text-[var(--text-primary)] transition-colors duration-300 overflow-hidden",children:[(0,a.jsx)(p.Nav,{}),(0,a.jsxs)("section",{className:"relative pt-32 sm:pt-40 pb-20 sm:pb-28 px-4 sm:px-6 md:px-12 grid-pattern",children:[(0,a.jsx)("div",{className:"absolute top-28 left-1/4 w-[600px] h-[350px] bg-[#6366f1]/10 rounded-full blur-[140px] pointer-events-none"}),(0,a.jsx)("div",{className:"absolute top-48 right-1/4 w-[500px] h-[300px] bg-[#34d399]/10 rounded-full blur-[140px] pointer-events-none"}),(0,a.jsxs)("div",{className:"mx-auto max-w-5xl",children:[(0,a.jsxs)(o(),{href:"/",className:"inline-flex items-center gap-2 text-xs font-mono text-[#34d399] hover:underline mb-8",children:[(0,a.jsx)(n.A,{size:14}),(0,a.jsx)("span",{children:"Back to Home"})]}),(0,a.jsxs)("div",{className:"grid gap-10 lg:gap-12 lg:grid-cols-[1fr_1.3fr] items-start",children:[(0,a.jsxs)(d.P.div,{initial:{opacity:0,x:-30},animate:{opacity:1,x:0},transition:{duration:.6,ease:"easeOut"},children:[(0,a.jsxs)("h1",{className:"display-title mt-4 text-3xl sm:text-6xl font-extrabold text-[var(--text-primary)] break-words",children:["START A ",(0,a.jsx)("br",{}),(0,a.jsx)("span",{className:"gradient-text-mint",children:"CONVERSATION."})]}),(0,a.jsx)("p",{className:"mt-5 sm:mt-6 text-base sm:text-lg text-[var(--text-secondary)] leading-relaxed",children:"Have a question about an Android project, want to discuss software engineering, or have an idea you'd like to build together? Drop a message below."}),(0,a.jsxs)("div",{className:"mt-8 sm:mt-10 space-y-3 sm:space-y-4",children:[(0,a.jsxs)("a",{href:"https://github.com/Subhan-Haider",target:"_blank",rel:"noreferrer",className:"flex items-center gap-3.5 sm:gap-4 rounded-2xl border border-[var(--border-subtle)] bg-[var(--bg-surface)] p-3.5 sm:p-4 hover:border-[var(--border-active)] hover:bg-[var(--bg-surface-elevated)] active:scale-98 transition-all group shadow-sm",children:[(0,a.jsx)("div",{className:"w-10 h-10 rounded-xl bg-[var(--bg-surface-elevated)] border border-[var(--border-subtle)] flex items-center justify-center text-[var(--text-primary)] group-hover:scale-110 transition-transform",children:(0,a.jsx)(i.A,{size:20})}),(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-xs font-mono text-[var(--text-muted)] block",children:"GITHUB"}),(0,a.jsx)("span",{className:"text-sm font-bold text-[var(--text-primary)] group-hover:text-emerald-600 dark:group-hover:text-[#34d399] transition-colors break-all",children:"github.com/Subhan-Haider"})]})]}),(0,a.jsxs)("a",{href:"https://tester.subhan.tech/",target:"_blank",rel:"noreferrer",className:"flex items-center gap-3.5 sm:gap-4 roun
1ded-2xl border border-[var(--border-subtle)] bg-[var(--bg-surface)] p-3.5 sm:p-4 hover:border-sky-500/40 hover:bg-[var(--bg-surface-elevated)] active:scale-98 transition-all group shadow-sm",children:[(0,a.jsx)("div",{className:"w-10 h-10 rounded-xl bg-sky-500/10 border border-sky-500/20 flex items-center justify-center text-sky-600 dark:text-[#38bdf8] group-hover:scale-110 transition-transform",children:(0,a.jsx)(x.A,{size:20})}),(0,a.jsxs)("div",{children:[(0,a.jsx)("span",{className:"text-xs font-mono text-[var(--text-muted)] block",children:"TESTER PORTAL"}),(0,a.jsx)("span",{className:"text-sm font-bold text-[var(--text-primary)] group-hover:text-sky-600 dark:group-hover:text-[#38bdf8] transition-colors break-all",children:"tester.subhan.tech"})]})]})]})]}),(0,a.jsxs)(d.P.div,{initial:{opacity:0,x:30},animate:{opacity:1,x:0},transition:{duration:.6,delay:.2,ease:"easeOut"},className:"rounded-3xl border border-[var(--border-subtle)] bg-[var(--bg-surface)] p-5 sm:p-8 sm:p-10 backdrop-blur-2xl shadow-lg dark:shadow-2xl",children:[(0,a.jsxs)("div",{className:"flex items-center gap-2 text-xs font-mono text-emerald-600 dark:text-[#34d399] font-medium pb-4 mb-6 border-b border-[var(--border-subtle)]",children:[(0,a.jsx)(c,{size:15}),(0,a.jsx)("span",{children:"DIRECT MESSAGE FORM"})]}),"done"===r?(0,a.jsxs)("div",{className:"py-12 text-center space-y-4",children:[(0,a.jsx)("div",{className:"w-14 h-14 rounded-full bg-emerald-500/15 text-emerald-600 dark:text-[#34d399] flex items-center justify-center mx-auto shadow-md",children:(0,a.jsx)(m.A,{size:28})}),(0,a.jsx)("h3",{className:"font-display text-2xl font-bold text-[var(--text-primary)]",children:"Message Received!"}),(0,a.jsx)("p",{className:"text-sm text-[var(--text-secondary)] max-w-sm mx-auto",children:"Thank you for reaching out. I will get back to you as soon as possible."}),(0,a.jsx)("button",{onClick:()=>l("idle"),className:"mt-6 inline-flex items-center gap-2 rounded-full border border-[var(--border-medium)] bg-[var(--bg-surface-elevated)] px-5 py-2.5 text-xs font-bold text-[var(--text-primary)] hover:bg-[var(--bg-surface)] transition-colors shadow-sm",children:(0,a.jsx)("span",{children:"Send Another Message"})})]}):(0,a.jsxs)("form",{onSubmit:f,className:"space-y-6",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{className:"block text-xs font-mono text-[var(--text-secondary)] font-medium mb-2.5",children:"Select Topic"}),(0,a.jsx)("div",{className:"flex flex-wrap gap-2",children:h.map(r=>(0,a.jsx)("button",{type:"button",onClick:()=>{t(r),g(e=>({...e,subject:r}))},className:"px-3 py-1.5 rounded-full text-xs font-mono transition-all ".concat(e===r?"bg-emerald-600 text-white dark:bg-[#34d399] dark:text-[#090a12] font-bold shadow-md":"bg-[var(--bg-surface-elevated)] text-[var(--text-secondary)] border border-[var(--border-subtle)] hover:border-[var(--border-medium)] hover:text-[var(--text-primary)]"),children:r},r))})]}),(0,a.jsxs)("div",{className:"grid gap-5 sm:grid-cols-2",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{className:"block text-xs font-mono text-[var(--text-secondary)] font-medium mb-2",children:"Your Name *"}),(0,a.jsx)("input",{required:!0,type:"text",placeholder:"Alex Smith",value:v.name,onChange:e=>g({...v,name:e.target.value}),className:"w-full rounded-xl border border-[var(--border-medium)] bg-[var(--bg-surface)] px-4 py-3 text-sm text-[var(--text-primary)] placeholder:text-[var(--text-muted)] focus:border-emerald-500 focus:outline-none transition-colors"})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{className:"block text-xs font-mono text-[var(--text-secondary)] font-medium mb-2",children:"Email Address *"}),(0,a.jsx)("input",{required:!0,type:"email",placeholder:"[email protected]",value:v.email,onChange:e=>g({...v,email:e.target.value}),className:"w-full rounded-xl border border-[var(--border-medium)] bg-[var(--bg-surface)] px-4 py-3 text-sm text-[var(--text-primary)] placeholder:text-[var(--text-muted)] focus:border-emerald-500 focus:outline-none transition-colors"})]})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{className:"block text-xs font-mono text-[var(--text-secondary)] font-medium mb-2",children:"Subject"}),(0,a.jsx)("input",{type:"text",placeholder:"Brief title of your inquiry",value:v.subject||e,onChange:e=>g({...v,subject:e.target.value}),className:"w-full rounded-xl border border-[var(--border-medium)] bg-[var(--bg-surface)] px-4 py-3 text-sm text-[var(--text-primary)] placeholder:text-[var(--text-muted)] focus:border-emerald-500 focus:outline-none transition-colors"})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{className:"block text-xs font-mono text-[var(--text-secondary)] font-medium mb-2",children:"Message *"}),(0,a.jsx)("textarea",{required:!0,rows:5,placeholder:"Tell me about your idea, question, or project...",value:v.message,onChange:e=>g({...v,message:e.target.value}),className:"w-full rounded-xl border border-[var(--border-medium)] bg-[var(--bg-surface)] px-4 py-3 text-sm text-[var(--text-primary)] placeholder:text-[var(--text-muted)] focus:border-emerald-500 focus:outline-none transition-colors resize-none"})]}),"error"===r&&(0,a.jsxs)("div",{className:"flex items-center gap-2 rounded-xl bg-rose-500/10 border border-rose-500/20 p-3 text-xs text-rose-600 dar
1k:text-[#fca5a5]",children:[(0,a.jsx)(u.A,{size:15}),(0,a.jsx)("span",{children:"Something went wrong while sending your message. Please try again."})]}),(0,a.jsx)("button",{type:"submit",disabled:"sending"===r,className:"w-full flex items-center justify-center gap-2 rounded-full bg-emerald-600 hover:bg-emerald-700 text-white dark:bg-[#34d399] dark:text-[#090a12] dark:hover:bg-[#6ee7b7] py-3.5 text-xs font-bold shadow-lg disabled:opacity-50 transition-all cursor-pointer",children:"sending"===r?(0,a.jsx)("span",{children:"Transmitting message..."}):(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{children:"Send Message"}),(0,a.jsx)(b.A,{size:14})]})})]})]})]})]})]}),(0,a.jsx)(p.Footer,{})]})}},6132:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(1847).A)("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"}]])},8085:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let a=(0,r(1847).A)("Send",[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]])}},e=>{e.O(0,[485,3,551,441,255,358],()=>e(e.s=5339)),_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.