1import{j as t}from"./vendor-motion-Dir2YQVl.js";import{l as d,J as o,S as s,i as m,v as c}from"./index-DAefOCaN.js";import{P as x}from"./PageHero-D_whpg5K.js";import{a as g}from"./SiteFooter-BtTnf3s3.js";import"./vendor-react-BnmXZeeK.js";const j=({onNavigate:i})=>{const n=d(),l=e=>{i?i(e):window.location.href=c[e]},r=(e,a)=>{i&&(e.preventDefault(),i("blog-article",{slug:a}))};return t.jsxs("div",{className:"w-full min-h-screen bg-page",children:[t.jsx(o,{data:{"@context":"https://schema.org","@type":"Blog",name:"AGNTMKT Blog",description:"Guides, deep-dives, and how-tos on AI chatbots, franchise development, consumer engagement, and multi-location marketing.",url:`${s}/blog`,inLanguage:"en-US",publisher:{"@id":`${s}/#organization`},blogPost:n.map(e=>({"@type":"BlogPosting",headline:e.title,description:e.description,url:`${s}/blog/${e.slug}`,datePublished:e.publishedAt,dateModified:e.updatedAt,author:{"@type":"Person",name:e.author.name}}))}}),t.jsx(o,{data:m({url:`${s}/blog`,name:"AGNTMKT Blog Articles",items:n.map(e=>({url:`${s}/blog/${e.slug}`,name:e.title,description:e.description}))})}),t.jsx(x,{onNavigate:l,eyebrow:"Blog",lines:[{text:"Guides for"},{text:"franchise marketers",tone:"muted"},{text:"building with AI.",tone:"orange"}],intro:"Deep-dives on AI chatbots, franchise development, consumer engagement, and multi-location marketing."}),t.jsx("section",{className:"py-12 md:py-20 px-4 md:px-6",children:t.jsx("div",{className:"max-w-4xl mx-auto",children:n.length===0?t.jsx("p",{className:"text-center text-zinc-500",children:"More articles coming soon."}):t.jsx("ul",{className:"grid gap-6 md:gap-8",children:n.map(e=>t.jsx("li",{className:"group bg-white border border-zinc-200 rounded-3xl overflow-hidden hover:border-[#ff7f30]/40 transition-all duration-250 hover:shadow-[0_20px_50px_rgba(24,24,27,0.08)]",children:t.jsxs("a",{href:`/blog/${e.slug}`,onClick:a=>r(a,e.slug),className:"block md:flex",children:[t.jsx("div",{className:"relative md:w-64 md:flex-shrink-0 aspect-[16/9] md:aspect-auto bg-zinc-900 overflow-hidden",children:e.thumbnail||e.image?t.jsx("img",{src:e.thumbnail??e.image,alt:e.title,className:"absolute inset-0 w-full h-full object-cover",loading:"lazy"}):t.jsxs(t.Fragment,{children:[t.jsx("div",{className:"absolute inset-0 bg-gradient-to-br from-zinc-900 via-zinc-800 to-[#ff7f30]/30"}),t.jsx("div",{className:"absolute -top-12 -right-12 w-48 h-48 rounded-full bg-[#ff7f30]/20 blur-3xl"}),t.jsx("div",{className:"absolute inset-0 flex items-center justify-center p-4",children:t.jsx("span",{className:"font-mono text-[10px] tracking-[0.4em] text-white/60 uppercase",children:e.category??"Article"})})]})}),t.jsxs("div",{className:"flex-1 p-6 md:p-8",children:[t.jsxs("div",{className:"text-xs font-mono text-zinc-400 tracking-widest uppercase mb-3 flex flex-wrap items-center gap-x-2 gap-y-1",children:[t.jsx("time",{dateTime:e.publishedAt,children:new Date(e.publishedAt).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"})}),e.readingTime&&t.jsxs(t.Fragment,{children:[t.jsx("span",{className:"text-zinc-300",children:"·"}),t.jsxs("span",{children:[e.readingTime," read"]})]})]}),t.jsx("h2",{className:"text-xl md:text-2xl font-bold text-zinc-900 mb-2 group-hover:text-[#ff7f30] transition-colors",children:e.title}),t.jsx("p",{className:"text-zinc-500 text-base leading-relaxed",children:e.description}),t.jsxs("div",{className:"mt-4 inline-flex items-center gap-1 text-sm font-semibold text-[#ff7f30]",children:["Read article",t.jsx("svg",{className:"w-4 h-4 transition-transform group-hover:translate-x-0.5",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true",children:t.jsx("path",{fillRule:"evenodd",d:"M10.293 5.293a1 1 0 011.414 0l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414-1.414L12.586 11H5a1 1 0 110-2h7.586l-2.293-2.293a1 1 0 010-1.414z",clipRule:"evenodd"})})]})]})]})},e.slug))})})}),t.jsx(g,{onNavigate:l})]})};export{j 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.