1import{r as x,j as e,N as h,L as o,A as l,F as p}from"./index-CRQcHE7J.js";import{P as g}from"./PageHero-BgCRxGu3.js";import{B as i}from"./badge-9A7JSrdQ.js";import{i as c,a as u}from"./insights-BR4C7lOA.js";import"./unlocking-buyer-intent-CM6ozFSr.js";const n={Article:"bg-primary/10 text-primary border-primary/20",Report:"bg-accent/10 text-accent border-accent/20","Data & Research":"bg-secondary text-secondary-foreground border-border"},y=()=>{const[r,d]=x.useState("All"),m=r==="All"?c:c.filter(s=>s.category===r),[t,...a]=m;return e.jsxs("div",{className:"min-h-screen",children:[e.jsx(h,{}),e.jsx(g,{eyebrow:"Insights",title:"Morvo Insights on AI and conversational commerce",subline:"AI commerce intelligence, research, and thought leadership."}),e.jsx("section",{className:"pt-12 pb-8",children:e.jsx("div",{className:"container mx-auto px-4 flex flex-wrap justify-center gap-2",children:u.map(s=>e.jsx("button",{onClick:()=>d(s),className:`px-4 py-2 rounded-full text-sm font-medium transition-colors border ${r===s?"bg-primary text-primary-foreground border-primary":"bg-background text-muted-foreground border-border hover:border-primary/40"}`,children:s},s))})}),t&&e.jsx("section",{className:"pb-10",children:e.jsx("div",{className:"container mx-auto px-4",children:e.jsx(o,{to:t.href??`/insights/${t.slug}`,className:"group block relative rounded-2xl overflow-hidden shadow-glow border border-border/50 max-w-5xl mx-auto",children:e.jsxs("div",{className:"relative aspect-[8/9] md:aspect-[11/10] lg:aspect-[2.2/1]",children:[e.jsx("img",{src:t.heroImage,alt:t.title,className:"absolute inset-0 w-full h-full object-cover transition-transform duration-500 group-hover:scale-105"}),e.jsx("div",{className:"absolute inset-0 bg-gradient-to-t from-black/80 via-black/40 to-transparent"}),e.jsxs("div",{className:"absolute bottom-0 left-0 right-0 p-6 md:p-10",children:[e.jsx(i,{variant:"outline",className:`mb-3 ${n[t.category]||""}`,children:t.category}),e.jsx("h2",{className:"text-2xl md:text-3xl lg:text-4xl font-heading font-bold text-white mb-2",children:t.title}),e.jsx("p",{className:"text-white/80 text-sm md:text-base max-w-xl mb-4",children:t.excerpt}),e.jsxs("div",{className:"flex items-center gap-4 mb-4",children:[e.jsx("span",{className:"text-xs text-white/60",children:t.date}),e.jsxs("span",{className:"text-xs text-white/60",children:["By ",t.author]})]}),e.jsxs("span",{className:"inline-flex items-center gap-2 text-sm font-medium text-white group-hover:text-primary transition-colors",children:["Read more ",e.jsx(l,{className:"h-4 w-4"})]})]})]})})})}),a.length>0&&e.jsx("section",{className:"pb-24 md:pb-32",children:e.jsx("div",{className:"container mx-auto px-4",children:e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 max-w-5xl mx-auto",children:a.map(s=>e.jsxs(o,{to:s.href??`/insights/${s.slug}`,className:"group block rounded-2xl overflow-hidden border border-border/50 shadow-sm hover:shadow-glow transition-shadow",children:[e.jsx("div",{className:"relative aspect-[16/10]",children:e.jsx("img",{src:s.heroImage,alt:s.title,className:"absolute inset-0 w-full h-full object-cover transition-transform duration-500 group-hover:scale-105"})}),e.jsxs("div",{className:"p-5",children:[e.jsx(i,{variant:"outline",className:`mb-3 ${n[s.category]||""}`,children:s.category}),e.jsx("h3",{className:"text-lg font-heading font-bold text-foreground mb-2 group-hover:text-primary transition-colors",children:s.title}),e.jsx("p",{className:"text-sm text-muted-foreground line-clamp-2 mb-3",children:s.excerpt}),e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx("span",{className:"text-xs text-muted-foreground",children:s.date}),e.jsxs("span",{className:"inline-flex items-center gap-1 text-sm font-medium text-primary",children:["Read ",e.jsx(l,{className:"h-3.5 w-3.5"})]})]})]})]},s.slug))})})}),e.jsx(p,{})]})};export{y 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.