PageSourceSearch

https://ibvgold-relay.ibvgold.workers.dev/assets/FestiveCampaign-CCLR_U6H.js

js ibvgold-relay.ibvgold.workers.dev collected 2026-10-03 08:09:17 UTC 14,452 bytes, 6 lines download raw bytes

1import{j as e,r as p,S as k,L as v}from"./index-BnW04Gof.js";import{u as S,S as E,b as B}from"./SEOHead-Bqg9biCq.js";import{S as d}from"./skeleton-BFla9QOi.js";import{G}from"./gift-DCj90uSD.js";import{A as j}from"./arrow-right-CgKGvrre.js";import{P as R}from"./phone-Dtm34DFa.js";import{C as A}from"./circle-check-DGss56q9.js";import{C as F}from"./coins-ebMHFnK-.js";const I=["Privé Umhlanga","Gateway","Musgrave","Nelson Mandela Square","Alice Lane","Rosebank","Cape Town"];function V(){const{data:t,isLoading:a}=S({per_page:100});return e.jsxs(E,{children:[e.jsx(B,{title:"Festive Campaign | Exclusive Offers | IBV Gold",description:"Get in touch with IBV Gold to receive exclusive festive season offers on gold, silver and platinum bullion.",keywords:"festive campaign gold, Christmas gold offers, IBV Gold festive, gold deals South Africa",canonicalUrl:"/festive-campaign-sp"}),e.jsxs("main",{children:[e.jsxs("section",{className:"relative bg-[#005765] text-white overflow-hidden",children:[e.jsxs("div",{className:"absolute inset-0",children:[e.jsx("div",{className:"absolute top-0 right-0 w-[500px] h-[500px] bg-[#c9a84c]/10 rounded-full blur-[120px] translate-x-1/4 -translate-y-1/4"}),e.jsx("div",{className:"absolute bottom-0 left-0 w-[400px] h-[400px] bg-[#c9a84c]/8 rounded-full blur-[100px] -translate-x-1/4 translate-y-1/4"})]}),e.jsxs("div",{className:"relative mx-auto max-w-7xl px-4 py-20 sm:py-28 text-center",children:[e.jsxs("div",{className:"inline-flex items-center gap-2 rounded-full bg-white/10 backdrop-blur px-4 py-1.5 text-xs font-medium text-[#c9a84c] mb-6",children:[e.jsx(G,{className:"h-3.5 w-3.5"}),"Get In Touch With Us"]}),e.jsx("h1",{className:"text-4xl sm:text-5xl md:text-6xl font-extrabold tracking-tight leading-[1.1]",children:"Our Festive Promotion is Now On"}),e.jsx("p",{className:"mt-5 text-lg text-white/70 max-w-xl mx-auto",children:"Complete the form below to receive our exclusive festive season offers on gold, silver and platinum bullion."}),e.jsx("div",{className:"mt-8",children:e.jsxs("a",{href:"#festive-form",className:"inline-flex items-center h-12 px-8 rounded-full bg-[#c9a84c] hover:bg-[#b8963f] text-white font-semibold text-base shadow-lg transition-colors",children:["Get Exclusive Offers",e.jsx(j,{className:"w-4 h-4 ml-2"})]})})]})]}),e.jsx(P,{products:t,isLoading:a}),e.jsx("div",{id:"festive-form",children:e.jsx(L,{})}),e.jsx("section",{className:"bg-[#005765] py-16",children:e.jsxs("div",{className:"mx-auto max-w-7xl px-4 text-center",children:[e.jsx("h2",{className:"text-2xl sm:text-3xl font-bold text-white tracking-tight",children:"Don't Miss Out on Exclusive Deals"}),e.jsx("p",{className:"mt-3 text-white/70 max-w-lg mx-auto",children:"Submit your details now and our team will be in touch with personalised offers."}),e.jsxs("div",{className:"mt-8 flex flex-wrap gap-3 justify-center",children:[e.jsxs("a",{href:"#festive-form",className:"inline-flex items-center h-12 px-8 rounded-full bg-[#c9a84c] hover:bg-[#b8963f] text-white font-semibold text-base shadow-lg transition-colors",children:["Get Started",e.jsx(j,{className:"w-4 h-4 ml-2"})]}),e.jsxs("a",{href:"tel:+27824284653",className:"inline-flex items-center h-12 px-7 rounded-full border-2 border-white/25 text-white font-semibold text-base hover:bg-white/10 transition-colors",children:[e.jsx(R,{className:"w-4 h-4 mr-2"}),"Call Us"]})]})]})})]})]})}function L(){const[t,a]=p.useState({firstName:"",surname:"",email:"",phone:"",branch:""}),[c,o]=p.useState(!1),r=s=>{s.preventDefault();const n=`Hi, I'd like to receive festive offers.
2
3Name: ${t.firstName} ${t.surname}
4Email: ${t.email}
5Phone: ${t.phone}
6Branch: ${t.branch}`;window.open(`https://wa.me/27824284653?text=${encodeURIComponent(n)}`,"_blank"),o(!0)};return c?e.jsx("section",{className:"py-20",children:e.jsxs("div",{className:"mx-auto max-w-md text-center px-4",children:[e.jsx("div",{className:"mx-auto flex h-16 w-16 items-center justify-center rounded-full bg-emerald-100 mb-5",children:e.jsx(A,{className:"h-8 w-8 text-emerald-600"})}),e.jsx("h2",{className:"text-2xl font-bold",children:"Thank You!"}),e.jsx("p",{className:"mt-2 text-muted-foreground",children:"We've received your details. Our team will be in touch with exclusive offers."}),e.jsx("button",{onClick:()=>o(!1),className:"mt-6 inline-flex items-center h-11 px-6 rounded-full bg-[#005765] hover:bg-[#004555] text-white font-semibold transition-colors",children:"Submit Again"})]})}):e.jsx("section",{className:"py-20",children:e.jsxs("div",{className:"mx-auto max-w-2xl px-4",children:[e.jsxs("div",{className:"text-center mb-10",children:[e.jsx("p",{className:"text-sm font-semibold text-[#005765] uppercase tracking-widest mb-2",children:"Exclusive Offers"}),e.jsx("h2",{className:"text-3xl sm:text-4xl font-bold tracking-tight",children:"Complete the Form Below"}),e.jsx("p",{className:"mt-3 text-muted-foreground max-w-lg mx-auto",children:"To receive our exclusive festive season offers and promotions."})]}),e.jsx("div",{className:"rounded-3xl bg-white border border-gray-100 shadow-sm p-6 sm:p-10",children:e.jsxs("form",{onSubmit:r,className:"space-y-5",children:[e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-5",children:[e.jsxs("div",{children:[e.jsx("label",{className:"block text-sm font-semibold text-foreground mb-1.5",children:"Full Name *"}),e.jsx("input",{type:"text",required:!0,value:t.firstName,onChange:s=>a({...t,firstName:s.target.value}),className:"w-full rounded-xl border border-gray-200 bg-[#f8fafb] px-4 py-3 text-sm text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-[#005765] focus:border-transparent transition-shadow",placeholder:"Full Name"})]}),e.jsxs("div",{children:[e.jsx("label",{className:"block text-sm font-semibold text-foreground mb-1.5",children:"Surname *"}),e.jsx("input",{type:"text",required:!0,value:t.surname,onChange:s=>a({...t,surname:s.target.value}),className:"w-full rounded-xl border border-gray-200 bg-[#f8fafb] px-4 py-3 text-sm text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-[#005765] focus:border-transparent transition-shadow",placeholder:"Surname"})]})]}),e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-5",children:[e.jsxs("div",{children:[e.jsx("label",{className:"block text-sm font-semibold text-foreground mb-1.5",children:"Email *"}),e.jsx("input",{type:"email",required:!0,value:t.email,onChange:s=>a({...t,email:s.target.value}),className:"w-full rounded-xl border border-gray-200 bg-[#f8fafb] px-4 py-3 text-sm text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-[#005765] focus:border-transparent transition-shadow",placeholder:"[email protected]"})]}),e.jsxs("div",{children:[e.jsx("label",{className:"block text-sm font-semibold text-foreground mb-1.5",children:"Contact Number *"}),e.jsx("input",{type:"tel",required:!0,value:t.phone,onChange:s=>a({...t,phone:s.target.value}),className:"w-full rounded-xl border border-gray-200 bg-[#f8fafb] px-4 py-3 text-sm text-foreground placeholder:text-muted-foreground focus:outline-none focus:ring-2 focus:ring-[#005765] focus:border-transparent transition-shadow",placeholder:"+27 82 428 4653"})]})]}),e.jsxs("div",{children:[e.jsx("label",{className:"block text-sm font-semibold text-foreground mb-1.5",children:"Select Your Branch *"}),e.jsxs("select",{required:!0,value:t.branch,onChange:s=>a({...t,branch:s.target.value}),className:"w-full rounded-xl border border-gray-200 bg-[#f8fafb] px-4 py-3 text-sm text-foreground focus:outline-none focus:ring-2 focus:ring-[#005765] focus:border-transparent transition-shadow",children:[e.jsx("option",{value:"",children:"Select a branch..."}),I.map(s=>e.jsx("option",{value:s,children:s},s))]})]}),e.jsx("div",{className:"pt-2",children:e.jsxs("button",{type:"submit",className:"w-full sm:w-auto inline-flex items-center justify-center h-12 px-10 rounded-full bg-[#005765] hover:bg-[#004555] text-white text-base font-semibold shadow-lg transition-colors",children:[e.jsx(k,{className:"w-4 h-4 mr-2"}),"Submit"]})})]})})]})})}const M=[{match:t=>/silver.*krugerrand/i.test(t)&&/1\s*oz/i.test(t)&&!/set/i.test(t),label:"Silver Krugerrand",tag:null},{match:t=>/gold.*krugerrand/i.test(t)&&/1\s*oz/i.test(t)&&!/1\/\d/i.test(t)&&!/set/i.test(t)&&!/proof/i.test(t),label:"Gold Krugerrand",tag:"HOT SELLING",tagColor:"bg-red-500"},{match:t=>/silver/i.test(t)&&/1\s*oz/i.test(t)&&/bar/i.test(t)&&!/set/i.test(t),label:"Silver 1oz Bar",tag:"NEW LAUNCH",tagColor:"bg-emerald-500"},{match:t=>/(1\/10|⅒)/i.test(t)&&/gold/i.test(t)&&/krugerrand/i.test(t)&&!/set/i.test(t)&&!/proof/i.test(t),label:"1/10 Gold Krugerrand",tag:null},{match:t=>/gold/i.test(t)&&/minted/i.test(t)&&/bar/i.test(t)&&/10\s*g/i.test(t)&&!/set/i.test(t),label:"10g Gold Minted Bar",tag:"BEST SELLER",tagColor:"bg-
6amber-600"}];function P({products:t,isLoading:a}){const c="27824284653",o=M.map(r=>{const s=t==null?void 0:t.find(n=>r.match(n.name));return s?{product:s,tag:r.tag,tagColor:r.tagColor,label:r.label}:null}).filter(Boolean);return a?e.jsx("section",{className:"bg-[#f8fafb] py-14",children:e.jsxs("div",{className:"mx-auto max-w-7xl px-4",children:[e.jsxs("div",{className:"text-center mb-10",children:[e.jsx("p",{className:"text-sm font-semibold text-[#005765] uppercase tracking-widest mb-2",children:"Available In-Store"}),e.jsx("h2",{className:"text-2xl sm:text-3xl font-bold tracking-tight",children:"Best Deals"})]}),e.jsx("div",{className:"grid grid-cols-2 md:grid-cols-5 gap-4",children:[1,2,3,4,5].map(r=>e.jsxs("div",{className:"rounded-2xl bg-white shadow-sm p-4",children:[e.jsx(d,{className:"aspect-square w-full rounded-xl"}),e.jsx(d,{className:"h-4 w-3/4 mt-3"}),e.jsx(d,{className:"h-4 w-1/2 mt-2"}),e.jsx(d,{className:"h-10 w-full mt-4 rounded-full"})]},r))})]})}):o.length?e.jsx("section",{className:"bg-[#f8fafb] py-14",children:e.jsxs("div",{className:"mx-auto max-w-7xl px-4",children:[e.jsxs("div",{className:"text-center mb-10",children:[e.jsxs("div",{className:"inline-flex items-center gap-2 rounded-full bg-[#005765]/10 px-5 py-2 text-[#005765] text-sm font-semibold mb-3",children:[e.jsx(F,{className:"h-4 w-4"}),"Available In-Store"]}),e.jsx("h2",{className:"text-2xl sm:text-3xl font-bold tracking-tight",children:"Best Deals"}),e.jsx("p",{className:"mt-2 text-muted-foreground text-sm max-w-lg mx-auto",children:"Exclusive pricing available by phone only. Call now to lock in your deal before stock runs out."})]}),e.jsx("div",{className:"grid grid-cols-2 md:grid-cols-5 gap-4 sm:gap-6",children:o.map(({product:r,tag:s,tagColor:n,label:w})=>{var u,f,h,g,b;const N=((f=(u=r.images)==null?void 0:u[0])==null?void 0:f.src)||"/placeholder.svg",m=(h=r.attributes)==null?void 0:h.find(i=>i.name.toLowerCase()==="brand"),x=(g=r.categories)==null?void 0:g.find(i=>i.slug!=="uncategorized"&&!["gold","silver","platinum","coins","minted-bars","cast-bars"].includes(i.slug)),y=i=>{const l=i.toLowerCase();return l.includes("krugerrand")&&!/proof|collector|commemorative/i.test(l)?"Rand Refinery":l.includes("krugerrand")?"SA Mint":l.includes("rand refinery")?"Rand Refinery":l.includes("mc minted")||l.includes("mc ")?"MC Minted":l.includes("perth mint")?"Perth Mint":l.includes("royal mint")?"Royal Mint":l.includes("pamp")?"PAMP Suisse":l.includes("valcambi")?"Valcambi":l.includes("heraeus")?"Heraeus":l.includes("umicore")?"Umicore":"IBV Gold"},C=((b=m==null?void 0:m.options)==null?void 0:b[0])||(x==null?void 0:x.name)||y(r.name);return e.jsxs("div",{className:"group rounded-2xl bg-white border border-gray-100 shadow-sm overflow-hidden hover:shadow-md transition-shadow",children:[e.jsxs("div",{className:"relative aspect-square bg-gray-50 overflow-hidden",children:[e.jsx(v,{to:`/product/${r.slug}`,children:e.jsx("img",{src:N,alt:r.name,className:"w-full h-full object-contain p-4 group-hover:scale-105 transition-transform duration-300"})}),s&&e.jsx("span",{className:`absolute top-2 left-2 ${n||"bg-[#c9a84c]"} text-white text-[10px] sm:text-xs font-bold uppercase tracking-wide px-2.5 py-1 rounded-full shadow`,children:s})]}),e.jsxs("div",{className:"p-3 sm:p-4",children:[e.jsx("p",{className:"text-[10px] sm:text-xs text-muted-foreground font-medium uppercase tracking-wider mb-0.5",children:C}),e.jsx(v,{to:`/product/${r.slug}`,children:e.jsx("h3",{className:"font-semibold text-xs sm:text-sm text-foreground leading-tight line-clamp-2 hover:text-[#005765] transition-colors",children:w})}),e.jsxs("div",{className:"mt-3 flex flex-col gap-2",children:[e.jsx("a",{href:"#festive-form",className:"inline-flex items-center justify-center h-9 sm:h-10 px-4 rounded-full bg-[#005765] hover:bg-[#004555] text-white text-xs sm:text-sm font-semibold transition-colors",children:"Enquire Now"}),e.jsxs("a",{href:`https://wa.me/${c}?text=${encodeURIComponent(`Hi, I'm interested in the ${r.name}. Can you provide more details?`)}`,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center justify-center h-9 sm:h-10 px-4 roun
6ded-full bg-[#25D366] hover:bg-[#20bd5a] text-white text-xs sm:text-sm font-semibold transition-colors",children:[e.jsx("svg",{viewBox:"0 0 24 24",fill:"currentColor",className:"w-3.5 h-3.5 mr-1.5 flex-shrink-0",children:e.jsx("path",{d:"M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z"})}),"WhatsApp Us"]})]})]})]},r.id)})})]})}):null}export{V 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.