1import{C as e,_ as t}from"./cartStore-D1QoxTDy.js";import{i as n,o as r}from"./blocks-CITUkii-.js";import{r as i}from"./Media-D0-4QDEy.js";var a=e();function o({title:e,intro:o,heading:s,posts:c,basePath:l}){return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(n,{title:e,intro:o}),(0,a.jsxs)(r,{children:[(0,a.jsx)(`h2`,{className:`text-h2 font-bold text-cocoa-700`,children:s}),c.length===0?(0,a.jsx)(`p`,{className:`mt-4 max-w-2xl text-body text-cocoa-700`,children:`New pieces are on their way. Check back soon.`}):(0,a.jsx)(`ul`,{className:`mt-8 grid gap-6 sm:grid-cols-2 lg:grid-cols-3`,children:c.map(e=>(0,a.jsx)(`li`,{className:`h-full`,children:(0,a.jsxs)(`article`,{className:`flex h-full flex-col gap-4 rounded-card border border-greyline bg-blush p-5 transition-shadow hover:shadow-soft motion-reduce:transition-none`,children:[e.heroImage&&(0,a.jsx)(i,{src:e.heroImage,alt:e.heroAlt??e.title,ratio:`16/9`,radius:`card`}),(e.date||e.outlet)&&(0,a.jsx)(`p`,{className:`text-small text-cocoa-600`,children:[e.date,e.outlet].filter(Boolean).join(` · `)}),(0,a.jsx)(`h3`,{className:`font-display text-h3 font-light text-cocoa-800`,children:(0,a.jsx)(t,{to:`${l}/$slug`,params:{slug:e.slug},className:`hover:text-cocoa-700 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-cocoa-700`,children:e.title})}),e.excerpt&&(0,a.jsx)(`p`,{className:`text-body text-cocoa-700`,children:e.excerpt}),(0,a.jsx)(`div`,{className:`mt-auto pt-2`,children:(0,a.jsx)(t,{to:`${l}/$slug`,params:{slug:e.slug},className:`inline-flex min-h-11 items-center text-body text-cocoa-700 underline underline-offset-4 hover:text-cocoa-800 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-cocoa-700`,children:`Read more`})})]})},e.slug))})]})]})}export{o as t};
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.