PageSourceSearch

https://ibvgold-relay.ibvgold.workers.dev/assets/ContactUs-DGCk5wRk.js

js ibvgold-relay.ibvgold.workers.dev collected 2026-10-03 08:08:39 UTC 9,016 bytes, 1 lines download raw bytes

1import{r as d,j as e,S as h}from"./index-BnW04Gof.js";import{S as w,b as S,p as i,B as u}from"./SEOHead-Bqg9biCq.js";import{B as C,b as q}from"./Breadcrumb-BNGj_alz.js";import{I as t}from"./input-C1U8YfMF.js";import{L as l,S as g,a as b,b as p,c as j,d as N,T as B}from"./select-_3zjE4T8.js";import{P as M}from"./phone-Dtm34DFa.js";import{M as T}from"./mail-BfrBVhUA.js";import{C as k}from"./clock-DvugY_kG.js";import"./house-Cb5Cw12Z.js";import"./chevron-right-B4nL1Vc8.js";import"./index-CWt2U_Mi.js";import"./check-5fJ4Yajr.js";const F=["Cape Town","Nelson Mandela Square","Rosebank","Privé Umhlanga","Musgrave","Dubai","Alice Lane","Gateway","Gateway Gold Studio","London"],E=["Buy Krugerrands","Buy Gold Bars","Buy Silver Coins","Buy Silver Bars","Buy Platinum","Sell Gold","Sell Silver","Storage Solutions","Investment Advice","General Enquiry"];function R(){const[a,m]=d.useState({fullName:"",surname:"",email:"",phone:"",branch:"",inquiryType:"",message:""}),[o,c]=d.useState(!1),[y,x]=d.useState(!1),f=async s=>{s.preventDefault(),c(!0),await new Promise(n=>setTimeout(n,1e3)),x(!0),c(!1)},r=(s,n)=>{m(v=>({...v,[s]:n}))};return e.jsxs(w,{children:[e.jsx(S,{title:i.contact.title,description:i.contact.description,keywords:i.contact.keywords,canonicalUrl:"/contact-us"}),e.jsxs("main",{className:"mx-auto max-w-7xl px-4 pb-16",children:[e.jsx("div",{className:"mt-10",children:e.jsx(C,{items:q.contact()})}),e.jsxs("div",{className:"mt-6 sm:mt-8 mb-8 sm:mb-12",children:[e.jsx("h1",{className:"text-2xl sm:text-3xl md:text-4xl font-bold tracking-tight text-gray-900",children:"Get In Touch With IBV Gold"}),e.jsx("p",{className:"mt-3 sm:mt-4 text-base sm:text-lg text-muted-foreground max-w-2xl",children:"Have questions or need assistance? Our team at IBV Gold is here to help. Reach out to us for expert advice on gold, silver, and platinum investments, or for any inquiries about our products and services."})]}),e.jsxs("div",{className:"grid lg:grid-cols-3 gap-8 lg:gap-12",children:[e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-1 gap-4 sm:gap-6",children:[e.jsx("div",{className:"bg-white rounded-xl sm:rounded-2xl p-4 sm:p-6 shadow-lg border border-gray-100 hover:shadow-xl transition-shadow",children:e.jsxs("div",{className:"flex items-start gap-3 sm:gap-4",children:[e.jsx("div",{className:"flex-shrink-0 w-10 h-10 sm:w-12 sm:h-12 bg-brand/10 rounded-lg sm:rounded-xl flex items-center justify-center",children:e.jsx(M,{className:"w-5 h-5 sm:w-6 sm:h-6 text-brand"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-semibold text-gray-900 text-sm sm:text-base",children:"Call Us"}),e.jsx("a",{href:"tel:+27824284653",className:"text-brand font-medium hover:underline text-base sm:text-lg",children:"+27 82 428 4653"}),e.jsx("p",{className:"text-xs sm:text-sm text-muted-foreground mt-1",children:"Mon - Fri, 9am - 5pm SAST"})]})]})}),e.jsx("div",{className:"bg-white rounded-xl sm:rounded-2xl p-4 sm:p-6 shadow-lg border border-gray-100 hover:shadow-xl transition-shadow",children:e.jsxs("div",{className:"flex items-start gap-3 sm:gap-4",children:[e.jsx("div",{className:"flex-shrink-0 w-10 h-10 sm:w-12 sm:h-12 bg-brand/10 rounded-lg sm:rounded-xl flex items-center justify-center",children:e.jsx(T,{className:"w-5 h-5 sm:w-6 sm:h-6 text-brand"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-semibold text-gray-900 text-sm sm:text-base",children:"Email Us"}),e.jsx("a",{href:"mailto:[email protected]",className:"text-brand font-medium hover:underline text-sm sm:text-base break-all",children:"Send an Email"}),e.jsx("p",{className:"text-xs sm:text-sm text-muted-foreground mt-1",children:"We respond within 24 hours"})]})]})}),e.jsx("div",{className:"bg-white rounded-xl sm:rounded-2xl p-4 sm:p-6 shadow-lg border border-gray-100 hover:shadow-xl transition-shadow",children:e.jsxs("div",{className:"flex items-start gap-3 sm:gap-4",children:[e.jsx("div",{className:"flex-shrink-0 w-10 h-10 sm:w-12 sm:h-12 bg-brand/10 rounded-lg sm:rounded-xl flex items-center justify-center",children:e.jsx(k,{className:"w-5 h-5 sm:w-6 sm:h-6 text-brand"})}),e.jsxs("div",{children:[e.jsx("h3",{className:"font-semibold text-gray-900 text-sm sm:text-base",children:"Business Hours"}),e.jsxs("div",{className:"text-xs sm:text-sm text-muted-foreground space-y-0.5 sm:space-y-1",children:[e.jsx("p",{children:"Monday - Friday: 9:00 AM - 5:00 PM"}),e.jsx("p",{children:"Saturday: 9:00 AM - 1:00 PM"}),e.jsx("p",{children:"Sunday: Closed"})]})]})]})})]}),e.jsx("div",{className:"lg:col-span-2",children:e.jsxs("div",{className:"bg-white rounded-xl sm:rounded-2xl p-5 sm:p-8 shadow-xl border border-gray-100",children:[e.jsxs("div",{className:"flex items-center gap-3 mb-6",children:[e.jsx("div",{className:"h-1 w-12 bg-brand rounded-full"}),e.jsx("h2",{className:"text-xl font-semibold text-gray-900",children:"Send Us A Message"})]}),y?e.jsxs("div",{className:"text-center py-12",children:[e.jsx("div",{className:"w-16 h-16 bg-green-100 rounded-full flex items-center justify-center mx-auto mb-4",children:e.jsx(h,{className:"w-8 h-8 text-green-600"})}),e.jsx("h4",{className:"text-xl font-semibold text-gray-900 mb-2",children:"Thank You!"}),e.jsx("p",{className:"text-muted-foreground",children:"Your message has been sent successfully. Our team will get back to you shortly."}),e.jsx(u,{onClick:()=>
1{x(!1),m({fullName:"",surname:"",email:"",phone:"",branch:"",inquiryType:"",message:""})},className:"mt-6 bg-brand hover:bg-brand/90",children:"Send Another Message"})]}):e.jsxs("form",{onSubmit:f,className:"space-y-6",children:[e.jsxs("div",{className:"grid sm:grid-cols-2 gap-6",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsxs(l,{htmlFor:"fullName",className:"text-gray-700",children:["Full Name ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsx(t,{id:"fullName",placeholder:"Enter your first name",value:a.fullName,onChange:s=>r("fullName",s.target.value),required:!0,className:"h-12 border-gray-200 focus:border-brand focus:ring-brand"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(l,{htmlFor:"surname",className:"text-gray-700",children:["Surname ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsx(t,{id:"surname",placeholder:"Enter your surname",value:a.surname,onChange:s=>r("surname",s.target.value),required:!0,className:"h-12 border-gray-200 focus:border-brand focus:ring-brand"})]})]}),e.jsxs("div",{className:"grid sm:grid-cols-2 gap-6",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsxs(l,{htmlFor:"email",className:"text-gray-700",children:["Email Address ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsx(t,{id:"email",type:"email",placeholder:"[email protected]",value:a.email,onChange:s=>r("email",s.target.value),required:!0,className:"h-12 border-gray-200 focus:border-brand focus:ring-brand"})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(l,{htmlFor:"phone",className:"text-gray-700",children:["Contact Number ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsx(t,{id:"phone",type:"tel",placeholder:"+27 XX XXX XXXX",value:a.phone,onChange:s=>r("phone",s.target.value),required:!0,className:"h-12 border-gray-200 focus:border-brand focus:ring-brand"})]})]}),e.jsxs("div",{className:"grid sm:grid-cols-2 gap-6",children:[e.jsxs("div",{className:"space-y-2",children:[e.jsxs(l,{className:"text-gray-700",children:["Select Your Branch ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsxs(g,{value:a.branch,onValueChange:s=>r("branch",s),required:!0,children:[e.jsx(b,{className:"h-12 border-gray-200 focus:border-brand focus:ring-brand",children:e.jsx(p,{placeholder:"Choose a branch"})}),e.jsx(j,{children:F.map(s=>e.jsx(N,{value:s,children:s},s))})]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsxs(l,{className:"text-gray-700",children:["How May We Assist? ",e.jsx("span",{className:"text-red-500",children:"*"})]}),e.jsxs(g,{value:a.inquiryType,onValueChange:s=>r("inquiryType",s),required:!0,children:[e.jsx(b,{className:"h-12 border-gray-200 focus:border-brand focus:ring-brand",children:e.jsx(p,{placeholder:"Select inquiry type"})}),e.jsx(j,{children:E.map(s=>e.jsx(N,{value:s,children:s},s))})]})]})]}),e.jsxs("div",{className:"space-y-2",children:[e.jsx(l,{htmlFor:"message",className:"text-gray-700",children:"Your Message (Optional)"}),e.jsx(B,{id:"message",placeholder:"Tell us more about your inquiry...",value:a.message,onChange:s=>r("message",s.target.value),className:"min-h-[120px] border-gray-200 focus:border-brand focus:ring-brand resize-none"})]}),e.jsx(u,{type:"submit",disabled:o,className:"w-full sm:w-auto h-12 px-8 bg-brand hover:bg-brand/90 text-white font-semibold rounded-lg shadow-lg shadow-brand/25 transition-all hover:shadow-xl hover:shadow-brand/30",children:o?e.jsxs(e.Fragment,{children:[e.jsx("span",{className:"animate-spin mr-2",children:"⏳"}),"Sending..."]}):e.jsxs(e.Fragment,{children:[e.jsx(h,{className:"w-4 h-4 mr-2"}),"Submit Inquiry"]})})]})]})})]})]})]})}export{R 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.