Article Body 2
Numbered listicle article: huge accent numerals carry each point down a rail while a sticky contents list tracks the point in view.
Use it in a prompt
Use content/article-body-2 from the FunnelDNA library. Follow the skill and theme contract. Ask me for the copy, images, and brand details you need; do not invent proof.
Paste into Claude or ChatGPT with FunnelDNA connected (MCP setup), or alongside the skill.
Use it in code
- Save
component.tsx(Code tab) ascomponents/funneldna/content/article-body-2.tsx. - Import it and pass your copy and images (Props tab):
import { ArticleBody2 } from "@/components/funneldna/content/article-body-2"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/content/article-body-2/component.tsx 750 lines
// layout: scroll-panels
// Numbered listicle article: huge accent numerals carry each point down a rail while a sticky contents list tracks the point in view.
// A free-guide opt-in interrupts after point 3, and the close clips a coupon onto the one offer, so curiosity turns into the click.
import * as React from 'react';
import { AlertCircle, ChevronDown, Clock, Lock, PackageCheck, ShieldCheck } from 'lucide-react';
import { Spot } from '../fx/fx';
import calendar from '../fx/spots/calendar';
import chart from '../fx/spots/chart';
import checklist from '../fx/spots/checklist';
import clock from '../fx/spots/clock';
import gift from '../fx/spots/gift';
import phone from '../fx/spots/phone';
import savings from '../fx/spots/savings';
export type ListiclePoint = {
title: string;
short?: string; // label in the contents list; falls back to the title
body: React.ReactNode;
fix?: React.ReactNode; // the 'do this instead' sentence
teaser?: React.ReactNode; // open loop that points ahead to a later point
flag?: string; // chip on the one point that matters most (it also gets the tinted panel)
image?: string; // scene slot
imageAlt?: string;
caption?: React.ReactNode;
spot?: string; // imported fx spot asset, shown when the point has no image
};
export type ListicleLeadMagnet = {
headline: string;
lead: React.ReactNode;
coverAlt: string;
emailLabel: string;
emailPlaceholder: string;
label: string;
privacy: string;
errorEmpty: string;
errorInvalid: string;
};
export type ListicleOffer = {
headline: string;
lead: React.ReactNode;
couponLabel: string; // accessible name of the coupon
saving: string;
regularPrice: string;
wasLabel: string; // screen-reader prefix read before the struck regular price
price: string;
saveLine: string; // '{saving} off'
valueLine: string; // 'off the {regular} value of the full kit'
todayLabel: string;
note: string;
label: string;
guarantee: string;
psLabel: string;
ps: React.ReactNode;
};
export type ListicleCopy = {
readTime: string; // '{minutes} min read'
byPrefix: string;
contentsLabel: string;
jumpLabel: string;
position: string; // 'Mistake {n} of {total}'
pointLabel: string; // screen-reader prefix on each point heading: 'Mistake {n}: '
fixLead: string;
closeLink: string; // last contents link, to the offer
closeShort: string; // jump bar text when the offer is in view
};
export type ArticleBody2Props = {
category?: string;
readMinutes?: number;
title?: string;
titleHighlight?: string; // phrase inside the title that gets the marker stroke
deck?: React.ReactNode;
author?: { name: string; role?: string };
presenterImage?: string;
points?: ListiclePoint[];
leadAfter?: number; // the opt-in sits after this many points
coverImage?: string; // guide cover on a transparent background (product slot)
leadMagnet?: Partial<ListicleLeadMagnet>;
offer?: Partial<ListicleOffer>;
items?: { name: string; detail?: string; image?: string; imageAlt?: string }[];
copy?: Partial<ListicleCopy>;
href?: string; // where the offer button goes
onAction?: () => void; // offer button click
onSubmit?: (values: { email: string }) => void; // validated opt-in email
state?: 'default' | 'hover' | 'active' | 'disabled' | 'error';
className?: string;
};
export function ArticleBody2(props: ArticleBody2Props) {
const {
category = 'Pricing',
readMinutes = 6,
title = '7 pricing mistakes wedding photographers make (and the one costing you most)',
titleHighlight = 'the one costing you most',
deck = 'Most pricing problems aren’t about the number. They’re about how you reached it and how you show it. Here are seven, and number 5 is the one quietly costing you bookings.',
author,
presenterImage,
points = DEFAULT_POINTS,
leadAfter = 3,
coverImage,
items = DEFAULT_ITEMS,
href,
onAction,
onSubmit,
state,
className,
} = props;
const lm = merge(DEFAULT_LEAD, props.leadMagnet);
const of = merge(DEFAULT_OFFER, props.offer);
const t = merge(DEFAULT_COPY, props.copy);
const disabled = state === 'disabled';
const force = state === 'hover' ? ' is-hover' : state === 'active' ? ' is-active' : '';
const rid = React.useId().replace(/[^a-zA-Z0-9_-]/g, '');
const id = (s: string) => `cf-ab2-${rid}-${s}`;
const count = points.length;
const targetIds = [...points.map((_, i) => id(`p${i + 1}`)), id('fix')];
const split = Math.min(Math.max(0, leadAfter), count);
const rootRef = React.useRef<HTMLElement>(null);
const tocRef = React.useRef<HTMLElement>(null);
const barRef = React.useRef<HTMLButtonElement>(null);
const inputRef = React.useRef<HTMLInputElement>(null);
const [active, setActive] = React.useState(0);
const [progress, setProgress] = React.useState(0);
const [open, setOpen] = React.useState(false);
const [email, setEmail] = React.useState('');
const [error, setError] = React.useState<string | null>(null);
// Contents tracker: the point whose top has passed the reading line is the active one.
React.useEffect(() => {
const root = rootRef.current;
if (!root || typeof window === 'undefined') return;
let frame = 0;
const measure = () => {
frame = 0;
const line = (window.innerHeight || 800) * 0.38;
const targets = Array.from(root.querySelectorAll<HTMLElement>('[data-ab2-target]'));
if (!targets.length) return;
const tops = targets.map((el) => el.getBoundingClientRect().top);
let current = 0;
tops.forEach((top, i) => {
if (top <= line) current = i;
});
const span = tops[tops.length - 1] - tops[0];
const p = span > 0 ? (line - tops[0]) / span : 0;
setActive(current);
setProgress(Math.round(Math.min(1, Math.max(0, p)) * 100) / 100);
};
const schedule = () => {
if (!frame) frame = window.requestAnimationFrame(measure);
};
measure();
document.addEventListener('scroll', schedule, { passive: true, capture: true });
window.addEventListener('resize', schedule);
return () => {
document.removeEventListener('scroll', schedule, true);
window.removeEventListener('resize', schedule);
if (frame) window.cancelAnimationFrame(frame);
};
}, [count]);
// Phone jump bar: close on outside press or Escape.
React.useEffect(() => {
if (!open) return;
const onDown = (e: PointerEvent) => {
if (tocRef.current && !tocRef.current.contains(e.target as Node)) setOpen(false);
};
const onKey = (e: KeyboardEvent) => {
if (e.key === 'Escape') {
setOpen(false);
barRef.current?.focus();
}
};
document.addEventListener('pointerdown', onDown);
document.addEventListener('keydown', onKey);
return () => {
document.removeEventListener('pointerdown', onDown);
document.removeEventListener('keydown', onKey);
};
}, [open]);
const jump = (i: number) => (e: React.MouseEvent<HTMLAnchorElement>) => {
e.preventDefault();
const el = rootRef.current?.querySelector<HTMLElement>(`[data-ab2-index='${i}']`);
if (!el) return;
const reduce = typeof window.matchMedia === 'function' && window.matchMedia('(prefers-reduced-motion: reduce)').matches;
el.scrollIntoView({ behavior: reduce ? 'auto' : 'smooth', block: 'start' });
el.querySelector<HTMLElement>('[data-ab2-heading]')?.focus({ preventScroll: true });
setActive(i);
setOpen(false);
};
const submit = (e: React.FormEvent<HTMLFormElement>) => {
e.preventDefault();
if (disabled) return;
const value = email.trim();
if (!value) {
setError(lm.errorEmpty);
inputRef.current?.focus();
return;
}
if (!EMAIL_RE.test(value)) {
setError(lm.errorInvalid);
inputRef.current?.focus();
return;
}
setError(null);
onSubmit?.({ email: value });
};
const shownError = error ?? (state === 'error' ? lm.errorEmpty : null);
const atFix = active >= count;
const activePoint = points[active];
const current = atFix || !activePoint ? t.closeShort : `${fill(t.position, { n: active + 1, total: count })} · ${activePoint.short ?? activePoint.title}`;
const fillStyle: React.CSSProperties = { transform: `scaleX(${progress})` };
const errId = id('err');
const privId = id('priv');
const emailId = id('email');
const renderPoint = (p: ListiclePoint, i: number) => {
const showSpot = !p.image && Boolean(p.spot);
return (
<li key={i} id={targetIds[i]} data-ab2-target='' data-ab2-index={i} className={`cf-ab2__point${p.flag ? ' is-featured' : ''}`}>
<div className='cf-ab2__rail' aria-hidden='true'>
<div className='cf-ab2__rail-in'>
<span className='cf-ab2__num'>{i + 1}</span>
{showSpot ? (
<span className='cf-ab2__spot'>
<Spot src={p.spot as string} size={72} />
</span>
) : null}
</div>
</div>
<div className='cf-ab2__pbody'>
<div className='cf-ab2__phead'>
{p.flag ? <span className='cf-ab2__flag'>{p.flag}</span> : null}
<h2 className='cf-ab2__ptitle' tabIndex={-1} data-ab2-heading=''>
<span className='cf-ab2__sr'>{fill(t.pointLabel, { n: i + 1 })}</span>
{p.title}
</h2>
</div>
<p className='cf-ab2__ptext'>{p.body}</p>
{p.fix ? (
<p className='cf-ab2__fix'>
<strong>{t.fixLead}</strong> {p.fix}
</p>
) : null}
{p.image ? (
<figure className='cf-ab2__fig'>
<img src={p.image} alt={p.imageAlt ?? ''} width={1200} height={675} loading='lazy' decoding='async' />
{p.caption ? <figcaption>{p.caption}</figcaption> : null}
</figure>
) : null}
{p.teaser ? <p className='cf-ab2__tease'>{p.teaser}</p> : null}
</div>
</li>
);
};
const nav = (
<nav ref={tocRef} className={`cf-ab2__toc${open ? ' is-open' : ''}`} aria-label={t.contentsLabel}>
<button ref={barRef} type='button' className='cf-ab2__bar' aria-expanded={open} aria-controls={id('panel')} onClick={() => setOpen((o) => !o)}>
<span className='cf-ab2__bar-text'>
<span className='cf-ab2__bar-k'>{t.jumpLabel}</span>
<span className='cf-ab2__bar-v'>{current}</span>
</span>
<ChevronDown className='cf-ab2__bar-chev' size={20} strokeWidth={2.5} aria-hidden='true' />
<span className='cf-ab2__bar-track' aria-hidden='true'>
<span className='cf-ab2__fill' style={fillStyle} />
</span>
</button>
<div id={id('panel')} className='cf-ab2__panel'>
<p className='cf-ab2__toc-h'>{t.contentsLabel}</p>
<div className='cf-ab2__meter' aria-hidden='true'>
<span>{atFix ? t.closeShort : fill(t.position, { n: active + 1, total: count })}</span>
<span className='cf-ab2__track'>
<span className='cf-ab2__fill' style={fillStyle} />
</span>
</div>
<ol className='cf-ab2__toc-list'>
{points.map((p, i) => (
<li key={i}>
<a
href={`#${targetIds[i]}`}
className={`cf-ab2__toc-link${active === i ? ' is-active' : ''}`}
aria-current={active === i ? 'location' : undefined}
onClick={jump(i)}
>
<span className='cf-ab2__toc-n'>{i + 1}</span>
<span className='cf-ab2__toc-t'>
{p.short ?? p.title}
{p.flag ? <span className='cf-ab2__toc-flag'>{p.flag}</span> : null}
</span>
</a>
</li>
))}
</ol>
<a href={`#${targetIds[count]}`} className={`cf-ab2__toc-fix${atFix ? ' is-active' : ''}`} aria-current={atFix ? 'location' : undefined} onClick={jump(count)}>
<PackageCheck className='cf-ab2__ico' size={18} strokeWidth={2.5} aria-hidden='true' />
{t.closeLink}
</a>
</div>
</nav>
);
const leadNode = (
<aside className='cf-ab2__lead' aria-labelledby={id('lead')}>
<div className={`cf-ab2__lead-grid${coverImage ? '' : ' no-cover'}`}>
{coverImage ? (
<div className='cf-ab2__lead-cover'>
<img src={coverImage} alt={lm.coverAlt} width={480} height={480} loading='lazy' decoding='async' />
</div>
) : null}
<h2 id={id('lead')} className='cf-ab2__lead-h'>{lm.headline}</h2>
<p className='cf-ab2__lead-p'>{lm.lead}</p>
<form className='cf-ab2__form' noValidate onSubmit={submit}>
<label className='cf-ab2__label' htmlFor={emailId}>{lm.emailLabel}</label>
<div className='cf-ab2__row'>
<input
ref={inputRef}
id={emailId}
className='cf-ab2__field'
type='email'
name='email'
autoComplete='email'
inputMode='email'
placeholder={lm.emailPlaceholder}
value={email}
disabled={disabled}
aria-required='true'
aria-invalid={shownError ? true : undefined}
aria-describedby={shownError ? `${errId} ${privId}` : privId}
onChange={(e) => {
setEmail(e.target.value);
if (error) setError(null);
}}
/>
<button type='submit' className={`cf-ab2__btn cf-ab2__btn--form${force}`} disabled={disabled}>
{lm.label}
</button>
</div>
{shownError ? (
<p id={errId} className='cf-ab2__err' role='alert'>
<AlertCircle className='cf-ab2__ico' size={16} strokeWidth={2.5} aria-hidden='true' />
{shownError}
</p>
) : null}
<p id={privId} className='cf-ab2__priv'>
<Lock className='cf-ab2__ico' size={16} strokeWidth={2.5} aria-hidden='true' />
{lm.privacy}
</p>
</form>
</div>
</aside>
);
const actionClass = `cf-ab2__btn${force}`;
const action =
href && !disabled ? (
<a className={actionClass} href={href} onClick={onAction}>
{of.label}
</a>
) : (
<button type='button' className={actionClass} disabled={disabled} onClick={onAction}>
{of.label}
</button>
);
const closeNode = (
<section id={targetIds[count]} data-ab2-target='' data-ab2-index={count} className='cf-ab2__close' aria-labelledby={id('close')}>
<h2 id={id('close')} className='cf-ab2__close-h' tabIndex={-1} data-ab2-heading=''>{of.headline}</h2>
{of.lead ? <p className='cf-ab2__close-lead'>{of.lead}</p> : null}
<div className={`cf-ab2__close-grid${items.length ? '' : ' solo'}`}>
{items.length ? (
<ul className='cf-ab2__items'>
{items.map((it, i) => (
<li key={i} className={`cf-ab2__item${it.image ? '' : ' no-img'}`}>
{it.image ? <img src={it.image} alt={it.imageAlt ?? it.name} width={64} height={64} loading='lazy' decoding='async' /> : null}
<div>
<p className='cf-ab2__item-n'>{it.name}</p>
{it.detail ? <p className='cf-ab2__item-d'>{it.detail}</p> : null}
</div>
</li>
))}
</ul>
) : null}
<div className='cf-ab2__buy'>
<div className='cf-ab2__coupon' role='group' aria-label={of.couponLabel}>
<p className='cf-ab2__today-l'>{of.todayLabel}</p>
<p className='cf-ab2__price'>
{of.regularPrice ? (
<s className='cf-ab2__was'>
<span className='cf-ab2__sr'>{of.wasLabel} </span>
{of.regularPrice}
</s>
) : null}
<strong>{of.price}</strong>
</p>
{of.saving ? (
<p className='cf-ab2__save'>
<strong>{fill(of.saveLine, { saving: of.saving })}</strong> {fill(of.valueLine, { regular: of.regularPrice })}
</p>
) : null}
{of.note ? <p className='cf-ab2__cnote'>{of.note}</p> : null}
</div>
{action}
{of.guarantee ? (
<p className='cf-ab2__guar'>
<ShieldCheck className='cf-ab2__ico' size={18} strokeWidth={2.5} aria-hidden='true' />
{of.guarantee}
</p>
) : null}
</div>
</div>
{of.ps ? (
<p className='cf-ab2__ps'>
<strong>{of.psLabel}</strong> {of.ps}
</p>
) : null}
</section>
);
return (
<section ref={rootRef} className={`cf-ab2${className ? ` ${className}` : ''}`} aria-labelledby={id('title')}>
<style>{CSS}</style>
<article className='cf-ab2__wrap'>
<header className='cf-ab2__head'>
<div className='cf-ab2__meta'>
{category ? <span className='cf-ab2__chip'>{category}</span> : null}
<span>
<Clock className='cf-ab2__ico' size={16} strokeWidth={2.5} aria-hidden='true' />
{fill(t.readTime, { minutes: readMinutes })}
</span>
</div>
<h1 id={id('title')} className='cf-ab2__title'>{withMarker(title, titleHighlight)}</h1>
{deck ? <p className='cf-ab2__deck'>{deck}</p> : null}
{author?.name ? (
<div className='cf-ab2__by'>
{presenterImage ? <img src={presenterImage} alt={author.name} width={56} height={56} /> : null}
<p>
<span className='cf-ab2__by-name'>{t.byPrefix} {author.name}</span>
{author.role ? <span className='cf-ab2__by-role'>{author.role}</span> : null}
</p>
</div>
) : null}
</header>
<div className='cf-ab2__layout'>
{nav}
<div className='cf-ab2__flow'>
{split > 0 ? <ol className='cf-ab2__points'>{points.slice(0, split).map((p, i) => renderPoint(p, i))}</ol> : null}
{count > 0 ? leadNode : null}
{split < count ? (
<ol className='cf-ab2__points' start={split + 1}>
{points.slice(split).map((p, i) => renderPoint(p, i + split))}
</ol>
) : null}
{closeNode}
</div>
</div>
</article>
</section>
);
}
export default ArticleBody2;
const EMAIL_RE = /^[^@ ]+@[^@ ]+[.][^@ .]{2,}$/;
function merge<T extends object>(base: T, over?: Partial<T>): T {
const out = { ...base };
if (over) {
(Object.keys(over) as (keyof T)[]).forEach((k) => {
const v = over[k];
if (v !== undefined) out[k] = v as T[keyof T];
});
}
return out;
}
function fill(template: string, values: Record<string, string | number>) {
return template.replace(/[{]([a-z]+)[}]/gi, (m: string, k: string) => (k in values ? String(values[k]) : m));
}
function withMarker(title: string, phrase?: string): React.ReactNode {
if (!phrase) return title;
const at = title.indexOf(phrase);
if (at < 0) return title;
return (
<>
{title.slice(0, at)}
<span className='cf-ab2__mark'>{phrase}</span>
{title.slice(at + phrase.length)}
</>
);
}
const DEFAULT_POINTS: ListiclePoint[] = [
{
title: 'Copying what other photographers charge',
short: 'Copying the competition',
body: 'Their price covers their costs, their hours and their market. Not yours. Copy it and you inherit a business you’ve never seen the numbers for.',
fix: 'Start from your own costs and the hours each wedding really takes, then set a floor you won’t go under.',
spot: chart,
},
{
title: 'Pricing the wedding day and forgetting the rest',
short: 'The forgotten hours',
body: 'The day is the part couples see. Culling, editing, the gallery, the emails and the album come after, and if they’re not in the price, you’re doing them for free.',
fix: 'List every task from first email to final album and put an hour estimate next to each one.',
teaser: 'Hold on to that list. You’ll use it again in mistake 5, the one costing you most.',
spot: clock,
},
{
title: 'Offering too many packages',
short: 'Too many packages',
body: 'Six packages feel generous. To a couple planning a wedding, they feel like homework, and homework gets put off until next week.',
fix: 'Offer three. Make the middle one the package you most want to sell.',
spot: checklist,
},
{
title: 'Discounting to win the booking',
short: 'The quick discount',
body: 'A discount tells the couple your first price wasn’t real. It also sets the price their engaged friends will expect when they call you.',
fix: 'Add something instead of cutting the price: an engagement session, an extra hour or a parent album.',
spot: gift,
},
{
title: 'Sending the price before they’ve seen the value',
short: 'Price before value',
flag: 'Costs you most',
body: 'A couple emails, you reply with a PDF price list, and the thread goes quiet. They compared you on one number before they ever pictured their day through your work.',
fix: 'Send every inquiry to one page that shows your work, your process (that list from mistake 2) and your packages, in that order, before the price.',
spot: phone,
},
{
title: 'Never raising your prices',
short: 'Prices that never move',
body: 'Your skill grows every season. If your price stays put, the difference comes out of your evenings and weekends.',
fix: 'Review your prices once a year and raise them for new inquiries, never for couples already booked.',
spot: calendar,
},
{
title: 'Hiding your price completely',
short: 'No price at all',
body: '“Contact me for pricing” feels safe. It invites couples who can’t afford you and quietly turns away the ones who can.',
fix: 'Show a clear “starting from” price so the right couples arrive ready to talk.',
spot: savings,
},
];
const DEFAULT_ITEMS: { name: string; detail?: string; image?: string; imageAlt?: string }[] = [
{ name: 'Funnel Planning Guide', detail: 'Map your offer and the pages your funnel needs.' },
{ name: 'Page Copy Workbook', detail: 'Draft your headline, offer, and call to action.' },
{ name: 'Launch Checklist', detail: 'Review the links, forms, and next steps before launch.' },
];
const DEFAULT_LEAD: ListicleLeadMagnet = {
headline: 'Get the one-page wedding price sheet',
lead: 'Add your costs and hours once. The sheet shows the lowest package price you can say yes to, so you know your floor before the next inquiry lands.',
coverAlt: 'The wedding price sheet guide',
emailLabel: 'Email address',
emailPlaceholder: 'you@example.com',
label: 'Send me the price sheet',
privacy: 'We respect your inbox. Unsubscribe anytime.',
errorEmpty: 'Enter your email so we can send the sheet.',
errorInvalid: 'That email doesn’t look right. Check it and try again.',
};
const DEFAULT_OFFER: ListicleOffer = {
headline: 'Show the work first. Then the price.',
lead: 'The Funnel Starter Kit walks you through the inquiry page that fixes mistake 5: plan it, write the copy, and check every link before your next couple emails.',
couponLabel: 'Kit price',
saving: '$50',
regularPrice: '$97',
wasLabel: 'Regular value:',
price: '$47',
saveLine: '{saving} off',
valueLine: 'the {regular} value of the full kit',
todayLabel: 'Your price today',
note: 'One payment · Lifetime access',
label: 'Send me the kit',
guarantee: '30-day money-back guarantee',
psLabel: 'P.S.',
ps: 'If you fix only one mistake from this list, make it number 5. The workbook in the kit has the page copy for it, ready to fill in.',
};
const DEFAULT_COPY: ListicleCopy = {
readTime: '{minutes} min read',
byPrefix: 'By',
contentsLabel: 'Jump to a mistake',
jumpLabel: 'Jump to',
position: 'Mistake {n} of {total}',
pointLabel: 'Mistake {n}: ',
fixLead: 'Do this instead:',
closeLink: 'Get the fix for mistake 5',
closeShort: 'The fix',
};
const CSS = `
.cf-ab2{--ab2-sh:var(--shadow,oklch(0.22 0.03 260));--ab2-h1:clamp(2.5rem,5.4vw,4.875rem);--ab2-h2:clamp(2rem,3.6vw,3.25rem);--ab2-h3:clamp(1.3125rem,1.8vw,1.625rem);--ab2-lead:clamp(1.125rem,1.5vw,1.375rem);--ab2-body:clamp(1.0625rem,1.25vw,1.125rem);--ab2-num:clamp(4.5rem,8vw,7.5rem);--ab2-rail:clamp(5rem,9vw,8rem);--ab2-pad:clamp(20px,3vw,32px);--ab2-r:var(--card-radius,var(--radius,14px));--ab2-line:var(--card-border,oklch(from var(--ink) l c h / .12));--ab2-marker:color-mix(in oklab,var(--marker,#fae37c) 58%,var(--surface));--ab2-shmd:var(--shadow-md,0 1px 2px oklch(from var(--ab2-sh) l c h / .22),0 4px 10px -2px oklch(from var(--ab2-sh) l c h / .2));--ab2-shlg:var(--shadow-lg,0 2px 4px oklch(from var(--ab2-sh) l c h / .22),0 12px 24px -8px oklch(from var(--ab2-sh) l c h / .32));position:relative;background:var(--surface);color:var(--ink);font-family:var(--font-body);font-size:var(--ab2-body);line-height:1.5;padding:clamp(56px,8vw,112px) clamp(16px,5vw,48px) clamp(64px,8.5vw,120px)}
.cf-ab2 *,.cf-ab2 *::before,.cf-ab2 *::after{box-sizing:border-box}
.cf-ab2 :where(h1,h2,h3,p,ol,ul,figure){margin:0;padding:0}
.cf-ab2 :where(ol,ul){list-style:none}
.cf-ab2 img{display:block;max-width:100%}
.cf-ab2__sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.cf-ab2__ico{display:inline-block;flex:none;vertical-align:-.15em;margin-inline-end:.4em}
.cf-ab2__wrap{width:min(100%,1120px);margin-inline:auto}
.cf-ab2__head{max-width:62rem}
.cf-ab2__meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin-bottom:16px;font-size:.9375rem;font-weight:600;line-height:1.4;color:var(--muted)}
.cf-ab2__chip{display:inline-flex;align-items:center;min-height:28px;padding:4px 12px;border-radius:999px;background:color-mix(in oklch,var(--ink) 6%,var(--surface));color:var(--ink);font-size:.875rem;font-weight:800;line-height:1.2}
.cf-ab2__title{font-family:var(--font-display);font-weight:var(--display-weight,800);letter-spacing:var(--display-tracking,-.025em);text-transform:var(--display-case,none);font-size:var(--ab2-h1);line-height:1.04;color:var(--ink);text-wrap:balance}
.cf-ab2__mark{background-image:linear-gradient(transparent 52%,var(--ab2-marker) 52%,var(--ab2-marker) 92%,transparent 92%);-webkit-box-decoration-break:clone;box-decoration-break:clone;padding-inline:.06em;margin-inline:-.03em;border-radius:.14em}
.cf-ab2__deck{max-width:62ch;margin-top:24px;font-size:var(--ab2-lead);font-weight:500;line-height:1.4;color:var(--muted);text-wrap:pretty}
.cf-ab2__by{display:flex;align-items:center;gap:12px;margin-top:24px}
.cf-ab2__by img{width:56px;height:56px;border-radius:12px;object-fit:cover;object-position:center top}
.cf-ab2__by-name{display:block;font-size:1.0625rem;font-weight:700;line-height:1.3;color:var(--ink)}
.cf-ab2__by-role{display:block;font-size:.9375rem;font-weight:500;line-height:1.4;color:var(--muted)}
.cf-ab2__layout{display:grid;grid-template-columns:15rem minmax(0,1fr);gap:clamp(32px,4vw,56px);align-items:start;margin-top:clamp(40px,6vw,72px)}
.cf-ab2__toc{--ab2-ground:var(--surface);position:sticky;top:24px;z-index:4;align-self:start}
.cf-ab2__bar{display:none}
.cf-ab2__toc-h{margin-bottom:12px;padding-inline:12px;font-family:var(--font-display);font-size:1.0625rem;font-weight:800;line-height:1.3;color:var(--ink)}
.cf-ab2__meter{display:flex;align-items:center;gap:12px;margin-bottom:12px;padding-inline:12px;font-size:.875rem;font-weight:800;line-height:1.2;color:var(--muted);font-variant-numeric:tabular-nums}
.cf-ab2__track{position:relative;flex:1;height:4px;border-radius:999px;background:oklch(from var(--ink) l c h / .1);overflow:hidden}
.cf-ab2__fill{position:absolute;inset:0;border-radius:inherit;background:var(--accent-fill,var(--accent));transform-origin:left center;transition:transform .2s ease}
.cf-ab2__toc-list{display:grid;gap:2px}
.cf-ab2__toc-link{display:grid;grid-template-columns:1.75rem minmax(0,1fr);gap:8px;align-items:start;min-height:44px;padding:10px 12px;border-radius:10px;color:var(--muted);font-size:.9375rem;font-weight:600;line-height:1.35;text-decoration:none;transition:background-color .16s ease,color .16s ease}
.cf-ab2__toc-n{font-family:var(--font-display);font-weight:800;font-variant-numeric:tabular-nums}
.cf-ab2__toc-t{display:block;text-wrap:pretty}
.cf-ab2__toc-link:hover{background:color-mix(in oklch,var(--ink) 5%,var(--ab2-ground));color:var(--ink)}
.cf-ab2__toc-link:active{background:color-mix(in oklch,var(--ink) 9%,var(--ab2-ground))}
.cf-ab2__toc-link.is-active{background:color-mix(in oklch,var(--accent) 11%,var(--ab2-ground));color:var(--ink);font-weight:700}
.cf-ab2__toc-link:focus-visible,.cf-ab2__toc-fix:focus-visible,.cf-ab2__bar:focus-visible{outline:3px solid oklch(from var(--field-focus,var(--accent)) l c h / .6);outline-offset:2px}
.cf-ab2__toc-flag{display:flex;align-items:center;width:fit-content;min-height:28px;margin-top:6px;padding:4px 12px;border-radius:999px;background:var(--accent-fill,var(--accent));color:var(--accent-fill-ink,var(--card));font-size:.875rem;font-weight:800;line-height:1.2}
.cf-ab2__toc-fix{display:block;min-height:44px;margin-top:12px;padding:10px 12px;border-radius:10px;color:var(--link,var(--accent));font-size:.9375rem;font-weight:700;line-height:1.35;text-decoration:underline;text-decoration-color:oklch(from var(--link,var(--accent)) l c h / .45);text-underline-offset:.18em;text-wrap:pretty;transition:color .16s ease}
.cf-ab2__toc-fix:hover{color:oklch(from var(--link,var(--accent)) calc(l - .08) c h);text-decoration-color:currentColor}
.cf-ab2__toc-fix.is-active{text-decoration-color:currentColor;text-decoration-thickness:2px}
.cf-ab2__flow{display:grid;gap:clamp(48px,6vw,72px);min-width:0}
.cf-ab2__points{display:grid;gap:clamp(48px,6vw,72px)}
.cf-ab2__point{display:grid;grid-template-columns:var(--ab2-rail) minmax(0,1fr);column-gap:clamp(16px,3vw,40px);scroll-margin-top:96px}
.cf-ab2__rail{min-width:0}
.cf-ab2__rail-in{position:sticky;top:24px;display:grid;justify-items:start;gap:20px}
.cf-ab2__num{display:block;font-family:var(--font-display);font-weight:var(--display-weight,800);font-size:var(--ab2-num);line-height:.82;letter-spacing:-.04em;color:var(--accent);font-variant-numeric:tabular-nums}
.cf-ab2__point.is-featured{margin-inline:calc(var(--ab2-pad) * -1);padding:var(--ab2-pad);border-radius:var(--ab2-r);background:color-mix(in oklch,var(--accent) 8%,var(--surface))}
.cf-ab2__pbody{min-width:0}
.cf-ab2__phead{min-width:0}
.cf-ab2__spot{display:block;width:72px;line-height:0}
.cf-ab2__spot :is(img,svg){max-width:100%;height:auto}
.cf-ab2__flag{display:inline-flex;align-items:center;min-height:28px;margin-bottom:12px;padding:4px 12px;border-radius:999px;background:var(--accent-fill,var(--accent));color:var(--accent-fill-ink,var(--card));font-size:.875rem;font-weight:800;line-height:1.2}
.cf-ab2__ptitle{padding-top:4px;font-family:var(--font-display);font-weight:var(--display-weight,800);letter-spacing:-.01em;text-transform:var(--display-case,none);font-size:var(--ab2-h3);line-height:1.15;color:var(--ink);text-wrap:balance}
.cf-ab2__ptitle:focus,.cf-ab2__close-h:focus{outline:none}
.cf-ab2__ptext,.cf-ab2__fix{max-width:64ch;margin-top:12px;color:var(--ink);text-wrap:pretty}
.cf-ab2__fix strong{font-weight:800}
.cf-ab2__fig{margin-top:24px}
.cf-ab2__fig img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;object-position:center;border-radius:12px}
.cf-ab2__fig figcaption{margin-top:8px;font-size:.9375rem;font-weight:500;line-height:1.4;color:var(--muted);text-wrap:pretty}
.cf-ab2__point.is-featured figcaption{color:var(--ink)}
.cf-ab2__tease{max-width:64ch;margin-top:20px;padding:12px 16px;border-radius:10px;background:color-mix(in oklch,var(--ink) 5%,var(--surface));color:var(--ink);font-weight:700;text-wrap:pretty}
.cf-ab2__lead{container-type:inline-size;padding:var(--ab2-pad);border:1px solid var(--ab2-line);border-radius:var(--ab2-r);background:var(--card);color:var(--ink);box-shadow:var(--card-shadow,var(--ab2-shlg))}
.cf-ab2__lead-grid{display:grid;grid-template-columns:clamp(8rem,26%,11.5rem) minmax(0,1fr);grid-template-areas:'cover head' 'cover copy' 'cover form';column-gap:32px;align-items:start}
.cf-ab2__lead-grid.no-cover{grid-template-columns:minmax(0,1fr);grid-template-areas:'head' 'copy' 'form'}
.cf-ab2__lead-cover{grid-area:cover}
.cf-ab2__lead-cover img{width:100%;height:auto;aspect-ratio:1;object-fit:contain;filter:drop-shadow(0 2px 3px oklch(from var(--ab2-sh) l c h / .3)) drop-shadow(0 14px 16px oklch(from var(--ab2-sh) l c h / .22))}
.cf-ab2__lead-h{grid-area:head;font-family:var(--font-display);font-weight:var(--display-weight,800);letter-spacing:-.01em;text-transform:var(--display-case,none);font-size:var(--ab2-h3);line-height:1.15;color:var(--ink);text-wrap:balance}
.cf-ab2__lead-p{grid-area:copy;max-width:58ch;margin-top:12px;color:var(--muted);text-wrap:pretty}
.cf-ab2__form{grid-area:form;margin-top:20px}
.cf-ab2__label{display:block;margin-bottom:8px;font-size:1rem;font-weight:700;line-height:1.3;color:var(--label-ink,var(--ink))}
.cf-ab2__row{display:flex;flex-wrap:wrap;gap:12px}
.cf-ab2__field{flex:999 1 15rem;min-width:0;min-height:56px;padding:0 16px;border:1px solid var(--field-border,color-mix(in oklch,var(--ink) 22%,transparent));border-radius:var(--field-radius,var(--radius,12px));background:var(--field);color:var(--field-ink);font-family:var(--font-body);font-size:1.0625rem;line-height:1.3;transition:border-color .16s ease,box-shadow .16s ease}
.cf-ab2__field::placeholder{color:color-mix(in oklch,var(--field-ink) 65%,var(--field));opacity:1}
.cf-ab2__field:focus{outline:none;border-color:var(--field-focus,var(--accent));box-shadow:0 0 0 3px oklch(from var(--field-focus,var(--accent)) l c h / .35)}
.cf-ab2__field[aria-invalid='true']{border-color:var(--danger)}
.cf-ab2__field[aria-invalid='true']:focus{box-shadow:0 0 0 3px oklch(from var(--danger) l c h / .3)}
.cf-ab2__field:disabled{background:color-mix(in oklch,var(--ink) 5%,var(--field));cursor:not-allowed}
.cf-ab2__err{margin-top:8px;font-size:.9375rem;font-weight:600;line-height:1.4;color:var(--danger);text-wrap:pretty}
.cf-ab2__priv{margin-top:12px;font-size:.9375rem;font-weight:500;line-height:1.4;color:var(--muted);text-wrap:pretty}
@container (max-width:34rem){.cf-ab2__lead-grid{grid-template-columns:6.5rem minmax(0,1fr);grid-template-areas:'cover head' 'copy copy' 'form form';column-gap:16px;align-items:center}}
.cf-ab2__btn{--b:var(--button-bg,var(--cta));--b2:var(--button-bg-2,var(--cta-2));position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:64px;padding:0 28px;border:0;border-radius:var(--button-radius,var(--radius,12px));background:linear-gradient(oklch(from var(--b) calc(l + .04) c h),oklch(from var(--b2) calc(l - .02) c h));color:var(--button-ink,var(--cta-ink));font-family:var(--button-font,var(--font-display));font-weight:var(--button-weight,800);text-transform:var(--button-case,none);font-size:var(--ab2-lead);line-height:1.15;text-align:center;text-decoration:none;text-shadow:var(--button-text-shadow,none);box-shadow:var(--button-shadow,inset 0 1px 0 oklch(from var(--b) calc(l + .14) c h / .7),inset 0 -3px 0 oklch(from var(--b) calc(l - .16) c h),0 1px 2px oklch(from var(--ab2-sh) l c h / .3),0 8px 16px -6px oklch(from var(--ab2-sh) l c h / .45));cursor:pointer;-webkit-tap-highlight-color:transparent;transition:transform .16s ease,box-shadow .16s ease,background .16s ease}
.cf-ab2__btn:hover:not(:disabled),.cf-ab2__btn.is-hover:not(:disabled){background:linear-gradient(oklch(from var(--b) calc(l - .01) c h),oklch(from var(--b2) calc(l - .07) c h));box-shadow:var(--button-shadow,inset 0 1px 0 oklch(from var(--b) calc(l + .1) c h / .6),inset 0 -3px 0 oklch(from var(--b) calc(l - .2) c h),0 1px 2px oklch(from var(--ab2-sh) l c h / .32),0 10px 18px -6px oklch(from var(--ab2-sh) l c h / .55));transform:translateY(-1px)}
.cf-ab2__btn:active:not(:disabled),.cf-ab2__btn.is-active:not(:disabled){background:linear-gradient(oklch(from var(--b) calc(l - .06) c h),oklch(from var(--b2) calc(l - .08) c h));box-shadow:inset 0 2px 4px oklch(from var(--b) calc(l - .24) c h / .55),inset 0 -2px 0 oklch(from var(--b) calc(l - .16) c h),0 1px 1px oklch(from var(--ab2-sh) l c h / .3);transform:translateY(1px)}
.cf-ab2__btn:focus-visible{outline:3px solid var(--field-focus,var(--accent));outline-offset:3px}
.cf-ab2__btn:disabled{background:var(--secondary);color:var(--secondary-ink);text-shadow:none;box-shadow:var(--button-2-shadow,var(--shadow-sm));cursor:not-allowed;transform:none}
.cf-ab2__btn--form{flex:1 1 auto;min-height:56px}
.cf-ab2__close{container-type:inline-size;scroll-margin-top:96px;padding:clamp(24px,4vw,48px);border-radius:var(--ab2-r);background:var(--band);color:var(--band-ink);box-shadow:inset 0 0 0 1px oklch(from var(--band-ink) l c h / .08)}
.cf-ab2__close-h{font-family:var(--font-display);font-weight:var(--display-weight,800);letter-spacing:var(--display-tracking,-.025em);text-transform:var(--display-case,none);font-size:var(--ab2-h2);line-height:1.06;color:var(--band-ink);text-wrap:balance}
.cf-ab2__close-lead{max-width:60ch;margin-top:16px;font-size:var(--ab2-lead);font-weight:500;line-height:1.4;color:color-mix(in oklch,var(--band-ink) 86%,var(--band));text-wrap:pretty}
.cf-ab2__close-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,21rem);gap:clamp(24px,4vw,48px);align-items:start;margin-top:32px}
.cf-ab2__close-grid.solo{grid-template-columns:minmax(0,24rem)}
.cf-ab2__items{display:grid;gap:16px}
.cf-ab2__item{display:grid;grid-template-columns:64px minmax(0,1fr);gap:16px;align-items:start}
.cf-ab2__item.no-img{grid-template-columns:minmax(0,1fr)}
.cf-ab2__item img{width:64px;height:64px;border-radius:8px;object-fit:cover}
.cf-ab2__item-n{font-size:1.0625rem;font-weight:700;line-height:1.3;color:var(--band-ink)}
.cf-ab2__item-d{margin-top:4px;font-size:.9375rem;font-weight:500;line-height:1.4;color:color-mix(in oklch,var(--band-ink) 84%,var(--band));text-wrap:pretty}
.cf-ab2__coupon{padding:var(--ab2-pad);border-radius:var(--ab2-r);background:var(--card);color:var(--ink);box-shadow:var(--ab2-shmd)}
.cf-ab2__today-l{font-size:.9375rem;font-weight:700;line-height:1.4;color:var(--ink)}
.cf-ab2__price{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 14px;margin-top:8px}
.cf-ab2__price strong{font-family:var(--font-display);font-weight:var(--display-weight,800);font-size:clamp(2.5rem,4.2vw,3.75rem);line-height:1;letter-spacing:-.03em;color:var(--ink);font-variant-numeric:tabular-nums}
.cf-ab2__was{font-family:var(--font-display);font-weight:700;font-size:var(--ab2-h3);line-height:1;color:var(--muted);text-decoration:line-through;text-decoration-color:var(--danger);text-decoration-thickness:2px;font-variant-numeric:tabular-nums}
.cf-ab2__save{margin-top:14px;font-size:.9375rem;font-weight:600;line-height:1.4;color:var(--muted);text-wrap:pretty}
.cf-ab2__save strong{font-weight:800;color:var(--success)}
.cf-ab2__cnote{margin-top:4px;font-size:.9375rem;font-weight:500;line-height:1.4;color:var(--muted)}
.cf-ab2__buy .cf-ab2__btn{width:100%;margin-top:16px}
.cf-ab2__close .cf-ab2__btn:focus-visible{outline-color:var(--band-ink)}
.cf-ab2__guar{margin-top:12px;text-align:center;font-size:.9375rem;font-weight:600;line-height:1.4;color:color-mix(in oklch,var(--band-ink) 86%,var(--band));text-wrap:pretty}
.cf-ab2__ps{max-width:64ch;margin-top:32px;color:color-mix(in oklch,var(--band-ink) 88%,var(--band));text-wrap:pretty}
.cf-ab2__ps strong{font-weight:800;color:var(--band-ink)}
@container (max-width:40rem){.cf-ab2__close-grid,.cf-ab2__close-grid.solo{grid-template-columns:minmax(0,1fr)}}
@media (max-width:960px){
.cf-ab2__layout{grid-template-columns:minmax(0,1fr);gap:32px}
.cf-ab2__toc{top:8px}
.cf-ab2__bar{position:relative;display:flex;align-items:center;gap:12px;width:100%;min-height:56px;padding:10px 16px 13px;border:1px solid var(--ab2-line);border-radius:var(--ab2-r);background:var(--card);color:var(--ink);box-shadow:var(--ab2-shmd);font:inherit;text-align:left;cursor:pointer;overflow:hidden;transition:background-color .16s ease}
.cf-ab2__bar:hover{background:color-mix(in oklch,var(--ink) 3%,var(--card))}
.cf-ab2__bar:active{background:color-mix(in oklch,var(--ink) 6%,var(--card))}
.cf-ab2__bar-text{display:grid;flex:1;min-width:0;gap:2px}
.cf-ab2__bar-k{font-size:.875rem;font-weight:800;line-height:1.2;color:var(--muted)}
.cf-ab2__bar-v{font-size:1rem;font-weight:700;line-height:1.3;text-wrap:pretty}
.cf-ab2__bar-chev{flex:none;transition:transform .16s ease}
.cf-ab2__toc.is-open .cf-ab2__bar-chev{transform:rotate(180deg)}
.cf-ab2__bar-track{position:absolute;left:0;right:0;bottom:0;height:3px;background:oklch(from var(--ink) l c h / .08)}
.cf-ab2__panel{--ab2-ground:var(--card);position:absolute;top:calc(100% + 8px);left:0;right:0;display:none;max-height:min(65vh,30rem);overflow:auto;padding:8px;border:1px solid var(--ab2-line);border-radius:var(--ab2-r);background:var(--card);box-shadow:var(--ab2-shlg)}
.cf-ab2__toc.is-open .cf-ab2__panel{display:block}
.cf-ab2__panel .cf-ab2__toc-h,.cf-ab2__panel .cf-ab2__meter{display:none}
.cf-ab2__panel .cf-ab2__toc-fix{margin-top:4px}
}
@media (max-width:640px){
.cf-ab2__point{grid-template-columns:minmax(0,1fr)}
.cf-ab2__rail-in{position:static;display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:12px}
.cf-ab2__point.is-featured{margin-inline:0}
.cf-ab2__spot{width:64px}
.cf-ab2__fig img{aspect-ratio:4/3}
}
@media (prefers-reduced-motion:no-preference){
.cf-ab2__head>*{animation:cf-ab2-rise .45s cubic-bezier(.2,.7,.2,1) both}
.cf-ab2__head>:nth-child(2){animation-delay:.07s}
.cf-ab2__head>:nth-child(3){animation-delay:.14s}
.cf-ab2__head>:nth-child(4){animation-delay:.21s}
@supports (animation-timeline:view()){
.cf-ab2__point,.cf-ab2__lead,.cf-ab2__close{animation:cf-ab2-rise linear both;animation-timeline:view();animation-range:entry 0% entry 35%}
}
}
@keyframes cf-ab2-rise{from{opacity:.82;transform:translateY(8px)}}
@media (prefers-reduced-motion:reduce){
.cf-ab2__btn,.cf-ab2__fill,.cf-ab2__toc-link,.cf-ab2__toc-fix,.cf-ab2__bar,.cf-ab2__bar-chev,.cf-ab2__field{transition:none}
.cf-ab2__btn:hover:not(:disabled),.cf-ab2__btn.is-hover:not(:disabled),.cf-ab2__btn:active:not(:disabled),.cf-ab2__btn.is-active:not(:disabled){transform:none}
}
`;
pieces/content/article-body-2/specimen.tsx 117 lines
import __studioImage9247a72e from "../assets/e817ba385e2446e0.webp";
import __studioImagec59d3eda from "../assets/cf7a7bef78cfa727.webp";
import __studioImageca0cd8e7 from "../assets/2d0acd67bec6e2ca.webp";
import defaults from '../../studio-defaults.json';
import { slot } from '../../slots';
import calendar from '../../fx/spots/calendar';
import checklist from '../../fx/spots/checklist';
import clock from '../../fx/spots/clock';
import gift from '../../fx/spots/gift';
import savings from '../../fx/spots/savings';
import { ArticleBody2 } from '../article-body-2';
const sample = defaults.sample;
const ITEM_SLOTS = ['item-1', 'item-2', 'item-3'] as const;
export const states = ['default', 'hover', 'active', 'disabled', 'error'];
type SpecimenState = 'default' | 'hover' | 'active' | 'disabled' | 'error';
export default function ArticleBody2Specimen({ state }: { state?: SpecimenState }) {
const points = [
{
title: 'Copying what other photographers charge',
short: 'Copying the competition',
body: 'Their price covers their costs, their hours and their market. Not yours. Copy it and you inherit a business you’ve never seen the numbers for.',
fix: 'Start from your own costs and the hours each wedding really takes, then set a floor you won’t go under.',
image: slot(
'scene',
__studioImagec59d3eda,
),
imageAlt: 'A wedding photographer talking through packages with an engaged couple at a cafe table',
caption: 'Your price starts with your hours and your costs, not the studio down the road.',
},
{
title: 'Pricing the wedding day and forgetting the rest',
short: 'The forgotten hours',
body: 'The day is the part couples see. Culling, editing, the gallery, the emails and the album come after, and if they’re not in the price, you’re doing them for free.',
fix: 'List every task from first email to final album and put an hour estimate next to each one.',
teaser: 'Hold on to that list. You’ll use it again in mistake 5, the one costing you most.',
spot: clock,
},
{
title: 'Offering too many packages',
short: 'Too many packages',
body: 'Six packages feel generous. To a couple planning a wedding, they feel like homework, and homework gets put off until next week.',
fix: 'Offer three. Make the middle one the package you most want to sell.',
spot: checklist,
},
{
title: 'Discounting to win the booking',
short: 'The quick discount',
body: 'A discount tells the couple your first price wasn’t real. It also sets the price their engaged friends will expect when they call you.',
fix: 'Add something instead of cutting the price: an engagement session, an extra hour or a parent album.',
spot: gift,
},
{
title: 'Sending the price before they’ve seen the value',
short: 'Price before value',
flag: 'Costs you most',
body: 'A couple emails, you reply with a PDF price list, and the thread goes quiet. They compared you on one number before they ever pictured their day through your work.',
fix: 'Send every inquiry to one page that shows your work, your process (that list from mistake 2) and your packages, in that order, before the price.',
image: slot(
'scene',
__studioImageca0cd8e7,
),
imageAlt: 'A wedding photographer reading a new inquiry on a laptop at an evening desk',
caption: 'An inquiry is when a couple is most curious. Show them the work before the number.',
},
{
title: 'Never raising your prices',
short: 'Prices that never move',
body: 'Your skill grows every season. If your price stays put, the difference comes out of your evenings and weekends.',
fix: 'Review your prices once a year and raise them for new inquiries, never for couples already booked.',
spot: calendar,
},
{
title: 'Hiding your price completely',
short: 'No price at all',
body: '“Contact me for pricing” feels safe. It invites couples who can’t afford you and quietly turns away the ones who can.',
fix: 'Show a clear “starting from” price so the right couples arrive ready to talk.',
spot: savings,
},
];
const items = sample.items.map((item, i) => ({
name: item.name,
detail: item.detail,
image: slot(ITEM_SLOTS[i] ?? 'item-1', item.image),
imageAlt: item.imageAlt,
}));
return (
<ArticleBody2
category='Pricing'
readMinutes={6}
author={{ name: 'Maya Lindqvist', role: 'Wedding photographer · writes about pricing and booking' }}
points={points}
leadAfter={3}
coverImage={slot(
'product',
__studioImage9247a72e,
)}
offer={{
lead: `${sample.name} walks you through the inquiry page that fixes mistake 5: plan it, write the copy, and check every link before your next couple emails.`,
price: sample.price,
regularPrice: sample.regularPrice,
saving: '$50',
note: sample.note,
guarantee: sample.guarantee,
label: 'Send me the kit',
}}
items={items}
state={state}
/>
);
}
| Name | Type | Details |
|---|---|---|
category OptionalArticleBody2 |
string |
|
readMinutes OptionalArticleBody2 |
number |
|
title OptionalArticleBody2 |
string |
|
titleHighlight OptionalArticleBody2 |
string |
|
deck OptionalArticleBody2 |
React.ReactNode |
|
author OptionalArticleBody2 |
{ name: string; role?: string } |
|
presenterImage OptionalArticleBody2 |
string |
|
points OptionalArticleBody2 |
ListiclePoint[] |
|
leadAfter OptionalArticleBody2 |
number |
|
coverImage OptionalArticleBody2 |
string |
|
leadMagnet OptionalArticleBody2 |
Partial<ListicleLeadMagnet> |
|
offer OptionalArticleBody2 |
Partial<ListicleOffer> |
|
items OptionalArticleBody2 |
{ name: string; detail?: string; image?: string; imageAlt?: string }[] |
|
copy OptionalArticleBody2 |
Partial<ListicleCopy> |
|
href OptionalArticleBody2 |
string |
|
onAction OptionalArticleBody2 |
() => void |
|
onSubmit OptionalArticleBody2 |
(values: { email: string }) => void |
|
state OptionalArticleBody2 |
'default' | 'hover' | 'active' | 'disabled' | 'error' |
|
className OptionalArticleBody2 |
string |
Theme roles it reads
Set by the theme bar, a preset or your brand. Colours come from the base tokens (--surface, --ink, --cta…) every piece uses.
--button-bg--button-bg-2--button-case--button-font--button-ink--button-radius--button-shadow--button-text-shadow--button-weight- Main CTA button: background, ink, font, weight, case, radius and shadow.
--button-2-shadow- Secondary button.
--card-border--card-radius--card-shadow- Cards and panels: radius, border and shadow.
--display-case--display-tracking--display-weight- Headlines: weight, letter case and tracking.
--field--field-border--field-focus--field-ink--field-radius- Form inputs: background, ink, border, radius and focus colour.
--marker- The highlighter colour behind key phrases.
Image slots
Filled from the brand’s images; the specimen ships its own defaults.
product- The main product shot or cover (ebook, kit, bottle).
scene- A wide atmosphere photo behind or beside the copy.
-
09bc3d4486616844.webp
image/webp · 23.2 KB
-
2d0acd67bec6e2ca.webp
image/webp · 41 KB
-
321240b3188e2da4.webp
image/webp · 18.7 KB
-
369bb6f216bb84ab.webp
image/webp · 22.6 KB
-
63571cb07acc4626.webp
image/webp · 17.3 KB
-
7c36d7f4dd4ae594.webp
image/webp · 26.5 KB
-
87170e25e6a4d825.webp
image/webp · 18.7 KB
-
b77916eca54aa689.webp
image/webp · 8.32 KB
-
cf7a7bef78cfa727.webp
image/webp · 124 KB
-
d0943b629c0b1324.webp
image/webp · 8.87 KB
-
d435db6662febfcf.webp
image/webp · 10 KB
-
e817ba385e2446e0.webp
image/webp · 52.8 KB
-
f0a5d3e1e61804ba.webp
image/webp · 11.6 KB