1import{n as e}from"./IconBase.es-DEPGDkbK.js";import{t}from"./router-compat-8dnwZbIA.js";import{t as n}from"./Clock.es-8VOdb1b9.js";import{t as r}from"./format-N0BmBJKq.js";import{P as i}from"./index-BMxq7m39.js";var a=e(),o=({article:e})=>(0,a.jsxs)(t,{to:`/blog/${e.slug}`,className:`group block bg-card border border-border rounded-xl overflow-hidden shadow-sm hover:shadow-md transition-all`,children:[e.featured_image&&(0,a.jsx)(`div`,{className:`aspect-video overflow-hidden`,children:(0,a.jsx)(`img`,{src:e.featured_image,alt:e.excerpt||e.title,width:640,height:360,className:`w-full h-full object-cover group-hover:scale-105 transition-transform duration-300`,loading:`lazy`})}),(0,a.jsxs)(`div`,{className:`p-5 space-y-3`,children:[e.blog_categories&&(0,a.jsx)(i,{variant:`secondary`,className:`text-xs rounded-full`,children:e.blog_categories.name}),(0,a.jsx)(`h3`,{className:`text-lg font-semibold text-foreground group-hover:text-primary transition-colors line-clamp-2`,children:e.title}),e.excerpt&&(0,a.jsx)(`p`,{className:`text-sm text-muted-foreground line-clamp-2`,children:e.excerpt}),(0,a.jsxs)(`div`,{className:`flex items-center gap-4 text-xs text-muted-foreground pt-1`,children:[e.blog_authors&&(0,a.jsxs)(`div`,{className:`flex items-center gap-1.5`,children:[e.blog_authors.avatar?(0,a.jsx)(`img`,{loading:`lazy`,decoding:`async`,src:e.blog_authors.avatar,alt:e.blog_authors.name,className:`w-5 h-5 rounded-full object-cover`}):(0,a.jsx)(`div`,{className:`w-5 h-5 rounded-full bg-muted flex items-center justify-center text-micro font-medium`,children:e.blog_authors.name[0]}),(0,a.jsx)(`span`,{children:e.blog_authors.name})]}),e.published_at&&(0,a.jsx)(`span`,{children:r(new Date(e.published_at),`MMM d, yyyy`)}),e.read_time&&(0,a.jsxs)(`span`,{className:`flex items-center gap-1`,children:[(0,a.jsx)(n,{size:12}),e.read_time,` min`]})]})]})]});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.