1import{r as a,j as e,L as g,s as T}from"./index-BAImRqE-.js";import{T as O}from"./Turnstile-CBKLC1rC.js";import{S as F,H as G,E as B,G as p,c as o,L as f,o as j,A as R,M as C,B as L,F as P}from"./Footer-CzUM3yY4.js";import{S as D}from"./StickyBookButton-CXDp6t4G.js";import{S as c}from"./ScrollReveal-BwSzjTNX.js";import{C as M}from"./CTASection-FXAll1E8.js";import{P as d}from"./blog-BThEZ78l.js";const $="0x4AAAAAADlWnRXqdGdJOcQe",b=r=>new Date(r+"T00:00:00").toLocaleDateString("en-US",{month:"short",day:"numeric",year:"numeric"});function J(){const[r,N]=a.useState(""),[l,m]=a.useState("idle"),[x,v]=a.useState(""),[n,u]=a.useState(""),[y,w]=a.useState(!1),[k,S]=a.useState(0),E=a.useRef(Date.now()),i=!y,t=d.find(s=>s.hub)??d[0],A=d.filter(s=>s.slug!==t.slug);return e.jsxs("div",{className:"min-h-screen bg-background text-foreground",children:[e.jsx(F,{title:"Insights - Marketing, AI & Automation | AdForce",description:"Practical guides on GEO, local SEO, paid ads, AI automation, and custom software from the AdForce team. Playbooks that turn spend into measurable results.",path:"/blog",siteUrl:"https://adforce.ai",keywords:["marketing blog","GEO guide","AI automation insights","local SEO tips","marketing agency comparison"]}),e.jsx(G,{}),e.jsxs("section",{className:"relative overflow-hidden",children:[e.jsx("div",{className:"hero-aurora-orb hero-aurora-orb--blue",style:{top:"-120px",left:"-80px"}}),e.jsx("div",{className:"container relative py-16 text-center md:py-20",children:e.jsxs(c,{children:[e.jsx(B,{children:"Insights"}),e.jsxs("h1",{className:"mx-auto mt-6 max-w-3xl font-heading text-4xl font-bold leading-[1.08] tracking-[-0.026em] md:text-6xl",children:["Growth ideas, ",e.jsx(p,{children:"minus the fluff"})]}),e.jsx("p",{className:"mx-auto mt-5 max-w-2xl text-lg text-foreground/80",children:"Honest comparisons and practical playbooks on GEO, local SEO, paid ads, AI automation, and custom software - written to answer the exact questions you (and ChatGPT) are asking."})]})})]}),e.jsx("section",{className:"pb-8",children:e.jsxs("div",{className:"container",children:[e.jsx(c,{children:e.jsx(g,{to:`/blog/${t.slug}`,className:`group block overflow-hidden ${o} transition hover:-translate-y-1 hover:shadow-medium`,children:e.jsxs("div",{className:"grid md:grid-cols-2",children:[e.jsx("div",{className:"relative min-h-[220px] overflow-hidden text-white",style:{background:"linear-gradient(135deg, #006FFF, #8929FF)"},children:t.heroImage?e.jsx("img",{src:t.heroImage.src,alt:t.heroImage.alt,loading:"eager",className:"h-full w-full object-cover transition duration-500 group-hover:scale-[1.04]"}):e.jsxs("div",{className:"flex h-full items-center justify-center p-10",children:[e.jsx("div",{className:"hero-aurora-orb",style:{width:280,height:280,background:"radial-gradient(circle, rgba(255,255,255,.3), transparent 70%)",opacity:.4,top:-60,right:-40}}),e.jsx("p",{className:"relative font-heading text-2xl font-extrabold leading-snug md:text-3xl",children:t.title})]})}),e.jsxs("div",{className:"p-8",children:[e.jsxs("div",{className:"flex flex-wrap items-center gap-2",children:[e.jsx("span",{className:"text-xs font-bold uppercase tracking-wide text-primary",children:t.category}),t.hub&&e.jsxs("span",{className:"inline-flex items-center gap-1 rounded-full bg-[hsl(var(--gold))]/12 px-2 py-0.5 text-[10px] font-bold uppercase tracking-wide text-[hsl(var(--gold))]",children:[e.jsx(f,{className:"h-3 w-3"})," Pillar guide"]})]}),e.jsx("p",{className:"mt-3 font-heading text-xl font-bold leading-snug md:text-2xl",children:t.title}),e.jsx("p",{className:"mt-3 text-foreground/80",children:t.description}),e.jsxs("div",{className:"mt-5 flex items-center gap-4 text-xs text-muted-foreground",children:[e.jsx("span",{children:b(t.date)}),e.jsxs("span",{className:"inline-flex items-center gap-1",children:[e.jsx(j,{className:"h-3.5 w-3.5"})," ",t.readMins," min"]})]}),e.jsxs("span",{className:"mt-5 inline-flex items-center gap-1 text-sm font-semibold transition group-hover:gap-2",children:[e.jsx(p,{children:"Read article"})," ",e.jsx(R,{className:"h-4 w-4 text-primary"})]})]})]})})}),e.jsx("div",{className:"mt-6 grid gap-5 sm:grid-cols-2 lg:grid-cols-3",children:A.map(s=>e.jsx(c,{children:e.jsxs(g,{to:`/blog/${s.slug}`,className:`group flex h-full flex-col overflow-hidden ${o} transition hover:-translate-y-1 hover:shadow-medium`,children:[s.heroImage&&e.jsxs("div",{className:"relative aspect-[16/10] overflow-hidden bg-secondary",children:[e.jsx("img",{src:s.heroImage.src,alt:s.heroImage.alt,loading:"lazy",className:"h-full w-full object-cover transition duration-500 group-hover:scale-[1.05]"}),s.hub&&e.jsxs("span",{className:"absolute left-3 top-3 inline-flex items-center gap-1 rounded-full bg-background/80 px-2 py-0.5 text-[10px] font-bold uppercase tracking-wide text-[hsl(var(--gold))] backdrop-blur",children:[e.jsx(f,{className:"h-3 w-3"})," Pillar"]})]}),e.jsxs("div",{className:"flex flex-1 flex-col p-6",children:[e.jsx("span",{className:"text-xs font-bold uppercase tracking-wide text-primary",children:s.category}),e.jsx("h2",{className:"mt-2 font-heading text-lg font-bold leading-snug",children:s.title}
1),e.jsx("p",{className:"mt-2 flex-1 text-sm text-foreground/80",children:s.description}),e.jsxs("div",{className:"mt-4 flex items-center gap-4 text-xs text-muted-foreground",children:[e.jsx("span",{children:b(s.date)}),e.jsxs("span",{className:"inline-flex items-center gap-1",children:[e.jsx(j,{className:"h-3.5 w-3.5"})," ",s.readMins," min"]})]})]})]})},s.slug))})]})}),e.jsx("section",{className:"py-12",children:e.jsx("div",{className:"container",children:e.jsxs("div",{className:`mx-auto max-w-xl ${o} p-8 text-center`,children:[e.jsx(C,{className:"mx-auto h-10 w-10 text-primary"}),e.jsx("h2",{className:"mt-4 font-heading text-2xl font-bold",children:"Get new playbooks in your inbox"}),e.jsx("p",{className:"mt-2 text-foreground/80",children:"Practical GEO, SEO, and automation tips - no spam."}),l==="done"?e.jsx("p",{role:"status",className:"mt-5 font-semibold text-emerald-600",children:"You're on the list - talk soon! ð"}):e.jsxs(e.Fragment,{children:[e.jsxs("form",{className:"mx-auto mt-5 max-w-md",onSubmit:async s=>{if(s.preventDefault(),!r||l==="sending"||i&&!n)return;m("sending");const h=await T({source:"Blog newsletter",email:r.trim(),consent:!1,turnstileToken:n||void 0,company_hp:x||void 0,elapsed_ms:Date.now()-E.current});h||(u(""),S(I=>I+1)),m(h?"done":"error")},children:[e.jsx("input",{type:"text",tabIndex:-1,autoComplete:"off","aria-hidden":"true",value:x,onChange:s=>v(s.target.value),className:"pointer-events-none absolute left-[-9999px] h-0 w-0 opacity-0"}),e.jsxs("div",{className:"flex flex-col gap-3 sm:flex-row",children:[e.jsx("input",{type:"email",required:!0,value:r,onChange:s=>N(s.target.value),placeholder:"Enter your email","aria-label":"Email address",className:"w-full rounded-full border border-border bg-background px-5 py-3 text-sm outline-none focus:border-primary focus:ring-2 focus:ring-primary/20"}),e.jsx(L,{type:"submit",disabled:l==="sending"||i&&!n,className:"gradient-cta rounded-full px-6 font-semibold text-white disabled:opacity-60",children:l==="sending"?"Subscribingâ¦":"Subscribe"})]}),i&&e.jsx(O,{siteKey:$,onVerify:u,onLoadError:()=>w(!0),resetSignal:k,className:"mt-3 min-h-[65px]"})]}),l==="error"&&e.jsxs("p",{role:"alert",className:"mt-3 text-sm text-red-600",children:["Couldn't subscribe right now - please try again, or email ",e.jsx("a",{href:"mailto:[email protected]",className:"font-semibold underline",children:"[email protected]"}),"."]})]})]})})}),e.jsx(M,{}),e.jsx(P,{}),e.jsx(D,{})]})}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.