PageSourceSearch

https://qtl.co.il/assets/routes-C0nG1uIj.js

js qtl.co.il collected 2026-10-02 10:19:45 UTC 3,045 bytes, 1 lines download raw bytes

1import{t as e}from"./jsx-runtime-CY_MMzgk.js";import{t}from"./link-C1OQ_wgg.js";import{i as n,r,t as i}from"./content-utils-C1nX7dWz.js";import{a}from"./index-Clujh6wr.js";import{n as o,r as s,t as c}from"./SiteFooter-BI-am7hP.js";import{i as l,r as u}from"./jsonld-CWlnDQSy.js";import{t as d}from"./PostCard-BQhxW5NI.js";var f=e();function p(){let{posts:e,categories:p,categorySections:m}=a.useLoaderData(),[h,...g]=e;return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(o,{categories:p}),(0,f.jsxs)(`main`,{className:`max-w-6xl mx-auto px-4 py-8`,children:[(0,f.jsx)(`h1`,{className:`sr-only`,children:`QTL | הורדת שירים מיוטיוב ומאמרים בנושאי טכנולוגיה`}),(0,f.jsx)(l,{}),h&&(0,f.jsx)(`section`,{className:`mb-10`,children:(0,f.jsxs)(`article`,{className:`group grid md:grid-cols-2 gap-6 bg-white border border-gray-100 rounded-2xl overflow-hidden hover:shadow-lg transition-shadow`,children:[h.coverUrl?(0,f.jsx)(`div`,{className:`aspect-[16/9] md:aspect-auto overflow-hidden bg-gray-100`,children:(0,f.jsx)(`img`,{src:h.coverUrl,alt:i(h.title),className:`w-full h-full object-cover group-hover:scale-[1.02] transition-transform duration-300`})}):(0,f.jsx)(`div`,{className:`aspect-[16/9] md:aspect-auto bg-gradient-to-br from-blue-600 to-blue-800`}),(0,f.jsxs)(`div`,{className:`p-6 flex flex-col justify-center`,children:[h.categoryName&&(0,f.jsx)(`span`,{className:`text-xs font-semibold text-blue-600 uppercase tracking-wide mb-2`,children:i(h.categoryName)}),(0,f.jsx)(`h2`,{className:`text-2xl md:text-3xl font-bold leading-snug text-gray-900 mb-3 group-hover:text-blue-700 transition-colors`,children:i(h.title)}),h.excerpt&&(0,f.jsx)(`p`,{className:`text-gray-500 leading-relaxed text-sm line-clamp-3`,children:n(i(h.excerpt))}),(0,f.jsx)(`a`,{href:`/${r(h.slug)}`,className:`mt-4 inline-flex items-center gap-2 text-sm font-semibold text-blue-700 hover:text-blue-900`,children:`לכתבה המלאה ←`})]})]})}),(0,f.jsxs)(`section`,{children:[(0,f.jsx)(`h2`,{className:`text-lg font-semibold text-gray-700 mb-5 border-r-4 border-blue-600 pr-3`,children:`כתבות אחרונות`}),(0,f.jsx)(`div`,{className:`grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-5`,children:g.map(e=>(0,f.jsx)(d,{post:e},e.id))})]}),m?.filter(e=>!s(e.category)).map(e=>(0,f.jsxs)(`section`,{className:`mt-12`,children:[(0,f.jsxs)(`div`,{className:`flex items-center justify-between mb-5`,children:[(0,f.jsx)(`h2`,{className:`text-lg font-semibold text-gray-700 border-r-4 border-blue-600 pr-3`,children:i(e.category.name)}),(0,f.jsx)(t,{to:`/category/$slug`,params:{slug:r(e.category.slug)},className:`text-sm text-blue-600 hover:text-blue-800 font-medium`,children:`לכל הכתבות ←`})]}),(0,f.jsx)(`div`,{className:`grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-5`,children:e.posts.map(e=>(0,f.jsx)(d,{post:e},e.id))})]},e.category.id)),(0,f.jsx)(`script`,{type:`application/ld+json`,dangerouslySetInnerHTML:{__html:JSON.stringify(u())}})]}),(0,f.jsx)(c,{categories:p})]})}export{p 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.