1import{t as e}from"./jsx-runtime-DGeXAQPT.js";import{t}from"./link-DLBbFq1X.js";import{t as n}from"./useSuspenseQuery-BuklycJm.js";import{c as r,l as i,s as a}from"./index-CYVrpNe8.js";import{t as o}from"./PostCard-B-DyPmzy.js";var s=e();function c(){let{data:e}=n(r),{data:c}=n(i),{data:l}=n(a),[u,...d]=e,f=d.slice(0,6),p=d.slice(6,12);return(0,s.jsxs)(`div`,{children:[(0,s.jsx)(`section`,{className:`relative overflow-hidden`,style:{background:`var(--gradient-hero)`},children:(0,s.jsxs)(`div`,{className:`mx-auto grid max-w-6xl gap-8 px-4 py-14 md:grid-cols-[1.1fr_1fr] md:items-center md:py-20`,children:[(0,s.jsxs)(`div`,{className:`text-[color:var(--ink)]`,children:[(0,s.jsx)(`p`,{className:`mb-3 text-sm font-semibold uppercase tracking-[0.2em] text-[color:var(--terracotta-deep)]`,children:`×××× â¢ ×©×××× â¢ ×¡×פ×ר`}),(0,s.jsxs)(`h1`,{className:`font-display text-4xl leading-tight md:text-6xl`,children:[`××ש××× `,(0,s.jsx)(`span`,{className:`text-[color:var(--terracotta-deep)]`,children:`×¢× ×ר××`})]}),(0,s.jsx)(`p`,{className:`mt-4 max-w-md text-base leading-relaxed text-[color:var(--ink)]/85 md:text-lg`,children:`×ת××× ×× ××××, ××פ×× ××ר×××ת ×× ×רע××× ×ת ש××××ר×× ×ת ×××¢× ×©× ××ת â ×××××× ×©× ×ר×× ×××××.`}),(0,s.jsxs)(`div`,{className:`mt-6 flex flex-wrap gap-3`,children:[(0,s.jsx)(t,{to:`/recipes/`,className:`rounded-full bg-[color:var(--terracotta-deep)] px-5 py-2.5 text-sm font-semibold text-white shadow-[var(--shadow-warm)] hover:bg-[color:var(--terracotta)]`,children:`××× ××ת××× ××`}),(0,s.jsx)(t,{to:`/blog/`,className:`rounded-full border border-[color:var(--ink)]/25 bg-white/50 px-5 py-2.5 text-sm font-semibold text-[color:var(--ink)] hover:bg-white`,children:`×××××`})]})]}),u?(0,s.jsx)(`div`,{className:`md:pi-4`,children:(0,s.jsx)(o,{post:u,variant:`feature`})}):null]})}),l.length?(0,s.jsx)(`section`,{className:`mx-auto max-w-6xl px-4 pt-10`,children:(0,s.jsxs)(`div`,{className:`flex flex-wrap items-center gap-2`,children:[(0,s.jsx)(`span`,{className:`text-sm font-semibold text-muted-foreground`,children:`××× ××¤× ×§×××ר××:`}),l.map(e=>(0,s.jsxs)(t,{to:`/category/$slug/`,params:{slug:e.slug},className:`rounded-full border border-border bg-white px-3.5 py-1.5 text-sm text-foreground hover:border-primary hover:text-primary`,children:[e.name,(0,s.jsx)(`span`,{className:`ms-1.5 text-xs text-muted-foreground`,children:e.count})]},e.id))]})}):null,c.length?(0,s.jsxs)(`section`,{className:`mx-auto max-w-6xl px-4 pt-14`,children:[(0,s.jsxs)(`div`,{className:`mb-6 flex items-end justify-between`,children:[(0,s.jsxs)(`div`,{children:[(0,s.jsx)(`p`,{className:`text-xs font-semibold uppercase tracking-widest text-primary`,children:`×ת××× ××`}),(0,s.jsx)(`h2`,{className:`font-display text-3xl text-foreground`,children:`×שר ×××ª× ×ר`})]}),(0,s.jsx)(t,{to:`/recipes/`,className:`text-sm font-semibold text-primary hover:underline`,children:`×× ××ת××× ×× â`})]}),(0,s.jsx)(`div`,{className:`grid gap-6 sm:grid-cols-2 lg:grid-cols-3`,children:c.map(e=>(0,s.jsx)(o,{post:e},e.id))})]}):null,f.length?(0,s.jsxs)(`section`,{className:`mx-auto max-w-6xl px-4 pt-16`,children:[(0,s.jsxs)(`div`,{className:`mb-6`,children:[(0,s.jsx)(`p`,{className:`text-xs font-semibold uppercase tracking-widest text-primary`,children:`××ש ×××××`}),(0,s.jsx)(`h2`,{className:`font-display text-3xl text-foreground`,children:`קר××× ××× ×¢× ×ש××××`})]}),(0,s.jsx)(`div`,{className:`grid gap-6 sm:grid-cols-2 lg:grid-cols-3`,children:f.map(e=>(0,s.jsx)(o,{post:e},e.id))})]}):null,p.length?(0,s.jsxs)(`section`,{className:`mx-auto max-w-6xl px-4 pt-12`,children:[(0,s.jsx)(`div`,{className:`grid gap-4 md:grid-cols-2`,children:p.map(e=>(0,s.jsx)(o,{post:e,variant:`compact`},e.id))}),(0,s.jsx)(`div`,{className:`mt-8 text-center`,children:(0,s.jsx)(t,{to:`/blog/`,className:`inline-block rounded-full border border-primary/40 px-6 py-2.5 text-sm font-semibold text-primary hover:bg-primary hover:text-primary-foreground`,children:`×¢×× ×¤×ס××× â`})})]}):null]})}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.