1import{t as e}from"./jsx-runtime-DGeXAQPT.js";import{m as t,n,t as r}from"./site-footer-V4iepM0O.js";import{H as i,b as a,l as o}from"./index-DBd5aPPm.js";var s=e();function c(){let{data:e}=t(o),{data:c}=t(a);return(0,s.jsxs)(`div`,{children:[(0,s.jsx)(n,{menu:c.content.menu}),(0,s.jsx)(`main`,{className:`bg-surface pb-24 pt-36`,children:(0,s.jsxs)(`div`,{className:`shell`,children:[(0,s.jsx)(`p`,{className:`eyebrow text-primary`,children:`Insights`}),(0,s.jsx)(`h1`,{className:`display-lg mt-4 max-w-3xl`,children:`The AgriNext Blog`}),(0,s.jsx)(`div`,{className:`mt-12 grid gap-6 md:grid-cols-2 lg:grid-cols-3`,children:e.map(e=>(0,s.jsxs)(i,{to:`/$slug`,params:{slug:e.slug},className:`card-elevated group flex flex-col overflow-hidden`,children:[e.featured_image?(0,s.jsx)(`img`,{src:e.featured_image,alt:e.title,loading:`lazy`,className:`h-44 w-full object-cover`}):null,(0,s.jsxs)(`div`,{className:`flex flex-1 flex-col p-6`,children:[(0,s.jsx)(`span`,{className:`eyebrow text-muted-foreground`,children:new Date(e.published_at).toLocaleDateString(`en-GB`,{day:`numeric`,month:`short`,year:`numeric`,timeZone:`UTC`})}),(0,s.jsx)(`h2`,{className:`mt-2 font-display text-lg font-bold leading-tight group-hover:text-primary`,children:e.title}),e.excerpt?(0,s.jsx)(`p`,{className:`mt-2 line-clamp-3 text-sm text-muted-foreground`,children:e.excerpt}):null,(0,s.jsx)(`span`,{className:`mt-auto pt-4 text-sm font-semibold text-primary`,children:`Read article â`})]})]},e.slug))})]})}),(0,s.jsx)(r,{content:c.content.footer,logoUrl:c.content.menu.logoUrl})]})}export{c 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.