import{R as n,p as d,l as e,d as o,S as t,L as l,C as c}from"./index-CAFLK4ed.js";import{A as m}from"./arrow-left-CqG7u8cR.js";import{C as x}from"./calendar-bJYMGVHX.js";import{C as g}from"./clock-CYCVwGas.js";function f(){const{post:a}=n.useLoaderData(),r=d.filter(s=>s.slug!==a.slug).slice(0,3);return e.jsxs(o,{children:[e.jsxs("article",{children:[e.jsxs(t,{className:"!py-12 md:!py-16",children:[e.jsxs(l,{to:"/blog",className:"inline-flex items-center gap-2 text-sm font-semibold text-primary",children:[e.jsx(m,{className:"h-4 w-4"})," Back to blog"]}),e.jsxs("div",{className:"mt-6 max-w-3xl",children:[e.jsx("div",{className:"inline-flex items-center gap-2 rounded-full border border-primary/20 bg-primary-soft px-3 py-1 text-xs font-semibold uppercase tracking-wider text-primary",children:a.cat}),e.jsx("h1",{className:"mt-4 text-4xl leading-[1.1] md:text-5xl lg:text-6xl",children:a.title}),e.jsxs("div",{className:"mt-6 flex flex-wrap items-center gap-5 text-sm text-muted-foreground",children:[e.jsxs("span",{className:"inline-flex items-center gap-1.5",children:[e.jsx(x,{className:"h-4 w-4"})," ",new Date(a.date).toLocaleDateString("en-NG",{year:"numeric",month:"long",day:"numeric"})]}),e.jsxs("span",{className:"inline-flex items-center gap-1.5",children:[e.jsx(g,{className:"h-4 w-4"})," ",a.read," read"]}),e.jsx("span",{children:"By Manso Digital — Lagos"})]})]}),e.jsx("div",{className:"mt-10 overflow-hidden rounded-3xl border border-border shadow-card",children:e.jsx("img",{src:a.image,alt:`${a.title} — Manso Digital, a digital marketing agency in Lagos`,className:"aspect-[16/9] w-full object-cover"})})]}),e.jsx(t,{className:"!pt-0",children:e.jsxs("div",{className:"mx-auto max-w-3xl",children:[e.jsx("p",{className:"text-lg leading-relaxed text-ink-soft md:text-xl",children:a.excerpt}),e.jsx("div",{className:"mt-8 space-y-6 text-base leading-relaxed text-ink md:text-lg",children:a.body.map((s,i)=>e.jsx("p",{children:s},i))})]})}),e.jsxs(t,{className:"!pt-0",children:[e.jsx("h2",{className:"text-2xl md:text-3xl",children:"Keep reading"}),e.jsx("div",{className:"mt-8 grid gap-6 md:grid-cols-3",children:r.map(s=>e.jsxs(l,{to:"/blog/$slug",params:{slug:s.slug},className:"group overflow-hidden rounded-3xl border border-border bg-card shadow-card transition-all hover:-translate-y-1 hover:shadow-glow",children:[e.jsx("div",{className:"aspect-[16/10] overflow-hidden bg-muted",children:e.jsx("img",{src:s.image,alt:s.title,loading:"lazy",className:"h-full w-full object-cover transition-transform duration-500 group-hover:scale-[1.03]"})}),e.jsxs("div",{className:"p-5",children:[e.jsx("div",{className:"text-xs font-semibold uppercase tracking-wider text-primary",children:s.cat}),e.jsx("h3",{className:"mt-2 text-base leading-snug",children:s.title})]})]},s.slug))})]})]}),e.jsx(c,{title:"Ready to grow with a top digital marketing agency in Lagos?",description:"Book a free consultation with the Manso Digital team."})]})}export{f as component};
