import{j as e}from"./vendor-ui-IWYi6_eL.js";import{s as i,d as x,A as o,H as c,b3 as m,aV as d,ar as g,aw as p,aj as u}from"./index-3Wkihuhx.js";import{u as h}from"./vendor-query-D-GDUyjB.js";import"./vendor-react-CzhYoCoQ.js";import"./vendor-supabase-mlCB8eTY.js";const N=()=>{const{data:t,isLoading:a}=i("our-customers");x(a);const{data:n=[]}=h({queryKey:["client-logos"],staleTime:1e3*60*10,queryFn:async()=>{const{data:r,error:s}=await u.from("client_logos").select("*").eq("is_active",!0).order("sort_order");if(s)throw s;return r}});return e.jsxs(o,{children:[e.jsxs(c,{children:[e.jsx("title",{children:(t==null?void 0:t.meta_title)||"আমাদের কাস্টমার | Sun Printing & Packaging"}),e.jsx("meta",{name:"description",content:(t==null?void 0:t.meta_description)||"আমাদের বিশ্বস্ত কাস্টমারদের তালিকা দেখুন।"}),(t==null?void 0:t.meta_keywords)&&e.jsx("meta",{name:"keywords",content:t.meta_keywords}),e.jsx("meta",{property:"og:title",content:(t==null?void 0:t.og_title)||"আমাদের কাস্টমার | Sun Printing & Packaging"}),e.jsx("meta",{property:"og:description",content:(t==null?void 0:t.og_description)||"আমাদের বিশ্বস্ত কাস্টমারদের তালিকা।"}),e.jsx("meta",{property:"og:url",content:"https://printingsun.com/our-customers"}),e.jsx("meta",{property:"og:type",content:"website"}),(t==null?void 0:t.og_image)&&e.jsx("meta",{property:"og:image",content:t.og_image}),e.jsx("link",{rel:"canonical",href:(t==null?void 0:t.canonical_url)||"https://printingsun.com/our-customers"})]}),e.jsxs("div",{className:"min-h-screen bg-background",children:[e.jsxs("div",{className:"relative bg-cover bg-center bg-no-repeat",style:{backgroundImage:"url('/images/customers-hero-banner.jpg')"},children:[e.jsx("div",{className:"absolute inset-0 bg-black/60"}),e.jsx("div",{className:"relative z-10 py-16 lg:py-28 text-center",children:e.jsxs("div",{className:"max-w-lg lg:max-w-[1400px] mx-auto px-4 lg:px-8",children:[e.jsx("h1",{className:"text-3xl lg:text-5xl font-bold text-white mb-4",children:"আমাদের বিশ্বস্ত কাস্টমার"}),e.jsx("p",{className:"text-white/80 text-sm lg:text-lg max-w-2xl mx-auto",children:"Sun Printing & Packaging দেশের বিভিন্ন প্রতিষ্ঠানের বিশ্বস্ত প্রিন্টিং পার্টনার। আমরা গর্বিত যে এত প্রতিষ্ঠান আমাদের উপর আস্থা রেখে তাদের প্রিন্টিং ও প্যাকেজিং সলিউশন নিচ্ছে।"})]})})]}),n.length>0&&e.jsx("section",{className:"py-10 lg:py-16",children:e.jsxs("div",{className:"max-w-lg lg:max-w-[1200px] mx-auto px-4 lg:px-8",children:[e.jsx("h2",{className:"text-xl lg:text-3xl font-bold text-foreground mb-3 text-center",children:"যারা আমাদের সেবা নিয়েছে"}),e.jsx("p",{className:"text-sm lg:text-base text-muted-foreground text-center mb-8 max-w-xl mx-auto",children:"আমাদের সম্মানিত কাস্টমারদের একটি তালিকা যারা নিয়মিত আমাদের প্রিন্টিং সেবা গ্রহণ করছে বা করেছিল"}),e.jsx("div",{className:"grid grid-cols-2 sm:grid-cols-2 lg:grid-cols-4 gap-5 lg:gap-6",children:n.map(r=>{const s=r.website_url?"a":"div",l=r.website_url?{href:m(r.website_url)||"#",target:"_blank",rel:"noopener noreferrer"}:{};return e.jsxs(s,{...l,className:"bg-card border-2 border-border rounded-xl p-6 lg:p-8 flex flex-col items-center gap-3 hover:shadow-lg hover:border-primary/30 transition-all duration-300",children:[e.jsx("div",{className:"flex-1 flex items-center justify-center w-full min-h-[120px] lg:min-h-[160px]",children:e.jsx("img",{src:r.logo_url,alt:r.name,className:"max-h-[120px] lg:max-h-[160px] max-w-[85%] object-contain",loading:"lazy"})}),e.jsx("span",{className:"text-xs lg:text-sm text-foreground font-semibold text-center line-clamp-2 leading-tight",children:r.name}),r.description&&e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"w-full border-t border-border"}),e.jsx("p",{className:"text-[11px] lg:text-xs text-muted-foreground text-center leading-relaxed",children:r.description})]})]},r.id)})})]})}),n.length===0&&e.jsxs("div",{className:"py-24 text-center",children:[e.jsx(d,{className:"w-14 h-14 text-muted-foreground/30 mx-auto mb-4"}),e.jsx("p",{className:"text-muted-foreground text-lg",children:"শীঘ্রই আমাদের কাস্টমারদের তথ্য যোগ করা হবে।"})]}),e.jsx("section",{className:"py-10 lg:py-14 bg-muted/50",children:e.jsxs("div",{className:"max-w-lg lg:max-w-xl mx-auto px-4 text-center",children:[e.jsx("h3",{className:"text-xl lg:text-2xl font-bold text-foreground mb-3",children:"আপনিও আমাদের কাস্টমার হতে চান?"}),e.jsx("p",{className:"text-sm text-muted-foreground mb-5",children:"WhatsApp এ মেসেজ করুন এবং আপনার প্রিন্টিং অর্ডার দিন"}),e.jsxs("a",{href:"https://wa.me/8801349241386?text="+encodeURIComponent("হ্যালো, আমি অর্ডার করতে চাই।"),target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center gap-2 bg-[#25D366] text-white px-6 py-3 rounded-xl font-semibold hover:bg-[#1da851] transition-colors",children:[e.jsx(g,{size:20}),"WhatsApp এ অর্ডার করুন",e.jsx(p,{className:"w-4 h-4"})]})]})})]})]})};export{N as default};