PageSourceSearch

https://hantavirusmap.com/assets/_content.blog.index-D_wZUAvA.js

js hantavirusmap.com collected 2026-10-02 23:21:25 UTC 4,693 bytes, 1 lines download raw bytes

1import{bu as m,aD as d,j as e,L as o,bv as i}from"./main-BZn_dPrE.js";function x(){const{posts:a}=m.useLoaderData(),n={"@context":"https://schema.org","@type":"Blog",name:`${i} Blog`,url:`${d}/blog`,blogPost:a.slice(0,10).map(t=>({"@type":"BlogPosting",headline:t.title,url:`${d}/blog/${t.slug}`,datePublished:t.published_at,image:t.cover_image_url??void 0}))},[r,...s]=a;return e.jsxs("div",{className:"mx-auto max-w-6xl px-4 py-12 md:py-16",children:[e.jsxs("header",{className:"mb-10 max-w-2xl md:mb-14",children:[e.jsxs("div",{className:"mb-3 inline-flex items-center gap-2 rounded-full border border-border bg-muted/40 px-2.5 py-0.5 text-[11px] uppercase tracking-wider text-muted-foreground",children:[e.jsx("span",{className:"h-1.5 w-1.5 rounded-full bg-primary"}),"Editorial"]}),e.jsx("h1",{className:"text-4xl font-bold tracking-tight md:text-5xl",children:"Blog"}),e.jsx("p",{className:"mt-3 text-base text-muted-foreground md:text-lg",children:"Platform updates, methodology notes, and signal analysis from the HantavirusMap team."})]}),a.length===0?e.jsx("div",{className:"rounded-lg border border-dashed border-border bg-muted/20 px-6 py-16 text-center",children:e.jsx("p",{className:"text-sm text-muted-foreground",children:"No posts yet. Check back soon."})}):e.jsxs(e.Fragment,{children:[r&&e.jsx(o,{to:"/blog/$slug",params:{slug:r.slug},className:"group mb-12 block overflow-hidden rounded-xl border border-border bg-card transition-all hover:border-primary/40 hover:shadow-lg md:mb-16",children:e.jsxs("div",{className:"grid md:grid-cols-2",children:[r.cover_image_url?e.jsx("div",{className:"aspect-[16/10] overflow-hidden bg-muted md:aspect-auto md:h-full md:min-h-[280px]",children:e.jsx("img",{src:r.cover_image_url,alt:r.title,className:"h-full w-full object-cover transition-transform duration-500 group-hover:scale-105",loading:"eager"})}):e.jsx("div",{className:"aspect-[16/10] bg-gradient-to-br from-primary/10 via-muted to-card md:aspect-auto md:h-full md:min-h-[280px]"}),e.jsxs("div",{className:"flex flex-col justify-center p-6 md:p-8",children:[e.jsxs("div",{className:"mb-3 flex flex-wrap items-center gap-2 text-[11px] uppercase tracking-wider text-muted-foreground",children:[e.jsx("span",{className:"rounded bg-primary/15 px-1.5 py-0.5 font-medium text-primary",children:"Featured"}),r.published_at&&e.jsx("time",{dateTime:r.published_at,children:new Date(r.published_at).toLocaleDateString(void 0,{year:"numeric",month:"short",day:"numeric"})})]}),e.jsx("h2",{className:"text-2xl font-semibold leading-tight tracking-tight text-foreground transition-colors group-hover:text-primary md:text-3xl",children:r.title}),r.excerpt&&e.jsx("p",{className:"mt-3 line-clamp-3 text-sm leading-relaxed text-muted-foreground md:text-base",children:r.excerpt}),e.jsxs("span",{className:"mt-5 inline-flex items-center gap-1 text-sm font-medium text-primary",children:["Read article",e.jsx("span",{"aria-hidden":!0,className:"transition-transform group-hover:translate-x-0.5",children:"→"})]})]})]})}),s.length>0&&e.jsx("div",{className:"grid gap-x-8 gap-y-10 md:grid-cols-2 lg:grid-cols-3",children:s.map(t=>e.jsx("article",{className:"group",children:e.jsxs(o,{to:"/blog/$slug",params:{slug:t.slug},className:"block",children:[t.cover_image_url?e.jsx("div",{className:"aspect-[16/10] overflow-hidden rounded-lg bg-muted",children:e.jsx("img",{src:t.cover_image_url,alt:t.title,className:"h-full w-full object-cover transition-transform duration-500 group-hover:scale-105",loading:"lazy"})}):e.jsx("div",{className:"aspect-[16/10] rounded-lg bg-gradient-to-br from-muted to-card"}),e.jsxs("div",{className:"mt-4 flex flex-wrap items-center gap-2 text-[11px] uppercase tracking-wider text-muted-foreground",children:[t.published_at&&e.jsx("time",{dateTime:t.published_at,children:new Date(t.published_at).toLocaleDateString(void 0,{year:"numeric",month:"short",day:"numeric"})}),t.tags?.slice(0,1).map(l=>e.jsx("span",{className:"rounded bg-muted px-1.5 py-0.5 normal-case tracking-normal",children:l},l)),t.sponsored&&e.jsx("span",{className:"rounded bg-amber-500/15 px-1.5 py-0.5 normal-case tracking-normal text-amber-400",children:"Sponsored"})]}),e.jsx("h2",{className:"mt-2 text-lg font-semibold leading-snug tracking-tight text-foreground transition-colors group-hover:text-primary",children:t.title}),t.excerpt&&e.jsx("p",{className:"mt-1.5 line-clamp-2 text-sm leading-relaxed text-muted-foreground",children:t.excerpt})]})},t.id))})]}),e.jsx("link",{rel:"alternate",type:"application/rss+xml",title:`${i} Blog RSS`,href:"/blog/rss.xml"}),e.jsx("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(n)}})]})}export{x 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.