PageSourceSearch

https://photolight.co.il/assets/category._slug-BNg-KfC7.js

js photolight.co.il collected 2026-09-24 20:52:26 UTC 1,936 bytes, 1 lines download raw bytes

1import{t as e}from"./jsx-runtime-CBeXhfNn.js";import{t}from"./link-B_SLAQa7.js";import{t as n}from"./SiteLayout-DRBg799v.js";import{t as r}from"./useSuspenseQuery-Bt3bY61W.js";import{b as i,i as a,r as o,v as s,y as c}from"./index-CNAD-J3N.js";import{t as l}from"./CoverImage-BANaA0IV.js";var u=e();function d(){let{data:e}=r(a(o.useParams().slug)),{category:d,posts:f,total:p}=e;return(0,u.jsx)(n,{children:(0,u.jsxs)(`div`,{className:`mx-auto max-w-7xl px-4 sm:px-6 lg:px-8 pt-8 pb-16`,children:[(0,u.jsxs)(`nav`,{"aria-label":`פירורי לחם`,className:`text-xs text-pl-muted mb-4`,children:[(0,u.jsx)(t,{to:`/`,className:`hover:text-pl-teal`,children:`בית`}),(0,u.jsx)(`span`,{className:`mx-1.5`,children:`›`}),(0,u.jsx)(`span`,{children:s(d.name)})]}),(0,u.jsxs)(`header`,{className:`mb-8`,children:[(0,u.jsx)(`h1`,{className:`text-3xl sm:text-4xl font-black text-pl-ink`,children:s(d.name)}),(0,u.jsxs)(`p`,{className:`mt-2 text-sm text-pl-muted`,children:[p,` כתבות`]}),d.description&&(0,u.jsx)(`p`,{className:`mt-3 text-pl-ink/85 max-w-2xl leading-relaxed`,children:s(d.description)})]}),f.length===0?(0,u.jsx)(`p`,{className:`text-center text-pl-muted py-16`,children:`אין עדיין כתבות בקטגוריה זו.`}):(0,u.jsx)(`div`,{className:`grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-
15`,children:f.map(e=>(0,u.jsxs)(t,{to:`/$slug`,params:{slug:i(e.slug)},className:`pl-card block overflow-hidden rounded-2xl bg-white border border-pl-line`,children:[(0,u.jsx)(`div`,{className:`aspect-[16/11] overflow-hidden bg-pl-bg`,children:(0,u.jsx)(l,{src:e.cover_url,alt:s(e.title),categoryName:d.name})}),(0,u.jsxs)(`div`,{className:`p-4`,children:[(0,u.jsx)(`h2`,{className:`font-bold text-pl-ink leading-snug line-clamp-3 min-h-[4.5rem]`,children:s(e.title)}),(0,u.jsx)(`p`,{className:`mt-2 text-xs text-pl-muted`,children:c(e.published_at)})]})]},e.id))})]})})}export{d 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.