1import{e as o,p as x,j as e,L as r}from"./main-fZk2C5Dk.js";import{N as n}from"./NewsletterForm-dRO4kr_5.js";import"./createServerFn-CIslJV_w.js";function c(){const{post:s}=o.useLoaderData(),a=x.filter(t=>t.slug!==s.slug).slice(0,2);return e.jsxs(e.Fragment,{children:[e.jsxs("article",{className:"mx-auto max-w-3xl px-4 pt-16 sm:px-6 sm:pt-24",children:[e.jsx(r,{to:"/insights",className:"text-sm font-semibold text-royal hover:underline",children:"â All insights"}),e.jsxs("p",{className:"mt-8 text-xs font-semibold uppercase tracking-widest text-muted-foreground",children:[s.date," · ",s.readTime]}),e.jsx("h1",{className:"mt-3 text-balance text-4xl font-extrabold leading-[1.05] text-navy sm:text-6xl",children:s.title}),e.jsx("p",{className:"mt-6 text-pretty font-serif-display text-2xl leading-snug text-muted-foreground",children:s.excerpt}),e.jsx("div",{className:"mt-12 space-y-6 text-lg leading-relaxed text-foreground/90",children:s.body.map((t,l)=>e.jsx("p",{children:t},l))}),e.jsxs("div",{className:"mt-16 rounded-2xl border border-border bg-secondary/40 p-8",children:[e.jsx("p",{className:"font-display text-xl font-bold text-navy",children:"Eric Lee Usher"}),e.jsx("p",{className:"mt-1 text-sm text-muted-foreground",children:"Coach, mentor, and advisor for founders and leaders who refuse to lose themselves on the way up."}),e.jsx(r,{to:"/work-with-me",className:"mt-4 inline-flex items-center text-sm font-semibold text-royal hover:underline",children:"Work with me â"})]})]}),a.length>0&&e.jsxs("section",{className:"mx-auto max-w-5xl px-4 py-20 sm:px-6",children:[e.jsx("h2",{className:"text-2xl font-bold text-navy",children:"Keep reading"}),e.jsx("div",{className:"mt-6 grid gap-6 md:grid-cols-2",children:a.map(t=>e.jsxs(r,{to:"/insights/$slug",params:{slug:t.slug},className:"group rounded-2xl border border-border bg-card p-7 shadow-card transition-all hover:-translate-y-0.5 hover:border-royal/30 hover:shadow-soft",children:[e.jsx("p",{className:"text-xs text-muted-foreground",children:t.date}),e.jsx("h3",{className:"mt-2 text-xl font-bold text-navy group-hover:text-royal",children:t.title}),e.jsx("p",{className:"mt-2 text-sm text-muted-foreground",children:t.excerpt})]},t.slug))})]}),e.jsx("section",{className:"mx-auto max-w-3xl px-4 pb-24 sm:px-6",children:e.jsxs("div",{className:"rounded-3xl bg-gradient-hero p-10 text-cream sm:p-12",children:[e.jsx("h2",{className:"text-balance text-2xl font-bold leading-tight text-cream sm:text-4xl",children:"Get the next essay in your inbox."}),e.jsx("div",{className:"mt-6 max-w-lg",children:e.jsx(n,{source:"essay_footer",variant:"dark"})})]})})]})}export{c as component};
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.