PageSourceSearch

https://peacelovehormones.com/assets/blog._slug-CMY5sdr1.js

js peacelovehormones.com collected 2026-10-04 03:54:20 UTC 8,398 bytes, 1 lines download raw bytes

1import{j as e,R as c,x,L as o,n}from"./index-DL151FI2.js";import{S as i,b as m}from"./SiteFooter-COPnZoCw.js";import{P as d}from"./ProductUpsellCard-DJj9RTb6.js";import{C as u}from"./clock-DLlg28-M.js";import"./useJudgemeReviews-BgKSDOxS.js";import"./useQuery-BQ3J-vlX.js";import"./StarRating-BHhnwDs6.js";import"./book-open-DoNzMZL1.js";import"./useShopifyProducts-CJvwiYNR.js";function p({blocks:s}){return e.jsx("div",{className:"mx-auto max-w-2xl",children:s.map((t,a)=>{switch(t.kind){case"lede":return e.jsx("p",{className:"mb-8 font-serif text-2xl italic leading-snug text-foreground/90 sm:text-3xl",children:t.text},a);case"h2":return e.jsx("h2",{className:"mt-12 font-serif text-3xl font-bold leading-tight text-foreground sm:text-4xl",children:t.text},a);case"h3":return e.jsx("h3",{className:"mt-8 font-serif text-2xl font-bold text-foreground",children:t.text},a);case"p":return e.jsx("p",{className:"mt-5 text-lg leading-relaxed text-foreground/90",children:t.text},a);case"ul":return e.jsx("ul",{className:"mt-5 space-y-2",children:t.items.map(r=>e.jsxs("li",{className:"flex gap-3 text-lg leading-snug text-foreground/90",children:[e.jsx("span",{className:"mt-2 inline-block h-1.5 w-1.5 shrink-0 rounded-full bg-clay"}),e.jsx("span",{children:r})]},r))},a);case"ol":return e.jsx("ol",{className:"mt-5 space-y-3",children:t.items.map((r,l)=>e.jsxs("li",{className:"flex gap-4 text-lg leading-snug text-foreground/90",children:[e.jsx("span",{className:"grid h-7 w-7 shrink-0 place-items-center rounded-full bg-foreground font-serif text-sm font-bold text-amber-bottle",children:l+1}),e.jsx("span",{children:r})]},r))},a);case"callout":return e.jsxs("aside",{className:"label-card pop-card-tilt-r my-8 bg-blush/40 p-6",children:[e.jsx("p",{className:"text-eyebrow text-clay-ink",children:t.title}),e.jsx("p",{className:"mt-2 font-serif text-lg leading-snug text-foreground",children:t.body})]},a);case"quote":return e.jsxs("blockquote",{className:"my-8 border-l-4 border-clay pl-6 font-serif text-2xl italic leading-snug text-foreground",children:['"',t.text,'"',t.cite&&e.jsxs("footer",{className:"mt-3 text-sm not-italic text-foreground/85",children:["— ",t.cite]})]},a);case"image":return e.jsxs("figure",{className:"my-8",children:[e.jsx("img",{src:t.src,alt:t.alt,loading:"lazy",className:"label-card w-full p-0"}),t.caption&&e.jsx("figcaption",{className:"mt-3 text-center text-sm italic text-foreground/85",children:t.caption})]},a);case"recipe":return e.jsxs("div",{className:"label-card my-10 border-2 border-foreground bg-cream p-7",style:{boxShadow:"5px 5px 0 0 var(--color-foreground)"},children:[e.jsx("p",{className:"text-eyebrow text-clay-ink",children:"Recipe"}),e.jsx("h3",{className:"mt-2 font-serif text-3xl font-bold text-foreground",children:t.title}),(t.yields||t.time)&&e.jsx("p",{className:"mt-2 text-sm text-foreground/85",children:[t.yields,t.time].filter(Boolean).join(" · ")}),e.jsx("h4",{className:"mt-6 font-serif text-lg font-bold text-foreground",children:"Ingredients"}),e.jsx("ul",{className:"mt-3 space-y-1.5",children:t.ingredients.map(r=>e.jsxs("li",{className:"flex gap-3 text-base text-foreground/90",children:[e.jsx("span",{className:"mt-2 h-1.5 w-1.5 shrink-0 rounded-full bg-foreground"}),e.jsx("span",{children:r})]},r))}),e.jsx("h4",{className:"mt-6 font-serif text-lg font-bold text-foreground",children:"Method"}),e.jsx("ol",{className:"mt-3 space-y-3",children:t.steps.map((r,l)=>e.jsxs("li",{className:"flex gap-4 text-base text-foreground/90",children:[e.jsx("span",{className:"grid h-7 w-7 shrink-0 place-items-center rounded-full bg-foreground font-serif text-sm font-bold text-amber-bottle",children:l+1}),e.jsx("span",{children:r})]},r))}
1),t.tip&&e.jsxs("p",{className:"mt-6 border-t border-foreground/50 pt-4 font-serif text-base italic text-foreground/80",children:["Herbalist's tip: ",t.tip]})]},a);case"productCTA":return e.jsx(d,{productKey:t.productKey,headline:t.headline,body:t.body},a);default:return null}})})}const h=Math.round(n(1,"monthly")*100),g=Math.round(n(3,"quarterly")*100);function S(){const{post:s}=c.useLoaderData(),t=(s.related??[]).map(r=>x.find(l=>l.slug===r)).filter(r=>!!r).slice(0,3),a=new Date(s.publishedAt).toLocaleDateString(void 0,{month:"long",day:"numeric",year:"numeric"});return e.jsxs("div",{className:"min-h-screen bg-bone",children:[e.jsx(i,{}),e.jsxs("main",{children:[e.jsx("div",{className:"mx-auto max-w-5xl px-5 pb-2 pt-8 sm:px-8",children:e.jsxs("nav",{"aria-label":"Breadcrumb",className:"text-eyebrow text-foreground/85",children:[e.jsx(o,{to:"/",className:"hover:text-foreground",children:"Home"}),e.jsx("span",{"aria-hidden":!0,className:"mx-2",children:"/"}),e.jsx(o,{to:"/blog",className:"hover:text-foreground",children:"Journal"}),e.jsx("span",{"aria-hidden":!0,className:"mx-2",children:"/"}),e.jsx("span",{className:"text-foreground",children:s.category})]})}),e.jsxs("header",{className:"mx-auto max-w-3xl px-5 pb-10 pt-8 text-center sm:px-8",children:[e.jsx("span",{className:"sticker-tag inline-block",children:s.category}),e.jsx("h1",{className:"mt-6 font-serif text-4xl font-bold leading-[1.05] text-foreground sm:text-6xl",children:s.title}),e.jsx("p",{className:"mx-auto mt-6 max-w-2xl text-lg text-foreground/85 sm:text-xl",children:s.excerpt}),e.jsxs("div",{className:"mt-6 flex flex-wrap items-center justify-center gap-x-5 gap-y-2 text-eyebrow text-foreground/85",children:[e.jsxs("span",{children:["By ",s.author]}),e.jsx("span",{"aria-hidden":!0,children:"·"}),e.jsx("time",{dateTime:s.publishedAt,children:a}),e.jsx("span",{"aria-hidden":!0,children:"·"}),e.jsxs("span",{className:"inline-flex items-center gap-1.5",children:[e.jsx(u,{className:"h-3 w-3"})," ",s.readMinutes," min read"]})]})]}),e.jsx("div",{className:"mx-auto max-w-5xl px-5 sm:px-8",children:e.jsx("figure",{className:"overflow-hidden rounded-3xl border-2 border-foreground bg-cream",style:{boxShadow:"8px 8px 0 0 var(--color-foreground)"},children:e.jsx("img",{src:s.heroImage,alt:s.title,className:"aspect-[16/9] w-full object-cover"})})}),e.jsxs("article",{className:"mx-auto max-w-3xl px-5 py-16 sm:px-8 sm:py-20",children:[e.jsx(p,{blocks:s.body}),s.tags.length>0&&e.jsxs("div",{className:"mx-auto mt-12 max-w-2xl border-t-2 border-foreground
1/50 pt-6",children:[e.jsx("p",{className:"text-eyebrow text-foreground/85",children:"Filed under"}),e.jsx("div",{className:"mt-3 flex flex-wrap gap-2",children:s.tags.map(r=>e.jsx("span",{className:"rounded-full border-2 border-foreground/50 bg-cream px-3 py-1 text-eyebrow text-foreground",children:r},r))})]})]}),s.primaryProductKey&&e.jsx("div",{className:"mx-auto max-w-3xl px-5 pb-16 sm:px-8",children:e.jsx(d,{productKey:s.primaryProductKey,headline:"Daily plant medicine, dosed right",body:`Clinically formulated, whole-plant tinctures. Subscribe and save ${h}% monthly or ${g}% quarterly — plus a free apothecary glass on your first order.`})}),t.length>0&&e.jsx("section",{className:"border-t-2 border-foreground/50 bg-background py-16 sm:py-20",children:e.jsxs("div",{className:"mx-auto max-w-7xl px-5 sm:px-8",children:[e.jsx("p",{className:"text-eyebrow text-foreground/85",children:"Keep reading"}),e.jsx("h2",{className:"mt-2 font-serif text-3xl text-foreground sm:text-4xl",children:"More from the apothecary"}),e.jsx("div",{className:"mt-10 grid gap-6 sm:grid-cols-2 lg:grid-cols-3",children:t.map(r=>e.jsxs(o,{to:"/blog/$slug",params:{slug:r.slug},className:"group flex flex-col overflow-hidden rounded-2xl border-2 border-foreground bg-cream transition hover:-translate-y-1",style:{boxShadow:"5px 5px 0 0 var(--color-foreground)"},children:[e.jsx("div",{className:"aspect-[16/10] overflow-hidden border-b-2 border-foreground bg-bone",children:e.jsx("img",{src:r.heroImage,alt:r.title,loading:"lazy",className:"h-full w-full object-cover transition-transform duration-500 group-hover:scale-[1.04]"})}),e.jsxs("div",{className:"flex flex-1 flex-col p-5",children:[e.jsx("span",{className:"text-eyebrow text-clay-ink",children:r.category}),e.jsx("h3",{className:"mt-2 font-serif text-xl leading-tight text-foreground",children:r.title}),e.jsx("p",{className:"mt-2 line-clamp-2 text-sm text-foreground/85",children:r.excerpt}),e.jsx("span",{className:"mt-auto pt-4 text-eyebrow text-foreground/85 transition group-hover:text-clay-ink",children:"Read more →"})]})]},r.slug))})]})})]}),e.jsx(m,{})]})}export{S 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.