Replay Session Card 1
Replay session stack: each replay is a full-width numbered panel (speaker, video slot, what-you'll-learn list, watch and program actions) that builds to one closing offer with a single Order now action.
Use it in a prompt
Use content/replay-session-card 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/replay-session-card.tsx. - Import it and pass your copy and images (Props tab):
import { ReplaySessionCard } from "@/components/funneldna/content/replay-session-card"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/content/replay-session-card/component.tsx 410 lines
// layout: scroll-panels
// Replay session stack: each replay is a full-width numbered panel (speaker, video slot, what-you'll-learn list, watch and program actions) that builds to one closing offer with a single Order now action.
import * as React from 'react';
import { Check, Clock, ShieldCheck } from 'lucide-react';
import { Divider, FX_HOST } from '../fx/fx';
export type ReplaySession = {
title: string;
speaker: string;
role?: string;
/** Speaker photo beside the name (presenter slot image). */
portrait?: string;
portraitAlt?: string;
/** CSS object-position for the portrait crop. */
portraitPosition?: string;
/** The page's real video embed; takes the place of the poster. */
video?: React.ReactNode;
/** Still image shown in the video slot when no video is passed. */
poster?: string;
posterAlt?: string;
posterPosition?: string;
/** One short line under the video. */
note?: string;
takeaways?: string[];
/** Supplied date the replay stays open until; hidden when empty. */
availableUntil?: string;
watchHref?: string;
programHref?: string;
watchLabel?: string;
programLabel?: string;
/** Replay not open yet: the watch button is disabled. */
locked?: boolean;
};
const DEFAULT_COPY = {
speakerPrefix: 'With',
learnHeading: 'Press play and you’ll walk away with:',
watchLabel: 'Watch the replay',
programLabel: 'Get the complete program',
lockedLabel: 'Replay not open yet',
/** {date} is replaced with the session's availableUntil. */
availableUntil: 'Replay available until {date}',
/** {n} is replaced with the session number (read by screen readers). */
sessionLabel: 'Session {n}',
priceNote: 'one-time payment',
instruction: 'Click the button below to get instant access',
closeLabel: 'Order now',
};
export type ReplaySessionCardCopy = typeof DEFAULT_COPY;
export type ReplaySessionCardProps = {
headline?: string;
/** Phrase inside the headline that gets the marker stroke. */
highlight?: string;
lead?: string;
/** 3–10 sessions, rendered as stacked panels. */
sessions?: ReplaySession[];
closeHeadline?: string;
closeBody?: string;
/** What the closing offer includes, shown as product thumbnails (item-1 … item-n slot images). */
closeItems?: { name: string; image?: string; imageAlt?: string }[];
/** Supplied offer price, e.g. '$47'; hidden when empty. */
price?: string;
/** Supplied guarantee line; hidden when empty. */
guarantee?: string;
closeHref?: string;
onWatch?: (session: ReplaySession, index: number) => void;
onProgram?: (session: ReplaySession, index: number) => void;
/** Closing Order now click. */
onAction?: () => void;
copy?: Partial<ReplaySessionCardCopy>;
state?: 'default' | 'hover' | 'active' | 'disabled';
className?: string;
};
export function ReplaySessionCard(props: ReplaySessionCardProps) {
const {
headline = 'Watch every replay, then put each idea to work',
highlight = 'put each idea to work',
lead = 'Each session comes with the short list of what you’ll take away. Press play, take notes and keep going when you’re ready.',
sessions = [],
closeHeadline = 'Ready to go further than the replays?',
closeBody = 'Get the complete program: every session, the working notes and the step-by-step plan, together in one place.',
price,
guarantee,
closeHref,
closeItems = [],
onWatch,
onProgram,
onAction,
copy: copyProp,
state = 'default',
className,
} = props;
const copy = { ...DEFAULT_COPY, ...copyProp };
const uid = React.useId();
const forced = state === 'hover' ? ' is-hover' : state === 'active' ? ' is-active' : '';
const off = state === 'disabled';
const money = price ? splitPrice(price) : null;
const hasClose = Boolean(closeHeadline || price);
return (
<section className={'cf-rsc' + (className ? ' ' + className : '')} aria-labelledby={uid + '-h'}>
<style>{CSS}</style>
<div className='cf-rsc__wrap'>
<header className='cf-rsc__top'>
<h2 className='cf-rsc__h2' id={uid + '-h'}>
<Marked text={headline} phrase={highlight} />
</h2>
{lead ? <p className='cf-rsc__lead'>{lead}</p> : null}
</header>
{sessions.length > 0 ? (
<div className='cf-rsc__list'>
{sessions.map((s, i) => {
const n = String(i + 1);
const titleId = uid + '-t' + n;
const takeaways = s.takeaways ?? [];
return (
<article
key={s.title + n}
className='cf-rsc__panel'
style={{ '--i': i } as React.CSSProperties}
aria-labelledby={titleId}
>
<header className='cf-rsc__head'>
<div className='cf-rsc__num' aria-hidden='true'>
<span>{n.padStart(2, '0')}</span>
</div>
<div className='cf-rsc__headtext'>
<h3 className='cf-rsc__title' id={titleId}>
<span className='cf-rsc__sr'>{copy.sessionLabel.replace('{n}', n)}: </span>
{s.title}
</h3>
<p className='cf-rsc__speaker'>
{s.portrait ? (
<img
className='cf-rsc__avatar'
src={s.portrait}
alt={s.portraitAlt ?? ''}
width={56}
height={56}
loading='lazy'
style={{ objectPosition: s.portraitPosition ?? '50% 30%' }}
/>
) : null}
<span>
{copy.speakerPrefix} <strong>{s.speaker}</strong>
{s.role ? (
<span className='cf-rsc__role'>
<span aria-hidden='true'> · </span>
{s.role}
</span>
) : null}
</span>
</p>
</div>
</header>
<div className='cf-rsc__body'>
<div className='cf-rsc__media'>
{s.video || s.poster ? (
<div className='cf-rsc__frame'>
{s.video ? (
s.video
) : (
<img
src={s.poster}
alt={s.posterAlt ?? ''}
width={1280}
height={720}
loading='lazy'
style={{ objectPosition: s.posterPosition ?? '50% 30%' }}
/>
)}
</div>
) : null}
{s.availableUntil ? (
<p className='cf-rsc__until'>
<Clock size={16} strokeWidth={2.5} aria-hidden='true' />
{copy.availableUntil.replace('{date}', s.availableUntil)}
</p>
) : null}
{s.note ? <p className='cf-rsc__note'>{s.note}</p> : null}
<div className='cf-rsc__actrow'>
<Action
variant='secondary'
forced={forced}
href={s.watchHref}
disabled={off || Boolean(s.locked)}
onClick={() => onWatch?.(s, i)}
>
{s.locked ? copy.lockedLabel : s.watchLabel ?? copy.watchLabel}
</Action>
</div>
</div>
<div className='cf-rsc__learn'>
{takeaways.length > 0 ? (
<>
<h4 className='cf-rsc__learnh'>{copy.learnHeading}</h4>
<ul className='cf-rsc__ticks'>
{takeaways.map((t) => (
<li key={t}>
<span className='cf-rsc__tick' aria-hidden='true'>
<Check size={16} strokeWidth={3} />
</span>
<span>{t}</span>
</li>
))}
</ul>
</>
) : null}
<div className='cf-rsc__actrow'>
<Action
variant='primary'
forced={forced}
href={s.programHref}
disabled={off}
onClick={() => onProgram?.(s, i)}
>
{s.programLabel ?? copy.programLabel}
</Action>
</div>
</div>
</div>
</article>
);
})}
</div>
) : null}
</div>
{hasClose ? (
<>
<div className='cf-rsc__edge' style={{ ...(FX_HOST as React.CSSProperties), height: 56 }} aria-hidden='true'>
<Divider shape='angle' tone='band' height={56} />
</div>
<div className='cf-rsc__close'>
<div className='cf-rsc__wrap cf-rsc__closein'>
<div className='cf-rsc__closetext'>
{closeHeadline ? <h3 className='cf-rsc__closeh'>{closeHeadline}</h3> : null}
{closeBody ? <p className='cf-rsc__closebody'>{closeBody}</p> : null}
{closeItems.length > 0 ? (
<ul className='cf-rsc__kit'>
{closeItems.map((item) => (
<li key={item.name}>
{item.image ? (
<img src={item.image} alt={item.imageAlt ?? item.name} width={320} height={320} loading='lazy' />
) : null}
<span>{item.name}</span>
</li>
))}
</ul>
) : null}
</div>
<div className='cf-rsc__offer'>
<div className='cf-rsc__offercard'>
{money ? (
<>
<p className='cf-rsc__price'>
{money.symbol ? <span className='cf-rsc__cur'>{money.symbol}</span> : null}
{money.amount}
</p>
<p className='cf-rsc__pnote'>{copy.priceNote}</p>
</>
) : null}
<p className='cf-rsc__instr'>{copy.instruction}</p>
<Action
variant='close'
forced={forced}
href={closeHref}
disabled={off}
onClick={onAction}
>
{copy.closeLabel}
</Action>
{guarantee ? (
<p className='cf-rsc__guar'>
<ShieldCheck size={16} strokeWidth={2.5} aria-hidden='true' />
{guarantee}
</p>
) : null}
</div>
</div>
</div>
</div>
</>
) : (
<div className='cf-rsc__end' />
)}
</section>
);
}
export default ReplaySessionCard;
function Action(props: {
/** primary/close read --button-*, secondary reads --button-2-*. */
variant: 'primary' | 'secondary' | 'close';
forced: string;
href?: string;
disabled?: boolean;
onClick?: () => void;
children: React.ReactNode;
}) {
const { variant, forced, href, disabled, onClick, children } = props;
const mod =
(variant === 'secondary' ? 'cf-rsc__btn--2' : 'cf-rsc__btn--1') +
(variant === 'close' ? ' cf-rsc__btn--close' : '') +
forced;
if (href && !disabled) {
return (
<a className={'cf-rsc__btn ' + mod} href={href} onClick={onClick}>
{children}
</a>
);
}
return (
<button type='button' className={'cf-rsc__btn ' + mod} disabled={disabled} onClick={onClick}>
{children}
</button>
);
}
function Marked({ text, phrase }: { text: string; phrase?: string }) {
const at = phrase ? text.indexOf(phrase) : -1;
if (!phrase || at < 0) return <>{text}</>;
return (
<>
{text.slice(0, at)}
<span className='cf-rsc__mark'>{phrase}</span>
{text.slice(at + phrase.length)}
</>
);
}
function splitPrice(price: string) {
const at = price.search(/[0-9]/);
if (at <= 0) return { symbol: '', amount: price };
return { symbol: price.slice(0, at).trim(), amount: price.slice(at) };
}
const CSS = `
.cf-rsc{--rsc-gutter:clamp(16px,5vw,48px);position:relative;overflow-x:clip;background:var(--surface);color:var(--ink);font-family:var(--font-body);padding-top:clamp(56px,8vw,112px)}
.cf-rsc *,.cf-rsc *::before,.cf-rsc *::after{box-sizing:border-box}
.cf-rsc__wrap{width:min(1120px,calc(100% - 2 * var(--rsc-gutter)));margin-inline:auto}
.cf-rsc__top{max-width:46rem;margin:0 auto clamp(32px,4vw,48px);text-align:center}
.cf-rsc__h2,.cf-rsc__title,.cf-rsc__closeh{margin:0;font-family:var(--font-display);font-weight:var(--display-weight,800);letter-spacing:var(--display-tracking,-0.025em);text-transform:var(--display-case,none);text-wrap:balance}
.cf-rsc__h2{font-size:clamp(2rem,3.6vw,3.25rem);line-height:1.06;color:var(--ink)}
.cf-rsc__mark{padding:0 .08em;border-radius:.1em;background:linear-gradient(transparent 50%,color-mix(in oklch,var(--marker,#fae37c) 72%,var(--surface)) 50%,color-mix(in oklch,var(--marker,#fae37c) 72%,var(--surface)) 94%,transparent 94%);-webkit-box-decoration-break:clone;box-decoration-break:clone}
.cf-rsc__lead{margin:16px auto 0;max-width:60ch;color:var(--muted);font-size:clamp(1.125rem,1.5vw,1.375rem);line-height:1.4;font-weight:500;text-wrap:pretty}
.cf-rsc__list{display:grid;gap:clamp(32px,4vw,48px)}
.cf-rsc__panel{overflow:hidden;background:var(--card);color:var(--ink);border:1px solid var(--card-border,oklch(from var(--ink) l c h / .12));border-radius:var(--card-radius,var(--radius,14px));box-shadow:var(--card-shadow,var(--shadow-md,0 1px 2px oklch(0.22 0.03 260 / .22),0 4px 10px -2px oklch(0.22 0.03 260 / .2)));animation:cf-rsc-rise .45s cubic-bezier(.2,.7,.2,1) both;animation-delay:min(calc(var(--i,0) * .07s),.28s)}
.cf-rsc__head{display:grid;grid-template-columns:clamp(112px,13vw,168px) minmax(0,1fr);background:var(--band);color:var(--band-ink)}
.cf-rsc__num{display:flex;align-items:center;padding-inline-start:clamp(20px,2.4vw,32px);background:var(--accent-fill,var(--accent));color:var(--accent-fill-ink,var(--card));clip-path:polygon(0 0,100% 0,70% 100%,0 100%);font-family:var(--font-display);font-size:clamp(2.5rem,4.2vw,3.75rem);font-weight:800;line-height:1;letter-spacing:-0.03em;font-variant-numeric:tabular-nums}
.cf-rsc__headtext{min-width:0;padding:clamp(24px,3.5vw,40px) clamp(20px,3.5vw,40px) clamp(24px,3.5vw,40px) clamp(8px,1.5vw,16px)}
.cf-rsc__title{font-size:clamp(2rem,3.6vw,3.25rem);line-height:1.06;color:var(--band-ink)}
.cf-rsc__speaker{display:flex;align-items:center;gap:12px;margin:20px 0 0;font-size:clamp(1.0625rem,1.25vw,1.125rem);line-height:1.4;color:var(--band-ink)}
.cf-rsc__speaker strong{font-weight:800}
.cf-rsc__role{font-weight:500}
.cf-rsc__avatar{flex:none;display:block;width:56px;height:56px;border-radius:12px;object-fit:cover}
.cf-rsc__sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.cf-rsc__body{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:clamp(24px,4vw,48px);align-items:stretch;padding:clamp(20px,3vw,32px)}
.cf-rsc__media,.cf-rsc__learn{display:flex;flex-direction:column;min-width:0}
.cf-rsc__frame{position:relative;aspect-ratio:16/9;overflow:hidden;border-radius:12px;background:color-mix(in oklch,var(--ink) 6%,var(--card))}
.cf-rsc__frame>img,.cf-rsc__frame>iframe,.cf-rsc__frame>video{display:block;width:100%;height:100%;border:0;object-fit:cover}
.cf-rsc__until{margin:16px 0 0;font-size:.9375rem;line-height:1.4;font-weight:700;color:var(--ink);text-wrap:pretty}
.cf-rsc__until svg,.cf-rsc__guar svg{display:inline-block;vertical-align:-0.15em;margin-inline-end:.4em}
.cf-rsc__note{margin:12px 0 0;font-size:.9375rem;line-height:1.4;font-weight:500;color:var(--muted);text-wrap:pretty}
.cf-rsc__actrow{margin-top:auto;padding-top:24px}
.cf-rsc__learnh{margin:0;font-family:var(--font-display);font-size:clamp(1.3125rem,1.8vw,1.625rem);line-height:1.15;font-weight:800;letter-spacing:-0.01em;color:var(--ink);text-wrap:balance}
.cf-rsc__ticks{display:grid;gap:16px;margin:16px 0 0;padding:0;list-style:none}
.cf-rsc__ticks li{display:grid;grid-template-columns:24px minmax(0,1fr);gap:12px;font-size:clamp(1.0625rem,1.25vw,1.125rem);line-height:1.5;color:var(--ink);text-wrap:pretty}
.cf-rsc__tick{display:grid;place-items:center;width:24px;height:24px;margin-top:.1em;border-radius:999px;background:var(--success);color:var(--success-ink,#fff)}
.cf-rsc__btn{display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:64px;padding:12px 28px;border:0;border-radius:var(--button-radius,var(--radius,12px));font-family:var(--button-font,var(--font-display));font-size:clamp(1.125rem,1.55vw,1.375rem);font-weight:var(--button-weight,800);line-height:1.15;text-transform:var(--button-case,none);text-align:center;text-decoration:none;text-wrap:balance;cursor:pointer;transition:background .16s ease,box-shadow .16s ease,transform .16s ease}
.cf-rsc__btn--1{color:var(--button-ink,var(--cta-ink));text-shadow:var(--button-text-shadow,none);background:linear-gradient(oklch(from var(--button-bg,var(--cta)) calc(l + .04) c h),oklch(from var(--button-bg-2,var(--cta-2)) calc(l - .02) c h));box-shadow:var(--button-shadow,inset 0 1px 0 oklch(from var(--button-bg,var(--cta)) calc(l + .14) c h / .7),inset 0 -3px 0 oklch(from var(--button-bg,var(--cta)) calc(l - .16) c h),0 1px 2px oklch(from var(--shadow,oklch(.22 .03 260)) l c h / .3),0 8px 16px -6px oklch(from var(--shadow,oklch(.22 .03 260)) l c h / .45))}
.cf-rsc__btn--1:hover:not(:disabled),.cf-rsc__btn--1.is-hover:not(:disabled){background:linear-gradient(oklch(from var(--button-bg,var(--cta)) calc(l - .01) c h),oklch(from var(--button-bg-2,var(--cta-2)) calc(l - .07) c h));box-shadow:var(--button-shadow,inset 0 1px 0 oklch(from var(--button-bg,var(--cta)) calc(l + .1) c h / .7),inset 0 -3px 0 oklch(from var(--button-bg,var(--cta)) calc(l - .2) c h),0 1px 2px oklch(from var(--shadow,oklch(.22 .03 260)) l c h / .32),0 10px 18px -6px oklch(from var(--shadow,oklch(.22 .03 260)) l c h / .5))}
.cf-rsc__btn--1:active:not(:disabled),.cf-rsc__btn--1.is-active:not(:disabled){transform:translateY(1px);box-shadow:inset 0 2px 3px oklch(from var(--button-bg,var(--cta)) calc(l - .2) c h / .5),inset 0 -2px 0 oklch(from var(--button-bg,var(--cta)) calc(l - .16) c h),0 1px 2px oklch(from var(--shadow,oklch(.22 .03 260)) l c h / .3)}
.cf-rsc__btn--2{color:var(--button-2-ink,var(--secondary-ink));background:var(--button-2-bg,var(--secondary));border:1px solid var(--button-2-border,transparent);box-shadow:var(--button-2-shadow,var(--shadow-sm))}
.cf-rsc__btn--2:hover:not(:disabled),.cf-rsc__btn--2.is-hover:not(:disabled){background:oklch(from var(--button-2-bg,var(--secondary)) calc(l - .04) c h)}
.cf-rsc__btn--2:active:not(:disabled),.cf-rsc__btn--2.is-active:not(:disabled){transform:translateY(1px);box-shadow:inset 0 1px 2px oklch(from var(--shadow,oklch(.22 .03 260)) l c h / .25)}
.cf-rsc__btn:focus-visible{outline:3px solid oklch(from var(--field-focus,var(--accent)) l c h / .55);outline-offset:3px}
.cf-rsc__btn:disabled{cursor:not-allowed;color:color-mix(in oklch,var(--button-2-ink,var(--secondary-ink)) 75%,var(--button-2-bg,var(--secondary)));background:var(--button-2-bg,var(--secondary));border-color:var(--button-2-border,transparent);box-shadow:none;text-shadow:none;transform:none}
.cf-rsc__edge{position:relative;margin-top:clamp(48px,6vw,64px)}
.cf-rsc__end{height:clamp(64px,8.5vw,120px)}
.cf-rsc__close{background:var(--band);color:var(--band-ink);padding:clamp(24px,3vw,40px) 0 clamp(64px,8.5vw,120px)}
.cf-rsc__closein{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,420px);gap:clamp(32px,5vw,72px);align-items:start}
.cf-rsc__closetext{min-width:0}
.cf-rsc__closeh{font-size:clamp(2rem,3.6vw,3.25rem);line-height:1.06;color:var(--band-ink)}
.cf-rsc__closebody{margin:16px 0 0;max-width:52ch;font-size:clamp(1.125rem,1.5vw,1.375rem);line-height:1.4;font-weight:500;color:var(--band-ink);text-wrap:pretty}
.cf-rsc__kit{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(12px,2vw,24px);max-width:520px;margin:32px 0 0;padding:0;list-style:none}
.cf-rsc__kit li{display:flex;flex-direction:column;gap:12px;min-width:0;font-size:.9375rem;line-height:1.3;font-weight:600;color:var(--band-ink);text-wrap:balance}
.cf-rsc__kit img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:8px;filter:drop-shadow(0 2px 3px oklch(from var(--shadow,oklch(.22 .03 260)) calc(l - .08) c h / .45)) drop-shadow(0 10px 14px oklch(from var(--shadow,oklch(.22 .03 260)) calc(l - .08) c h / .35))}
.cf-rsc__offer{min-width:0}
.cf-rsc__offercard{padding:clamp(24px,3vw,36px);text-align:center;background:var(--card);color:var(--ink);border:1px solid var(--card-border,oklch(from var(--ink) l c h / .12));border-radius:var(--card-radius,var(--radius,14px));box-shadow:var(--shadow-lg,0 2px 4px oklch(0.22 0.03 260 / .22),0 12px 24px -8px oklch(0.22 0.03 260 / .32))}
.cf-rsc__price{margin:0;font-family:var(--font-display);font-size:clamp(2.5rem,4.2vw,3.75rem);font-weight:800;line-height:1;letter-spacing:-0.03em;font-variant-numeric:tabular-nums;color:var(--ink)}
.cf-rsc__cur{position:relative;top:.12em;margin-inline-end:.04em;font-size:.45em;vertical-align:top}
.cf-rsc__pnote{margin:12px 0 0;font-size:.9375rem;line-height:1.4;font-weight:600;color:var(--muted)}
.cf-rsc__instr{margin:20px 0 0;font-size:clamp(1.0625rem,1.25vw,1.125rem);line-height:1.5;font-weight:700;color:var(--ink);text-wrap:balance}
.cf-rsc__instr:first-child{margin-top:0}
.cf-rsc__btn--close{width:100%;min-height:72px;margin-top:16px}
.cf-rsc__guar{margin:16px 0 0;font-size:.9375rem;line-height:1.4;font-weight:600;color:var(--muted);text-wrap:pretty}
@keyframes cf-rsc-rise{from{opacity:.82;transform:translateY(8px)}to{opacity:1;transform:none}}
@media (max-width:860px){.cf-rsc__body{grid-template-columns:minmax(0,1fr)}.cf-rsc__closein{grid-template-columns:minmax(0,1fr)}.cf-rsc__offer{max-width:440px}}
@media (max-width:640px){.cf-rsc__head{grid-template-columns:minmax(0,1fr)}.cf-rsc__num{width:112px;min-height:64px;padding-inline-start:20px;clip-path:polygon(0 0,100% 0,80% 100%,0 100%)}.cf-rsc__headtext{padding:20px 20px 24px}.cf-rsc__title{font-size:1.625rem;line-height:1.15}.cf-rsc__actrow{padding-top:20px}.cf-rsc__kit{margin-top:24px}}
@media (prefers-reduced-motion:reduce){.cf-rsc__panel{animation:none}.cf-rsc__btn{transition:none}.cf-rsc__btn:active,.cf-rsc__btn.is-active{transform:none}}
`;
pieces/content/replay-session-card/specimen.tsx 82 lines
import __studioImage9929d46b from "../assets/6fe46557655dc45b.webp";
import __studioImaged804b44c from "../assets/a368edb4075f4213.webp";
import __studioImage764fde8c from "../assets/1f24938939e87614.webp";
// Specimen: three fictional workshop replays building to the Funnel Starter Kit close.
import ReplaySessionCard from '../replay-session-card';
import defaults from '../../studio-defaults.json';
import { slot } from '../../slots';
const priyaPhoto = __studioImage9929d46b;
const danielPhoto = __studioImaged804b44c;
const lenaPhoto = __studioImage764fde8c;
export const states = ['default', 'hover', 'active', 'disabled'];
export default function ReplaySessionCardSpecimen({ state }: { state?: 'default' | 'hover' | 'active' | 'disabled' }) {
const sample = defaults.sample;
const host = slot('presenter', priyaPhoto);
return (
<ReplaySessionCard
state={state}
headline='Watch the replays, then build your first funnel this week'
highlight='build your first funnel'
lead='Three short sessions, each with the takeaways you can use tonight. Press play, take notes, then keep building.'
sessions={[
{
title: 'Shape an offer your buyer understands in one read',
speaker: 'Priya Nair',
role: 'Offer coach',
portrait: host,
poster: host,
posterAlt: 'Priya Nair at her studio desk, ready to teach',
note: 'Keep your offer open in another tab and edit it as you watch.',
takeaways: [
'Why one buyer and one problem make every line of your offer easier to write',
'The three-sentence offer test to run before you build a single page',
'How to name what they get so it sounds like a result, not a file',
'The one question that tells you if your price will feel fair',
],
},
{
title: 'Write page copy that earns the click',
speaker: 'Daniel Okafor',
role: 'Copywriter',
portrait: danielPhoto,
poster: danielPhoto,
posterAlt: 'Daniel Okafor at his desk with page drafts',
note: 'Open the Page Copy Workbook and fill it in while Daniel writes his.',
takeaways: [
'The headline shape Daniel uses on every first draft',
'How to turn features into bullets that make people curious',
'Where your button goes so it shows up right when they’re ready',
'The short P.S. that brings skimmers back to the offer',
],
},
{
title: 'Check every step before you send traffic',
speaker: 'Lena Fischer',
role: 'Launch planner',
portrait: lenaPhoto,
poster: lenaPhoto,
posterAlt: 'Lena Fischer at her standing desk with a checklist',
note: 'Keep the Launch Checklist beside you and tick it off as Lena goes.',
takeaways: [
'The five-minute click-through that catches broken links and forms',
'What to test on your phone before anyone else sees the page',
'How to write the thank-you step so new buyers know what happens next',
'The launch-day order Lena follows so nothing gets skipped',
],
},
]}
closeHeadline={'Build along with every session using ' + sample.name}
closeBody={sample.reason}
closeItems={sample.items.map((item, k) => ({
name: item.name,
image: slot('item-' + (k + 1), item.image),
imageAlt: item.imageAlt,
}))}
price={sample.price}
guarantee={sample.guarantee}
/>
);
}
| Name | Type | Details |
|---|---|---|
headline OptionalReplaySessionCard |
string |
|
highlight OptionalReplaySessionCard |
string |
|
lead OptionalReplaySessionCard |
string |
|
sessions OptionalReplaySessionCard |
ReplaySession[] |
|
closeHeadline OptionalReplaySessionCard |
string |
|
closeBody OptionalReplaySessionCard |
string |
|
closeItems OptionalReplaySessionCard |
{ name: string; image?: string; imageAlt?: string }[] |
|
price OptionalReplaySessionCard |
string |
|
guarantee OptionalReplaySessionCard |
string |
|
closeHref OptionalReplaySessionCard |
string |
|
onWatch OptionalReplaySessionCard |
(session: ReplaySession, index: number) => void |
|
onProgram OptionalReplaySessionCard |
(session: ReplaySession, index: number) => void |
|
onAction OptionalReplaySessionCard |
() => void |
|
copy OptionalReplaySessionCard |
Partial<ReplaySessionCardCopy> |
|
state OptionalReplaySessionCard |
'default' | 'hover' | 'active' | 'disabled' |
|
className OptionalReplaySessionCard |
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-bg--button-2-border--button-2-ink--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-focus- 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.
presenter- A photo of the host, coach or founder.
-
1f24938939e87614.webp
image/webp · 32.7 KB
-
6fe46557655dc45b.webp
image/webp · 58.9 KB
-
a368edb4075f4213.webp
image/webp · 75.3 KB
-
b77916eca54aa689.webp
image/webp · 8.32 KB
-
d435db6662febfcf.webp
image/webp · 10 KB
-
f0a5d3e1e61804ba.webp
image/webp · 11.6 KB