1import{t as e}from"./jsx-runtime-CY_MMzgk.js";import{t}from"./link-BiWemNqT.js";import{n}from"./index-fAR7bHGQ.js";import{n as r,r as i,t as a}from"./PostCard-Cw9zK6ze.js";var o=e();function s(){let{lead:e,secondary:s,sections:c,mostRead:l}=n.useLoaderData();return(0,o.jsxs)(`div`,{className:`mx-auto max-w-[1400px] px-4 py-6 md:px-6`,children:[e&&(0,o.jsxs)(`section`,{className:`grid gap-6 lg:grid-cols-[1.85fr_1fr]`,children:[(0,o.jsxs)(t,{to:`/$slug`,params:{slug:e.slug},className:`group relative block overflow-hidden rounded-lg bg-navy-deep`,children:[(0,o.jsx)(`div`,{className:`aspect-[16/10] w-full md:aspect-[16/8]`,children:(0,o.jsx)(a,{src:e.cover_image_url,alt:e.title,className:`opacity-80 transition-transform duration-700 group-hover:scale-105`})}),(0,o.jsx)(`div`,{className:`pointer-events-none absolute inset-0 bg-gradient-to-t from-navy-deep via-navy-deep/55 to-transparent`}),(0,o.jsxs)(`div`,{className:`absolute bottom-0 right-0 w-full p-5 md:p-8`,children:[(0,o.jsx)(`span`,{className:`inline-block bg-gold px-2.5 py-1 font-display text-[11px] font-black text-navy-deep`,children:`××ת×× ×××××××`}),(0,o.jsx)(`h1`,{className:`mt-3 font-display text-2xl font-black leading-tight text-primary-foreground decoration-gold decoration-4 underline-offset-8 group-hover:underline md:text-4xl`,children:e.title}),e.excerpt&&(0,o.jsx)(`p`,{className:`mt-3 hidden max-w-2xl text-sm leading-relaxed text-primary-foreground/80 md:block`,children:e.excerpt}),(0,o.jsxs)(`p`,{className:`mt-3 text-xs text-primary-foreground/70`,children:[e.author??`×ער×ת ס×ר××`,` · `,i(e.published_at)]})]})]}),(0,o.jsxs)(`div`,{className:`flex flex-col gap-4`,children:[(0,o.jsx)(`h2`,{className:`border-b-2 border-navy pb-2 font-display text-sm font-black tracking-wide text-navy`,children:`×¢×× ×××תר×ת`}),s.map(e=>(0,o.jsx)(r,{post:e,size:`small`},e.id))]})]}),l.length>0&&(0,o.jsxs)(`section`,{className:`mt-12 rounded-lg bg-navy-deep p-5 md:p-7`,children:[(0,o.jsx)(`h2`,{className:`mb-5 font-display text-lg font-black text-gold`,children:`×× ×§×¨××× ×××תר`}),(0,o.jsx)(`ol`,{className:`grid gap-x-8 gap-y-3 md:grid-cols-2`,children:l.map((e,n)=>(0,o.jsxs)(`li`,{className:`flex items-start gap-3 border-b border-white/10 pb-3`,children:[(0,o.jsx)(`span`,{className:`font-display text-2xl font-black leading-none text-gold/70`,children:n+1}),(0,o.jsx)(t,{to:`/$slug`,params:{slug:e.slug},className:`font-display text-sm font-medium leading-snug text-primary-foreground decoration-gold underline-offset-4 hover:underline md:text-base`,children:e.title})]},e.id))})]}),c.map((e,n)=>(0,o.jsxs)(`section`,{className:`mt-14`,children:[(0,o.jsxs)(`div`,{className:`mb-5 flex flex-wrap items-center justify-between gap-3 border-b-4 border-gold pb-2`,children:[(0,o.jsxs)(`h2`,{className:`font-display text-xl font-black text-navy-deep md:text-2xl`,children:[(0,o.jsx)(`span`,{className:`ms-2 inline-block bg-navy px-2 py-1 text-sm text-primary-foreground`,children:String(n+1).padStart(2,`0`)}),e.name]}),(0,o.jsx)(t,{to:`/$slug`,params:{slug:e.slug},className:`text-sm font-bold text-navy hover:text-gold`,children:`××× ××ת××ת ×ת××× â`})]}),(0,o.jsxs)(`div`,{className:`grid gap-5 md:grid-cols-3`,children:[(0,o.jsx)(`div`,{className:`md:col-span-2 md:row-span-2`,children:(0,o.jsx)(r,{post:e.posts[0],size:`large`,kicker:e.name})}),e.posts.slice(1,3).map(e=>(0,o.jsx)(r,{post:e,size:`small`},e.id)),e.posts.slice(3,6).map(e=>(0,o.jsx)(r,{post:e,size:`text`},e.id))]})]},e.id))]})}export{s 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.