PageSourceSearch

https://emek-lod.org.il/assets/routes-sA36FvAh.js

js emek-lod.org.il collected 2026-09-25 11:44:35 UTC 4,199 bytes, 1 lines download raw bytes

1import{g as e,i as t}from"./site-content-i1_-01n5.js";import{c as n,s as r,u as i}from"./index-L8GB9V-l.js";import{n as a,t as o}from"./pro-finder-Dmjt0XTs.js";var s=e();function c({directory:e,site:t,posts:r}){let a=n.id,o=(e,t)=>`var(--${a}-${e}${t?`, ${t}`:``})`,c=o(`ink`,o(`black`,`#111111`)),l=o(`muted`,o(`steel`,c)),u=o(`line`,o(`line-aqua`,o(`lav-soft`,c))),d=o(`white`,o(`bg`,o(`paper`,o(`card`,`#ffffff`)))),f=o(`soft`,o(`bg-soft`,o(`accent-soft`,o(`paper-deep`,o(`lav-soft`,o(`sand`,`transparent`)))))),p=o(`accent`,o(`magenta`,o(`indigo`,o(`bordo`,o(`gold`,o(`cyan`,o(`leaf`,c))))))),m=[p,o(`orange`,o(`purple`,o(`peach-deep`,o(`gold`,o(`blue`,p))))),o(`blue`,o(`mint-deep`,o(`cyan`,o(`accent-dark`,o(`deep`,p)))))],h=`${a}-container`,g=e?.bands??[],_=e=>e&&e.replace(/^\/+|\/+$/g,``).split(`/`).pop()||null;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(`section`,{className:h,style:{paddingBlock:`3.5rem`},children:[(0,s.jsx)(`h1`,{className:`text-4xl font-extrabold leading-[1.1] tracking-[-0.02em] sm:text-5xl lg:text-6xl`,style:{color:c},children:t.name}),t.tagline&&(0,s.jsx)(`p`,{className:`mt-4 max-w-2xl text-lg font-light sm:text-xl`,style:{color:l},children:t.tagline}),e?.intro&&(0,s.jsx)(`p`,{className:`mt-6 max-w-3xl text-base leading-relaxed`,style:{color:l},children:e.intro})]}),g.map((e,t)=>{let n=m[t%m.length],r=_(e.href);return(0,s.jsxs)(`section`,{className:h,style:{paddingBottom:`3rem`},children:[(0,s.jsxs)(`div`,{className:`flex items-baseline justify-between gap-4 border-b-2 pb-3`,style:{borderColor:n},children:[(0,s.jsx)(`h2`,{className:`text-2xl font-extrabold tracking-tight sm:text-3xl`,style:{color:c},children:r?(0,s.jsx)(i,{to:{kind:`category`,slug:r},children:e.name}):e.name}),r&&(0,s.jsx)(i,{to:{kind:`category`,slug:r},className:`shrink-0 text-sm font-medium underline-offset-4 hover:underline`,style:{color:n},children:`לכל המאמרים`})]}),(0,s.jsx)(`ul`,{className:`mt-6 grid grid-cols-2 gap-4 sm:grid-cols-3 lg:grid-cols-4`,children:e.entries.map(e=>(0,s.jsx)(`li`,{children:(0,s.jsxs)(`a`,{href:e.url,target:`_blank`,rel:`noopener`,className:`flex h-full flex-col items-center justify-center gap-3 border p-5 transition-transform duration-150 hover:-translate-y-1`,style:{background:d,borderColor:u},children:[(0,s.jsx)(`img`,{src:e.logo,alt:e.label,loading:`lazy`,className:`h-14 w-full object-contain`,style:{mixBlendMode:`multiply`}}),(0,s.jsx)(`span`,{className:`line-clamp-2 text-center text-xs font-medium`,style:{color:l},children:e.label})]})},e.url))})]},e.name)}),r.length>0&&(0,s.jsxs)(`section`,{className:h,style:{background:f,paddingBlock:`3rem`},children:[(0,s.jsx)(`h2`,{className:`text-2xl font-extrabold tracking-tight sm:text-3xl`,style:{color:c},children:`מאמרים אחרונים`}),(0,s.jsx)(`ul`,{className:`mt-6 grid gap-6 sm:grid-cols-2 lg:grid-cols-3`,children:r.slice(0,6).map(e=>(0,s.jsx)(`li`,{children:(0,s.jsxs)(i,{to:{kind:`post`,slug:e.slug},className:`group block`,children:[e.image&&(0,s.jsx)(`img`,{src:e.image,alt:e.title,loading:`lazy`,className:`aspect-[16/9] w-full object-cover`}),(0,s.jsx)(`h3`,{className:`mt-3 text-base font-bold leading-snug group-hover:underline`,style:{color:c},children:e.title}),e.excerpt&&(0,s.jsx)(`p`,{className:`mt-1.5 line-clamp-2 text-sm`,style:{color:l},children:e.excerpt})]})},e.slug))})]})]})}function l(){let{content:e,home:i,directory:l,pro:u}=r.useLoaderData(),d=u?(0,s.jsx)(o,{}):null;if(l){let n={"@context":`https://schema.org`,"@type":`CollectionPage`,name:t.name,description:t.description,url:`${t.url}/`,inLanguage:`he-IL`};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(c,{directory:l,site:e.site,posts:e.posts}),(0,s.jsx)(`script`,{type:`application/ld+json`,dangerouslySetInnerHTML:{__html:JSON.stringify(n)}})]})}if(i){let n={"@context":`https://schema.org`,"@type":`ProfessionalService`,name:t.name,description:t.description,url:`${t.url}/`,areaServed:`IL`,inLanguage:`he-IL`};return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(a,{home:i,site:e.site,posts:e.posts,finder:d}),(0,s.jsx)(`script`,{type:`application/ld+json`,dangerouslySetInnerHTML:{__html:JSON.stringify(n)}})]})}return(0,s.jsx)(n.Home,{content:e})}export{l 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.