PageSourceSearch

https://deemwar.com/assets/Insights-CxhhIRqM.js

js deemwar.com collected 2026-10-02 01:27:09 UTC 4,938 bytes, 1 lines download raw bytes

1import{j as e}from"./markdown-CMW6EB7-.js";import{r as c}from"./helmet-CMSyB68m.js";import{L as l}from"./router-CFY-GuIw.js";import{p as i,c as f}from"./insightsPosts-Chj_OLuW.js";import{S as b}from"./SEO-BXYH2s3Q.js";import{w as o,v as d,k as x}from"./icons-Ca3AKjTN.js";const h="Engineering notes from real work — production AI, backend plumbing, ops, and quant research. Code in context, corrections published when we're wrong, no sales pitch.",j={"@context":"https://schema.org","@type":"CollectionPage",name:"Insights — Deemwar",url:"https://deemwar.com/insights",description:h,mainEntity:{"@type":"Blog",name:"Deemwar Insights",url:"https://deemwar.com/insights"}},n="All",m=s=>{try{return new Date(s).toLocaleDateString(void 0,{year:"numeric",month:"short",day:"numeric"})}catch{return s}},S=()=>{const[s,g]=c.useState(n),a=c.useMemo(()=>s===n?i:i.filter(t=>t.category===s),[s]),r=s===n?a[0]:null,p=r?a.slice(1):a,u=t=>{g(t)};return e.jsxs("main",{className:"min-h-screen pt-20",children:[e.jsx(b,{title:"Insights",description:h,path:"/insights",jsonLd:j}),e.jsx("section",{className:"py-20 px-4",children:e.jsxs("div",{className:"container-deemwar max-w-4xl text-center",children:[e.jsx("h1",{className:"text-4xl md:text-5xl font-bold text-light-text dark:text-dark-text mb-6",children:"Insights"}),e.jsx("p",{className:"text-lg text-light-text-secondary dark:text-dark-text-secondary max-w-2xl mx-auto",children:"Engineering notes from real work — production AI, backend plumbing, ops, and quant research. Code in context, corrections published when we're wrong, no sales pitch."})]})}),e.jsx("section",{className:"px-4",children:e.jsx("div",{className:"container-deemwar max-w-5xl",children:e.jsx("div",{className:"flex flex-wrap gap-2 justify-center mb-12",children:[n,...f].map(t=>e.jsx("button",{onClick:()=>u(t),className:`px-4 py-2 rounded-full text-sm font-medium transition-colors ${t===s?"bg-accent text-white":"bg-white dark:bg-gray-900 border border-light-border dark:border-dark-border text-light-text-secondary dark:text-dark-text-secondary hover:border-accent hover:text-accent"}`,children:t},t))})})}),e.jsx("section",{className:"px-4 pb-20",children:e.jsx("div",{className:"container-deemwar max-w-5xl",children:a.length===0?e.jsxs("p",{className:"text-center text-light-text-secondary dark:text-dark-text-secondary py-16",children:['No posts under "',s,'" yet.']}):e.jsxs(e.Fragment,{children:[r&&e.jsxs(l,{to:`/insights/${r.slug}`,className:"group flex flex-col p-8 mb-8 rounded-2xl border border-accent/30 bg-accent/5 hover:border-accent transition-colors",children:[e.jsxs("div",{className:"flex items-center gap-3 text-xs text-light-text-secondary dark:text-dark-text-secondary mb-3 flex-wrap",children:[e.jsx("span",{className:"px-2 py-0.5 rounded-full bg-accent text-white font-medium",children:"Latest"}),e.jsxs("span",{className:"inline-flex items-center gap-1",children:[e.jsx(o,{className:"w-4 h-4"}),m(r.date)]}),e.jsxs("span",{className:"inline-flex items-center gap-1",children:[e.jsx(d,{className:"w-4 h-4"}),r.readingTime]}),e.jsx("span",{className:"px-2 py-0.5 rounded-full bg-accent/10 text-accent font-medium",children:r.category})]}),e.jsx("h2",{className:"text-2xl md:text-3xl font-bold text-light-text dark:text-dark-text mb-3 group-hover:text-accent transition-colors",children:r.title}),e.jsx("p",{className:"text-base text-light-text-secondary dark:text-dark-text-secondary leading-relaxed max-w-3xl",children:r.excerpt}),e.jsxs("div",{className:"mt-4 inline-flex items-center gap-2 text-sm font-medium text-accent group-hover:gap-3 transition-all",children:["Read",e.jsx(x,{className:"w-4 h-4"})]})]}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 gap-6",children:p.map(t=>e.jsxs(l,{to:`/insights/${t.slug}`,className:"group flex flex-col p-6 rounded-2xl border border-light-border dark:border-dark-border bg-white dark:bg-gray-900 hover:border-accent transition-colors h-full",children:[e.jsxs("div",{className:"flex items-center gap-3 text-xs text-light-text-secondary dark:text-dark-text-secondary mb-3 flex-wrap",children:[e.jsxs("span",{className:"inline-flex items-center gap-1",children:[e.jsx(o,{className:"w-4 h-4"}),m(t.date)]}),e.jsxs("span",{className:"inline-flex items-center gap-1",children:[e.jsx(d,{className:"w-4 h-4"}),t.readingTime]}),e.jsx("span",{className:"px-2 py-0.5 rounded-full bg-accent/10 text-accent font-medium",children:t.category})]}),e.jsx("h2",{className:"text-xl font-semibold text-light-text dark:text-dark-text mb-3 group-hover:text-accent transition-colors",children:t.title}),e.jsx("p",{className:"text-sm text-light-text-secondary dark:text-dark-text-secondary leading-relaxed flex-1",children:t.excerpt}),e.jsxs("div",{className:"mt-4 inline-flex items-center gap-2 text-sm font-medium text-accent group-hover:gap-3 transition-all",children:["Read",e.jsx(x,{className:"w-4 h-4"})]})]},t.slug))})]})})})]})};export{S as default};

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.