PageSourceSearch

https://tweeksocial.com/_next/static/chunks/22cf8791db46a557.js

js tweeksocial.com collected 2026-09-24 14:55:33 UTC 2,721 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,1041,e=>{"use strict";var t=e.i(43476),r=e.i(71645),l=e.i(22016);function a({posts:e}){let a=(0,r.useMemo)(()=>["All articles",...Array.from(new Set(e.map(e=>e.category).filter(Boolean))).sort()],[e]),[s,n]=(0,r.useState)("All articles"),i="All articles"===s?e:e.filter(e=>e.category===s);return(0,t.jsxs)(t.Fragment,{children:[a.length>2&&(0,t.jsx)("div",{className:"flex flex-wrap justify-center gap-2 mb-12",children:a.map(e=>(0,t.jsx)("button",{type:"button",onClick:()=>n(e),className:`px-4 py-2 rounded-full text-sm font-medium border transition-all ${s===e?"bg-brand-600 border-brand-600 text-white shadow-[0_6px_16px_-6px_rgba(8,145,178,0.6)]":"bg-white border-ink-200 text-ink-800 hover:border-brand-300 hover:text-brand-700"}`,children:e},e))}),(0,t.jsx)("div",{className:"grid sm:grid-cols-2 lg:grid-cols-3 gap-7",children:i.map(e=>{var r;return(0,t.jsxs)(l.default,{href:e.href,className:"card card-hover overflow-hidden flex flex-col group",children:[e.image&&(0,t.jsx)("div",{className:"aspect-[16/9] overflow-hidden bg-ink-100",children:(0,t.jsx)("img",{src:e.image,alt:e.title,loading:"lazy",className:"w-full h-full object-cover group-hover:scale-[1.04] transition-transform duration-500"})}),(0,t.jsxs)("div",{className:"p-6 flex flex-col flex-grow",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2.5 text-xs",children:[(0,t.jsx)("span",{className:"px-2.5 py-1 rounded-full bg-brand-50 text-brand-700 font-semibold",children:e.category}),(0,t.jsxs)("span",{className:"text-ink-400",children:[e.readingTime," min read"]})]}),(0,t.jsx)("h2",{className:"mt-4 text-lg font-bold text-ink-900 leading-snug group-hover:text-brand-700 transition-colors line-clamp-2",children:e.title}),(0,t.jsx)("p",{className:"mt-3 text-sm text-ink-800 leading-relaxed line-clamp-3 flex-grow",children:e.excerpt}),(0,t.jsxs)("div",{className:"mt-6 pt-5 border-t border-ink-200 flex items-center gap-2.5",children:[e.author&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"w-7 h-7 rounded-full bg-gradient-to-br from-brand-400 to-brand-600 text-white text-[11px] font-bold flex items-center justify-center",children:e.author.charAt(0)}),(0,t.jsx)("span",{className:"text-xs font-medium text-ink-700 truncate",children:e.author})]}),(0,t.jsx)("span",{className:"ml-auto text-xs text-ink-400 shrink-0",children:(r=e.publishedAt)?new Date(r).toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"}):null})]})]})]},e.slug)})}),0===i.length&&(0,t.jsx)("p",{className:"text-center text-ink-500 py-16",children:"No articles in this category yet."})]})}e.s(["default",()=>a])}]);

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.