1import{j as e}from"./components-BSJ9Ko42.js";import{S as d,H as n}from"./Text-IsqV0npG.js";import{G as g}from"./Grid-D8KhQju3.js";import{L as h}from"./Link-CA8WYin7.js";import{I as p}from"./Image-CN42nM31.js";function C({collections:s,title:m="Collections",...t}){var i;if(!(((i=s==null?void 0:s.nodes)==null?void 0:i.length)>0))return null;const r=s.nodes.filter(a=>a.image);return e.jsx(d,{...t,heading:m,children:e.jsx(g,{items:r.length,children:r.map(a=>e.jsx(h,{to:`/collections/${a.handle}`,children:e.jsxs("div",{className:"grid gap-4",children:[e.jsx("div",{className:"card-image bg-primary/5 aspect-[3/2]",children:(a==null?void 0:a.image)&&e.jsx(p,{alt:`Image of ${a.title}`,data:a.image,sizes:"(max-width: 32em) 100vw, 33vw",aspectRatio:"3/2"})}),e.jsx(n,{size:"copy",children:a.title})]})},a.id))})})}export{C as F};
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.