PageSourceSearch

https://nettechinfosys.com/assets/ContactPage-HUrDUqqh.js

js nettechinfosys.com collected 2026-10-08 04:07:46 UTC 10,122 bytes, 1 lines download raw bytes

1import{r as o,j as e,H as b,M as g,n as f,e as x,x as j,y,k as N,a as w}from"./index-BY2qKH8z.js";import{N as v}from"./PageBanner-fBywfidS.js";import{S as C}from"./send-bVGWROEl.js";const S=["ERP & POS Solution","Web Development","Software Designing","IT Infrastructure","Email Solutions","Online Marketing","Other / Not sure"];function E(){const[t,n]=o.useState({name:"",email:"",phone:"",service:"",subject:"",message:"",website:""}),[c,m]=o.useState(!1),[r,l]=o.useState(!1),[h,d]=o.useState(""),u=async s=>{if(s.preventDefault(),d(""),!t.name||!t.email||!t.message){d("Please fill in your name, email, and message.");return}l(!0);try{await w.post("/contact",{name:t.name,email:t.email,phone:t.phone||null,subject:t.service?`[${t.service}] ${t.subject||`Inquiry from ${t.name}`}`:t.subject||`Inquiry from ${t.name}`,message:t.message,website:t.website}),m(!0)}catch(a){const p=a?.response?.data?.errors?Object.values(a.response.data.errors).flat().join(" "):a?.response?.data?.message||"Could not send your message. Please email [email protected] directly.";d(p)}finally{l(!1)}};return e.jsxs(e.Fragment,{children:[e.jsxs(b,{children:[e.jsx("title",{children:"Contact NetTech Infosys | IT Solutions in Dubai"}),e.jsx("meta",{name:"description",content:"Get in touch with NetTech Infosys. We respond within 24 hours. Reach us by email, phone, or the contact form for IT, web, ERP, and email solutions in Dubai, UAE."}),e.jsx("link",{rel:"canonical",href:"https://nettechinfosys.com/contact-us"}),e.jsx("meta",{property:"og:title",content:"Contact NetTech Infosys | IT Solutions in Dubai"}),e.jsx("meta",{property:"og:description",content:"Get in touch with our Dubai IT team. We respond within 24 hours for web, ERP, email, and infrastructure enquiries."}),e.jsx("meta",{property:"og:type",content:"website"}),e.jsx("meta",{property:"og:url",content:"https://nettechinfosys.com/contact-us"}),e.jsx("meta",{property:"og:image",content:"https://nettechinfosys.com/og-image.png"}),e.jsx("meta",{property:"og:image:width",content:"1200"}),e.jsx("meta",{property:"og:image:height",content:"630"}),e.jsx("meta",{property:"og:site_name",content:"NetTech Infosys"}),e.jsx("meta",{name:"twitter:card",content:"summary_large_image"}),e.jsx("meta",{name:"twitter:title",content:"Contact NetTech Infosys | IT Solutions in Dubai"}),e.jsx("meta",{name:"twitter:image",content:"https://nettechinfosys.com/og-image.png"}),e.jsx("script",{type:"application/ld+json",children:JSON.stringify({"@context":"https://schema.org","@type":"ContactPage",url:"https://nettechinfosys.com/contact-us",name:"Contact NetTech Infosys",breadcrumb:{"@type":"BreadcrumbList",itemListElement:[{"@type":"ListItem",position:1,name:"Home",item:"https://nettechinfosys.com/"},{"@type":"ListItem",position:2,name:"Contact",item:"https://nettechinfosys.com/contact-us"}]},mainEntity:{"@type":"LocalBusiness",name:"NetTech Infosys",telephone:"+971553021783",email:"[email protected]",address:{"@type":"PostalAddress",addressLocality:"Dubai",addressCountry:"AE"},openingHoursSpecification:{"@type":"OpeningHoursSpecification",dayOfWeek:["Monday","Tuesday","Wednesday","Thursday","Friday"],opens:"09:00",closes:"18:00"},url:"https://nettechinfosys.com"}})})]}),e.jsx(v,{title:"Let's talk",subtitle:"Tell us about your project. We respond within 24 hours.",breadcrumbs:[{label:"Contact"}]}),e.jsx("section",{className:"py-14 bg-white",children:e.jsxs("div",{className:"max-w-7xl mx-auto px-4 grid lg:grid-cols-3 gap-10",children:[e.jsxs("div",{className:"lg:col-span-1 space-y-5",children:[e.jsx("div",{className:"p-5 rounded-xl border border-slate-200",children:e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx(g,{className:"w-5 h-5 text-teal-600 mt-0.5"}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-semibold text-slate-900",children:"Email us"}),e.jsx("a",{href:"mailto:[email protected]",className:"text-sm text-slate-600 hover:text-teal-600",children:"[email protected]"})]})]})}),e.jsx("a",{href:"https://wa.me/971553021783",target:"_blank",rel:"noopener noreferrer","aria-label":"Chat with us on WhatsApp",className:"group block p-5 rounded-xl bg-emerald-500 hover:bg-emerald-400 text-white transition-colors",children:e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx(f,{className:"w-5 h-5 mt-0.5 shrink-0"}),e.jsxs("div",{className:"flex-1",children:[e.jsx("h3",{className:"font-bold",children:"Chat on WhatsApp"}),e.jsx("p",{className:"text-sm text-white/90",children:"Fastest response — usually within minutes"})]}),e.jsx(x,{className:"w-4 h-4 mt-1 group-hover:translate-x-1 transition-transform"})]})}),e.jsx("a",{href:"tel:+971553021783","aria-label":"Call us",className:"group block p-5 rounded-xl border border-slate-200 hover:border-teal-300 hover:bg-teal-50/50 transition-colors",children:e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx(j,{className:"w-5 h-5 text-teal-600 mt-0.5 shrink-0"}),e.jsxs("div",{className:"flex-1",children:[e.jsx("h3",{className:"font-semibold text-slate-900",children:"Call us"}),e.jsx("p",{className:"text-sm text-slate-600",children:"Sun–Thu, 9:00–18:00 GST"})]}),e.jsx(x,{className:"w-4 h-4 mt-1 text-slate-400 group-hover:translate-x-1 transition-transform"})]})}),e.jsx("div",{className:"p-5 rounded-xl border border-slate-200",children:e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx(y,{className:"w-5 h-5 text-teal-600 mt-0.5"}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-semibold text-slate-900",children:"Visit us"}),e.jsx("p",{className:"text-sm text-slate-600",children:"Dubai, United Arab Emirates"})]})]})}),e.jsxs("div",{className:"p-5 rounded-xl bg-teal-50 border border-teal-100",children:[e.jsx("h3",{className:"font-semibold text-teal-800 mb-1",children:"Office hours"}),e.jsxs("p",{className:"text-sm text-teal-700",children:["Sun–Thu · 9:00 – 18:00 GST",e.jsx("br",{}),"Friday by appointment"]})]}),e.jsxs("div",{className:"rounded-xl overflow-hidden border border-slate-200",children:[e.jsx("iframe",{title:"NetTech Infosys location — Dubai, UAE",src:"https://www.openstreetmap.org/export/embed.html?bbox=55.15%2C25.05%2C55.45%2C25.35&layer=mapnik&marker=25.2048%2C55.2708",width:"100%",height:"200",style:{border:0,display:"block"},loading:"lazy",referrerPolicy:"no-referrer-when-downgrade"}),e.jsxs("div",{className:"px-3 py-2 bg-slate-50 text-xs text-slate-500 text-center",children:["Dubai, United Arab Emirates ·"," ",e.jsx("a",{href:"https://www.openstreetmap.org/?mlat=25.2048&mlon=55.2708#map=12/25.2048/55.2708",target:"_blank",rel:"noopener noreferrer",className:"text-teal-600 hover:underline",children:"Open larger map"})]})]})]}),e.jsx("form",{onSubmit:u,className:"lg:col-span-2 p-7 rounded-xl border border-slate-200 bg-white",children:c?e.jsxs("div",{className:"text-center py-12",children:[e.jsx(N,{className:"w-14 h-14 text-teal-600 mx-auto mb-4"}),e.jsx("h3",{className:"text-xl font-bold text-slate-900 mb-2",children:"Thanks for reaching out!"}),e.jsxs("p",{className:"text-slate-600",children:["Your message has been received. We will reply within one business day. For anything urgent, email us at"," ",e.jsx("a",{href:"mailto:[email protected]",className:"text-teal-600 hover:underline",children:"[email protected]"}),"."]})]}):e.jsxs(e.Fragment,{children:[e.jsx("h2",{className:"text-2xl font-bold text-slate-900 mb-1",children:"Send us a message"}),e.jsx("p",{className:"text-sm text-slate-500 mb-6",children:"Fill out the form and we'll get back within 24 hours."}),h&&e.jsx("div",{className:"mb-4 p-3 rounded-md bg-rose-50 text-rose-700 text-sm border border-rose-200",children:h}),e.jsx("div",{className:"absolute -left-[9999px]","aria-hidden":"true",children:e.jsxs("label",{children:["Website (leave empty)",e.jsx("input",{type:"text",tabIndex:-1,autoComplete:"off",value:t.website,onChange:s=>n(a=>({...a,website:s.target.value}))})]})}),e.jsxs("div",{className:"grid sm:grid-cols-2 gap-4",children:[e.jsx(i,{label:"Your name *",value:t.name,onChange:s=>n(a=>({...a,name:s}))}),e.jsx(i,{label:"Email *",type:"email",value:t.email,onChange:s=>n(a=>({...a,email:s}))}),e.jsx(i,{label:"Phone (optional)",value:t.phone,onChange:s=>n(a=>({...a,phone:s}))}),e.jsxs("div",{children:[e.jsx("label",{className:"block text-sm font-medium text-slate-700 mb-1",children:"Service of interest"}),e.jsxs("select",{value:t.service,onChange:s=>n(a=>({...a,service:s.target.value})),className:"block w-full rounded-md border border-slate-300 px-3 py-2 text-sm focus:border-teal-500 focus:ring-2 focus:ring-teal-100 outline-none bg-white",children:[e.jsx("option",{value:"",children:"Select a service…"}),S.map(s=>e.jsx("option",{value:s,children:s},s))]})]})]}),e.jsx("div",{className:"mt-4",children:e.jsx(i,{label:"Subject (optional)",value:t.subject,onChange:s=>n(a=>({...a,subject:s}))})}),e.jsxs("div",{className:"mt-4",children:[e.jsx("label",{htmlFor:"contact-message",className:"block text-sm font-medium text-slate-700 mb-1",children:"Message *"}),e.jsx("textarea",{id:"contact-message",rows:6,value:t.message,onChange:s=>n(a=>({...a,message:s.target.value})),className:"block w-full rounded-md border border-slate-300 px-3 py-2 text-sm focus:border-teal-500 focus:ring-2 focus:ring-teal-100 outline-none",placeholder:"Tell us about your project, scale, and any deadlines."})]}),e.jsx("button",{type:"submit",disabled:r,className:"mt-5 inline-flex items-center gap-2 bg-teal-600 hover:bg-teal-700 disabled:opacity-60 disabled:cursor-not-allowed text-white font-semibold px-6 py-3 rounded-md",children:r?"Sending…":e.jsxs(e.Fragment,{children:["Send message ",e.jsx(C,{className:"w-4 h-4"})]})})]})})]})})]})}function i({label:t,type:n="text",value:c,onChange:m,className:r=""}){return e.jsxs("div",{className:r,children:[e.jsx("label",{className:"block text-sm font-medium text-slate-700 mb-1",children:t}),e.jsx("input",{type:n,value:c,onChange:l=>m(l.target.value),className:"block w-full rounded-md border border-slate-300 px-3 py-2 text-sm focus:border-teal-500 focus:ring-2 focus:ring-teal-100 outline-none"})]})}
1export{E 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.