1import{C as e,S as t,_ as n,a as r,b as i,h as a,o,r as s}from"./index-DXxkmUu9.js";var c=t();function l(){let{locale:t}=r.useParams();if(!n.locales.includes(t))throw e();let l=o(t);a(t);let u=s(t),d=n.numberLocale;return(0,c.jsx)(`section`,{className:`border-t border-border`,children:(0,c.jsxs)(`div`,{className:`mx-auto max-w-5xl px-4 py-16 sm:px-6`,children:[(0,c.jsx)(`p`,{className:`text-sm font-semibold uppercase tracking-wider text-accent`,children:l.eyebrow}),(0,c.jsx)(`h1`,{className:`mt-2 font-display text-4xl font-bold sm:text-5xl`,children:l.title}),(0,c.jsx)(`p`,{className:`mt-3 max-w-2xl text-lg text-muted-foreground`,children:l.subtitle}),u.length===0?(0,c.jsx)(`p`,{className:`mt-12 rounded-xl border border-dashed border-border bg-surface p-6 text-center text-sm text-muted-foreground`,children:l.emptyList}):(0,c.jsx)(`ul`,{className:`mt-12 grid gap-6 md:grid-cols-2`,children:u.map(e=>(0,c.jsx)(`li`,{children:(0,c.jsxs)(i,{to:`/$locale/blog/$slug`,params:{locale:t,slug:e.slug},className:`group flex h-full flex-col rounded-2xl border border-border bg-card p-6 shadow-card transition hover:border-accent`,children:[(0,c.jsxs)(`div`,{className:`flex items-center gap-3 text-xs text-muted-foreground`,children:[(0,c.jsx)(`span`,{className:`rounded-full bg-accent/10 px-2.5 py-1 font-semibold uppercase tracking-wider text-accent`,children:e.category}),(0,c.jsx)(`span`,{children:new Date(e.publishedAt).toLocaleDateString(d,{year:`numeric`,month:`short`,day:`numeric`})}),(0,c.jsx)(`span`,{children:`·`}),(0,c.jsxs)(`span`,{children:[e.readingTimeMinutes,` `,l.readingSuffix]})]}),(0,c.jsx)(`h2`,{className:`mt-4 font-display text-xl font-semibold group-hover:text-accent`,children:e.title}),(0,c.jsx)(`p`,{className:`mt-3 text-sm leading-relaxed text-muted-foreground`,children:e.excerpt})]})},e.slug))})]})})}export{l as component};
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.