1import{r as l,j as e}from"./framer-motion-36TZcv1S.js";import{p as n,f as c}from"./blogData-Cihpd8gN.js";import{u as x,H as i,B as m}from"./index-D1j7DId9.js";import p from"./Footer-Bvxge2fF.js";import{C as g,a as u}from"./card-Clg7aS_l.js";import{I as h}from"./input-BMzDWVt4.js";function v(){const s=x(),[r,d]=l.useState("");l.useEffect(()=>{document.title="Blog | EOS One"},[]);const o=n.filter(t=>t.title.toLowerCase().includes(r.toLowerCase())||t.excerpt.toLowerCase().includes(r.toLowerCase())).sort((t,a)=>new Date(a.date)-new Date(t.date));return e.jsxs("div",{className:"min-h-screen bg-background",children:[e.jsx(i,{}),e.jsx("section",{className:"bg-secondary py-16 md:py-24 lg:py-28",children:e.jsx("div",{className:"container mx-auto px-4 lg:px-8",children:e.jsxs("div",{className:"max-w-[820px] mx-auto text-center",children:[e.jsx("p",{className:"text-primary font-bold text-sm tracking-[0.12em] uppercase mb-5",children:"Insights & Updates"}),e.jsx("h1",{className:"text-secondary-foreground mb-6",children:"The EOS ONE Blog"}),e.jsx("p",{className:"text-secondary-foreground/80 text-lg md:text-xl leading-relaxed mb-9 max-w-[680px] mx-auto",children:"Tech-forward insights from EOS for a richer software experience."}),e.jsx("div",{className:"max-w-md mx-auto",children:e.jsx(h,{type:"text",placeholder:"Search articles...",value:r,onChange:t=>d(t.target.value),className:"h-12 rounded-[12px] bg-background border-secondary-foreground/20 text-foreground placeholder:text-muted-foreground"})})]})})}),e.jsx("section",{className:"bg-background py-16 md:py-20 lg:py-24 border-t border-border",children:e.jsx("div",{className:"container mx-auto px-4 lg:px-8",children:o.length===0?e.jsxs("p",{className:"text-center text-muted-foreground py-16",children:['No articles found for "',r,'"']}):e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 max-w-6xl mx-auto",children:o.map(t=>e.jsx(g,{onClick:()=>s("/blog/"+t.slug),className:"flex flex-col h-full border-border bg-card cursor-pointer hover:shadow-md transition-shadow",children:e.jsxs(u,{className:"flex flex-col h-full p-6 md:p-7",children:[e.jsx("p",{className:"text-xs font-semibold uppercase tracking-[0.08em] text-muted-foreground mb-3",children:c(t.date)}),e.jsx("h3",{className:"text-secondary mb-3",children:t.title}),e.jsxs("p",{className:"text-muted-foreground text-[16px] leading-[26px] flex-1",children:[t.excerpt.slice(0,180),t.excerpt.length>180?"...":""]}),e.jsx("a",{href:`/blog/${t.slug}`,onClick:a=>{a.preventDefault(),s("/blog/"+t.slug)},className:"mt-6 text-primary font-bold text-[16px] leading-[16px] hover:underline",children:"Read more â"})]})},t.slug))})})}),e.jsx("section",{className:"py-20 md:py-24 lg:py-28 bg-muted",children:e.jsxs("div",{className:"container mx-auto px-4 lg:px-8 text-center max-w-3xl",children:[e.jsx("h2",{className:"text-secondary font-bold text-[30px] md:text-[40px] lg:text-[44px] leading-tight tracking-[-0.4px] mb-10",children:"Ready to run EOS in the software built for it?"}),e.jsx(m,{asChild:!0,className:"rounded-[12px] px-[22px] h-12 font-bold text-base",children:e.jsx("a",{href:"/start",children:"Get Started"})})]})}),e.jsx(p,{})]})}export{v 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.