import{o as e}from"./useStore-B9WcefOa.js";import{t}from"./link-CSxX31-N.js";import{i as n}from"./index-VYIssuI_.js";import{i as r,n as i,r as a,t as o}from"./Layout-uiA8q21U.js";var s=e();function c(){return(0,s.jsx)(r,{children:(0,s.jsxs)(o,{children:[(0,s.jsx)(i,{children:`Categories of our catalog`}),(0,s.jsx)(a,{children:(0,s.jsx)(`p`,{children:`Below is a comprehensive list of all product categories at Art Source International.`})}),(0,s.jsx)(`div`,{className:`mt-10 grid grid-cols-2 gap-6 sm:grid-cols-3 lg:grid-cols-5`,children:n.map(e=>{let n=e.path.replace(`/product-category/`,``).split(`/`),r=n[0]??``,i=n[1]??`all`;return(0,s.jsxs)(t,{to:`/product-category/$category/$subcategory`,params:{category:r,subcategory:i},className:`group border border-border bg-card p-3 text-center shadow-sm transition-shadow hover:shadow-md`,children:[(0,s.jsx)(`div`,{className:`flex h-44 items-center justify-center overflow-hidden`,children:(0,s.jsx)(`img`,{src:e.image,alt:e.name,loading:`lazy`,className:`max-h-44 w-auto object-contain transition-transform duration-300 group-hover:scale-105`})}),(0,s.jsxs)(`p`,{className:`mt-3 font-display text-[17px] leading-tight text-maroon`,children:[e.name,` (`,e.count,`)`]})]},e.path)})})]})})}export{c as component};