import{j as a,H as l}from"./app-Ajql0Lt4.js";import{T as o,a as m,b as i,c}from"./tabs-bUCXsWTP.js";import{u as d,L as n}from"./layout-B_zVioYG.js";import"./app-B4XVefei.js";import"./index-CS1SDu2T.js";import"./createLucideIcon-B_iAwCmA.js";import"./index-UHLdfeKp.js";import"./sheet-iBbRuLZ4.js";import"./index-em-EQZzp.js";import"./input-B0_NTiRR.js";import"./label-D8DO87nw.js";import"./select-TKsTtRMn.js";import"./index-BXKH1Xq5.js";import"./check-D1N7nvmG.js";function L({product:r}){const{t:e}=d();return a.jsx(a.Fragment,{children:a.jsxs(n,{children:[a.jsx(l,{title:"Our Products"}),a.jsxs("section",{className:"mx-auto flex max-w-screen-2xl flex-col gap-8 px-12 py-8",children:[a.jsx("h1",{className:"font-serif text-5xl font-medium tracking-tight",children:e("pages.product.sections.first.title")}),a.jsxs(o,{defaultValue:"traditional",className:"flex flex-col gap-8",children:[a.jsxs(m,{className:"flex items-center gap-4 bg-transparent",children:[a.jsx(i,{value:"traditional",className:"!h-auto cursor-pointer px-4 py-2 data-[state=active]:bg-primary data-[state=active]:text-white",children:e("pages.product.sections.first.tab1")}),a.jsx(i,{value:"modern",className:"!h-auto cursor-pointer px-4 py-2 data-[state=active]:bg-primary data-[state=active]:text-white",children:e("pages.product.sections.first.tab2")}),a.jsx(i,{value:"abstract",className:"!h-auto cursor-pointer px-4 py-2 data-[state=active]:bg-primary data-[state=active]:text-white",children:e("pages.product.sections.first.tab3")})]}),a.jsx(c,{value:"traditional",children:a.jsx("div",{className:"grid grid-cols-4 gap-6 max-md:grid-cols-3 max-sm:grid-cols-2 max-sm:gap-4",children:r.map((t,s)=>t.type==="traditional"?a.jsx("img",{src:t.image_url,alt:t.title,className:"aspect-video rounded-md object-cover object-center"},s):null)})}),a.jsx(c,{value:"modern",children:a.jsx("div",{className:"grid grid-cols-4 gap-6 max-md:grid-cols-3 max-sm:grid-cols-2 max-sm:gap-4",children:r.map((t,s)=>t.type==="modern"?a.jsx("img",{src:t.image_url,alt:t.title,className:"aspect-video rounded-md object-cover object-center"},s):null)})}),a.jsx(c,{value:"abstract",children:a.jsx("div",{className:"grid grid-cols-4 gap-6 max-md:grid-cols-3 max-sm:grid-cols-2 max-sm:gap-4",children:r.map((t,s)=>t.type==="abstract"?a.jsx("img",{src:t.image_url,alt:t.title,className:"aspect-video rounded-md object-cover object-center"},s):null)})})]})]}),a.jsxs("section",{className:"mx-auto flex max-w-screen-2xl flex-col gap-8 px-12 py-8 max-md:px-8",children:[a.jsxs("div",{className:"flex flex-col gap-2",children:[a.jsx("h2",{className:"font-serif text-3xl font-medium tracking-tight",children:e("pages.product.sections.second.title")}),a.jsx("p",{className:"text-gray-500",children:e("pages.product.sections.second.desc")})]}),a.jsx("div",{className:"grid grid-cols-4 gap-6 max-md:grid-cols-3 max-sm:grid-cols-2 max-sm:gap-4",children:r.map((t,s)=>t.type==="art"?a.jsx("img",{src:t.image_url,alt:t.title,className:"aspect-video rounded-md object-cover object-center"},s):null)})]})]})})}export{L as default};