Bridge Page 3
Bridge page set as an editorial interview: the three questions the visitor is thinking before the offer page,
Use it in a prompt
Use hero/bridge-page-3 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/hero/bridge-page-3.tsx. - Import it and pass your copy and images (Props tab):
import { BridgePage3 } from "@/components/funneldna/hero/bridge-page-3"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/hero/bridge-page-3/component.tsx 469 lines
// layout: interview-qa
// Bridge page set as an editorial interview: the three questions the visitor is thinking before the offer page,
// each answered in two lines by the host, the last answer ending in the continue button. Phones read it one question at a time.
import * as React from 'react'
import { AlertCircle, Loader2 } from 'lucide-react'
import { FX_HOST, Texture } from '../fx/fx'
import leak from '../fx/textures/leak'
/** States the piece implements; hover and active can be forced for previews. */
export type BridgePage3State = 'default' | 'hover' | 'active' | 'disabled' | 'error'
export type BridgePage3Item = {
/** The question the visitor is thinking, in their own words */
question: string
/** The host’s answer in two short lines; supports **bold** */
answer: string[]
}
export type BridgePage3Props = {
/** Headline; wrap one phrase in ==marker== for a single highlighter stroke */
headline?: string
/** One medium-weight line under the headline; supports **bold** */
lead?: string
/** The questions and answers (designed for three); the last answer ends in the continue button */
items?: BridgePage3Item[]
/** Set each question in curly quotes, as the visitor’s own words */
quoteQuestions?: boolean
/** Host portrait (src string, slot: presenter), shown beside the first answer */
presenterImage?: string
/** Alt text for the host portrait */
presenterAlt?: string
/** Host name under the portrait; an empty string hides the caption */
hostName?: string
/** Quiet line under the host name */
hostRole?: string
/** Short name set before each answer, interview style; defaults to the host’s first name, empty hides it */
hostTag?: string
/** Price shown in the last answer; empty hides the price line */
price?: string
/** Template for the price line; {price} is replaced by the price */
priceTemplate?: string
/** The value in words beside the price */
priceNote?: string
/** The question the button answers */
ctaQuestion?: string
/** Continue button label, first person */
ctaLabel?: string
/** Shorter label for narrow phones so the button stays on one line */
ctaShortLabel?: string
/** Navigation destination of the continue button */
href?: string
/** One short line under the button */
ctaNote?: string
/** Button label while an onAction promise is pending */
loadingLabel?: string
/** Message under the button when the action fails */
errorText?: string
/** Turns the continue button into a quiet, inactive control */
disabled?: boolean
/** Line under the button while disabled */
disabledNote?: string
/** Phone stepper position; {current} and {total} are replaced by numbers */
stepLabel?: string
/** Phone stepper next button */
nextLabel?: string
/** Phone stepper back button */
backLabel?: string
/** Accessible name for the phone stepper controls */
stepperLabel?: string
/** Stops the link navigating so onAction handles the click (previews, builders) */
preventNavigation?: boolean
/** Called on click. When the click stays on the page, a returned promise shows the loading label; a rejection shows errorText. */
onAction?: (event: React.MouseEvent<HTMLAnchorElement>) => void | Promise<void>
/** Forced visual state for previews */
state?: BridgePage3State
/** Section id for in-page anchors */
id?: string
/** Root class for page-level placement */
className?: string
}
const DEFAULT_ITEMS: BridgePage3Item[] = [
{
question: 'Is this another course?',
answer: [
'No. What’s on the next page is a tool you use, not lessons you sit through.',
'It picks up **right where your free download leaves off**.',
],
},
{
question: 'Why are you sending me there?',
answer: [
'Your download shows you what to do. The next page is where it gets done.',
'I’d rather you see it for yourself than take my word for it.',
],
},
{
question: 'What does it cost me to look?',
answer: [
'Nothing. Looking is free and takes a couple of minutes.',
'If you decide to stay, the price is right there, up front.',
],
},
]
export function BridgePage3(props: BridgePage3Props) {
const {
headline = 'Before you click, ==three honest answers==.',
lead = 'Here’s what you’re probably wondering about the next page, answered straight.',
items = DEFAULT_ITEMS,
quoteQuestions = true,
presenterImage,
presenterAlt = 'Portrait of your host',
hostName = '',
hostRole = '',
hostTag = hostName.split(' ')[0] ?? '',
price = '',
priceTemplate = 'Just {price}',
priceNote = '',
ctaQuestion = 'Ready to take a look?',
ctaLabel = 'I’m ready, take me there',
ctaShortLabel,
href = '#continue',
ctaNote = 'Opens the next page',
loadingLabel = 'Opening…',
errorText = 'That page didn’t open. Tap the button to try again.',
disabled = false,
disabledNote = 'The next page opens here as soon as it’s ready.',
stepLabel = '{current} of {total}',
nextLabel = 'Next question',
backLabel = 'Back',
stepperLabel = 'Move between the questions',
preventNavigation = false,
onAction,
state = 'default',
id,
className,
} = props
const uid = React.useId().replace(/:/g, '')
const headId = 'cfb3-h-' + uid
const listId = 'cfb3-l-' + uid
const msgId = 'cfb3-m-' + uid
const list = items.length ? items : DEFAULT_ITEMS
const total = list.length
const last = total - 1
const [step, setStep] = React.useState(0)
const [phase, setPhase] = React.useState<'idle' | 'loading' | 'error'>('idle')
const mounted = React.useRef(true)
const moved = React.useRef(false)
const qRefs = React.useRef<(HTMLHeadingElement | null)[]>([])
React.useEffect(() => {
setPhase('idle')
}, [state])
React.useEffect(() => {
mounted.current = true
const reset = () => setPhase('idle')
window.addEventListener('pageshow', reset)
return () => {
mounted.current = false
window.removeEventListener('pageshow', reset)
}
}, [])
// Phone stepper: after Back or Next, focus lands on the new question so keyboard and screen-reader users keep their place.
React.useEffect(() => {
if (!moved.current) return
moved.current = false
qRefs.current[step]?.focus()
}, [step])
const current = Math.min(step, Math.max(last, 0))
const go = (next: number) => {
const n = Math.min(Math.max(next, 0), last)
if (n === current) return
moved.current = true
setStep(n)
}
const isDisabled = disabled || state === 'disabled'
const loading = !isDisabled && phase === 'loading'
const failed = !isDisabled && !loading && (phase === 'error' || state === 'error')
const force = !isDisabled && (state === 'hover' || state === 'active') ? state : undefined
const nextForce = state === 'hover' || state === 'active' ? state : undefined
const handleClick = async (event: React.MouseEvent<HTMLAnchorElement>) => {
if (isDisabled || loading) {
event.preventDefault()
return
}
if (preventNavigation || !href || href === '#') event.preventDefault()
setPhase('idle')
try {
const result = onAction?.(event)
if (!result || !event.defaultPrevented) return
setPhase('loading')
await result
if (mounted.current) setPhase('idle')
} catch {
if (mounted.current) setPhase('error')
}
}
const message = isDisabled ? disabledNote : failed ? errorText : ctaNote
const stepText = stepLabel.replace('{current}', String(current + 1)).replace('{total}', String(total))
const priceBits = priceTemplate.includes('{price}') ? priceTemplate.split('{price}') : [priceTemplate, '']
const pricePre = (priceBits[0] ?? '').trim()
const pricePost = (priceBits[1] ?? '').trim()
const label = loading ? (
<>
<Loader2 className='cfb3-spin' aria-hidden='true' size={20} strokeWidth={2.5} />
<span>{loadingLabel}</span>
</>
) : ctaShortLabel ? (
<>
<span className='cfb3-full'>{ctaLabel}</span>
<span className='cfb3-short'>{ctaShortLabel}</span>
</>
) : (
<span>{ctaLabel}</span>
)
return (
<section
id={id}
className={['cf-bridge-page-3', className].filter(Boolean).join(' ')}
aria-labelledby={headId}
style={FX_HOST}
>
<style>{CSS}</style>
<Texture src={leak} tone='accent-fill' position='top right' />
<div className='cfb3-in'>
<header className='cfb3-head'>
<h1 id={headId} className='cfb3-h1 cfb3-rv' style={{ '--i': 0 } as React.CSSProperties}>
{rich(headline, 'h')}
</h1>
{lead ? (
<p className='cfb3-lead cfb3-rv' style={{ '--i': 1 } as React.CSSProperties}>
{rich(lead, 'l')}
</p>
) : null}
</header>
{total > 1 ? (
<div className='cfb3-steps'>
<span aria-live='polite'>{stepText}</span>
<span className='cfb3-bar' aria-hidden='true'>
{list.map((_, i) => (
<i key={i} data-on={i <= current ? '' : undefined} />
))}
</span>
</div>
) : null}
<ol id={listId} className='cfb3-list'>
{list.map((item, i) => {
const isLast = i === last
const showHost = i === 0 && (presenterImage || hostName)
return (
<li
key={i}
className='cfb3-item cfb3-rv'
data-current={i === current ? '' : undefined}
style={{ '--i': Math.min(i + 2, 4) } as React.CSSProperties}
>
<span className='cfb3-num' aria-hidden='true'>
{String(i + 1).padStart(2, '0')}
</span>
<h2
ref={(el) => {
qRefs.current[i] = el
}}
tabIndex={-1}
className='cfb3-q'
>
{quoteQuestions ? '“' + item.question + '”' : item.question}
</h2>
{showHost ? (
<figure className='cfb3-host'>
{presenterImage ? (
<img src={presenterImage} alt={presenterAlt} width={192} height={192} loading='eager' decoding='async' />
) : null}
{hostName ? (
<figcaption>
<strong>{hostName}</strong>
{hostRole ? <span>{hostRole}</span> : null}
</figcaption>
) : null}
</figure>
) : null}
<div className='cfb3-a'>
{item.answer.slice(0, 2).map((line, j) => (
<p key={j} className={j === 0 ? 'cfb3-line cfb3-line1' : 'cfb3-line'}>
{j === 0 && hostTag ? (
<>
<span className='cfb3-who'>{hostTag}:</span>{' '}
</>
) : null}
{rich(line, 'a' + i + '-' + j)}
</p>
))}
{isLast ? (
<div className='cfb3-close'>
{price ? (
<p className='cfb3-price'>
{pricePre ? <span className='cfb3-just'>{pricePre}</span> : null}
<strong className='cfb3-amt'>{price}</strong>
{pricePost ? <span className='cfb3-just'>{pricePost}</span> : null}
{priceNote ? <span className='cfb3-pnote'>{priceNote}</span> : null}
</p>
) : null}
{ctaQuestion ? <p className='cfb3-ask'>{ctaQuestion}</p> : null}
<a
className='cfb3-cta'
href={isDisabled ? undefined : href}
role={isDisabled ? 'link' : undefined}
aria-disabled={isDisabled || undefined}
aria-busy={loading || undefined}
aria-describedby={message ? msgId : undefined}
data-force={force}
onClick={handleClick}
>
{label}
</a>
{message ? (
<p id={msgId} className='cfb3-msg' data-tone={failed ? 'error' : undefined} role={failed ? 'alert' : undefined}>
{failed ? <AlertCircle aria-hidden='true' size={16} strokeWidth={2.5} /> : null}
{message}
</p>
) : null}
</div>
) : null}
</div>
</li>
)
})}
</ol>
{total > 1 ? (
<div className='cfb3-nav' role='group' aria-label={stepperLabel}>
<button type='button' className='cfb3-back' onClick={() => go(current - 1)} disabled={current === 0} aria-controls={listId}>
{backLabel}
</button>
<button
type='button'
className='cfb3-next'
onClick={() => go(current + 1)}
disabled={current === last}
aria-controls={listId}
data-force={nextForce}
>
{nextLabel}
</button>
</div>
) : null}
</div>
</section>
)
}
export default BridgePage3
/** ==marker== becomes one highlighter stroke, **bold** becomes strong. */
function rich(text: string, key: string): React.ReactNode[] {
return text
.split(/(==[^=]+==|[*]{2}[^*]+[*]{2})/g)
.filter(Boolean)
.map((part, i) => {
if (part.length > 4 && part.startsWith('==') && part.endsWith('==')) {
return (
<mark key={key + i} className='cfb3-mark'>
{part.slice(2, -2)}
</mark>
)
}
if (part.length > 4 && part.startsWith('**') && part.endsWith('**')) {
return <strong key={key + i}>{part.slice(2, -2)}</strong>
}
return <React.Fragment key={key + i}>{part}</React.Fragment>
})
}
const CSS = `
.cf-bridge-page-3{--cfb3-line:oklch(from var(--ink, #101828) l c h / .14);--cfb3-sh:var(--shadow, oklch(.22 .03 260));--cfb3-marker:oklch(from color-mix(in oklab, var(--marker, #fae37c) 62%, var(--surface, #fff)) l calc(c * 1.5) h);--cfb3-bg:var(--button-bg, var(--cta, #d92d20));--cfb3-bg2:var(--button-bg-2, var(--cta-2, #b42318));position:relative;overflow:hidden;background:var(--surface, #fff);color:var(--ink, #101828);font-family:var(--font-body, sans-serif);padding:clamp(56px, 8vw, 112px) clamp(16px, 5vw, 48px) clamp(64px, 8.5vw, 120px)}
.cf-bridge-page-3 *{box-sizing:border-box}
.cf-bridge-page-3 .cfb3-in{position:relative;z-index:1;max-width:980px;margin:0 auto}
.cf-bridge-page-3 .cfb3-h1{margin:0;font-family:var(--font-display, sans-serif);font-weight:var(--display-weight, 800);letter-spacing:var(--display-tracking, -0.025em);text-transform:var(--display-case, none);font-size:clamp(2.5rem, 5.4vw, 4.875rem);line-height:1.04;text-wrap:balance}
.cf-bridge-page-3 .cfb3-mark{color:inherit;background:linear-gradient(180deg, transparent 0 26%, var(--cfb3-marker) 26% 94%, transparent 94%);padding:0 .1em;margin:0 -.04em;border-radius:.14em .3em .2em .12em;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.cf-bridge-page-3 .cfb3-lead{margin:clamp(14px, 1.6vw, 24px) 0 0;max-width:60ch;font-size:clamp(1.125rem, 1.5vw, 1.375rem);line-height:1.4;font-weight:500;color:var(--muted, #475467);text-wrap:pretty}
.cf-bridge-page-3 .cfb3-lead strong{color:var(--ink, #101828);font-weight:800}
.cf-bridge-page-3 .cfb3-steps{display:none;align-items:center;justify-content:space-between;gap:16px;margin:32px 0 0;padding-top:20px;border-top:1px solid var(--cfb3-line);font-size:.9375rem;line-height:1.2;font-weight:800;color:var(--accent, #1d4ed8);font-variant-numeric:tabular-nums}
.cf-bridge-page-3 .cfb3-bar{display:flex;gap:6px}
.cf-bridge-page-3 .cfb3-bar i{display:block;width:28px;height:4px;border-radius:999px;background:oklch(from var(--ink, #101828) l c h / .14);transition:background .3s ease}
.cf-bridge-page-3 .cfb3-bar i[data-on]{background:var(--accent-fill, var(--accent, #1d4ed8))}
.cf-bridge-page-3 .cfb3-list{list-style:none;margin:clamp(40px, 5vw, 64px) 0 0;padding:0}
.cf-bridge-page-3 .cfb3-item{display:grid;grid-template-columns:128px minmax(0, 1fr);grid-template-rows:auto auto;column-gap:clamp(24px, 3vw, 40px);padding:clamp(28px, 3.5vw, 44px) 0;border-top:1px solid var(--cfb3-line)}
.cf-bridge-page-3 .cfb3-item:last-child{padding-bottom:0}
.cf-bridge-page-3 .cfb3-num{grid-column:1;grid-row:1;align-self:start;font-family:var(--font-display, sans-serif);font-weight:800;font-size:clamp(2.5rem, 4.2vw, 3.75rem);line-height:1;letter-spacing:-.03em;font-variant-numeric:tabular-nums;color:var(--accent, #1d4ed8)}
.cf-bridge-page-3 .cfb3-q{grid-column:2;grid-row:1;margin:0;font-family:var(--font-display, sans-serif);font-weight:var(--display-weight, 800);letter-spacing:var(--display-tracking, -0.025em);text-transform:var(--display-case, none);font-size:clamp(2rem, 3.6vw, 3.25rem);line-height:1.06;text-wrap:balance;scroll-margin-top:24px}
.cf-bridge-page-3 .cfb3-q:focus{outline:none}
.cf-bridge-page-3 .cfb3-host{grid-column:1;grid-row:2;margin:clamp(14px, 1.6vw, 20px) 0 0;display:flex;flex-direction:column;gap:12px}
.cf-bridge-page-3 .cfb3-host img{display:block;width:128px;height:160px;border-radius:12px;object-fit:cover;object-position:50% 28%}
.cf-bridge-page-3 .cfb3-host figcaption{display:flex;flex-direction:column;gap:2px;font-size:.9375rem;line-height:1.35}
.cf-bridge-page-3 .cfb3-host strong{font-weight:800}
.cf-bridge-page-3 .cfb3-host figcaption span{color:var(--muted, #475467);font-weight:500}
.cf-bridge-page-3 .cfb3-a{grid-column:2;grid-row:2;min-width:0;margin-top:clamp(14px, 1.6vw, 20px)}
.cf-bridge-page-3 .cfb3-line{margin:0;max-width:62ch;font-size:clamp(1.125rem, 1.5vw, 1.375rem);line-height:1.45;font-weight:400;text-wrap:pretty}
.cf-bridge-page-3 .cfb3-line + .cfb3-line{margin-top:8px}
.cf-bridge-page-3 .cfb3-line1{font-weight:600}
.cf-bridge-page-3 .cfb3-line strong{font-weight:800}
.cf-bridge-page-3 .cfb3-who{font-weight:800;color:var(--accent, #1d4ed8)}
.cf-bridge-page-3 .cfb3-close{margin-top:clamp(24px, 3vw, 32px);max-width:40rem;padding:clamp(20px, 3vw, 32px);background:var(--card, #fff);color:var(--ink, #101828);border:1px solid var(--card-border, oklch(from var(--ink, #101828) l c h / .12));border-radius:var(--card-radius, var(--radius, 14px));box-shadow:var(--card-shadow, var(--shadow-lg, 0 2px 4px oklch(.22 .03 260 / .22), 0 12px 24px -8px oklch(.22 .03 260 / .32)))}
.cf-bridge-page-3 .cfb3-close .cfb3-ask{margin-top:20px}
.cf-bridge-page-3 .cfb3-price{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;margin:0}
.cf-bridge-page-3 .cfb3-just{font-family:var(--font-display, sans-serif);font-weight:var(--display-weight, 800);font-size:clamp(1.3125rem, 1.8vw, 1.625rem);line-height:1.15}
.cf-bridge-page-3 .cfb3-amt{font-family:var(--font-display, sans-serif);font-weight:800;font-size:clamp(2.5rem, 4.2vw, 3.75rem);line-height:1;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.cf-bridge-page-3 .cfb3-pnote{font-size:1.0625rem;line-height:1.4;font-weight:500;color:var(--muted, #475467);text-wrap:pretty}
.cf-bridge-page-3 .cfb3-ask{margin:24px 0 0;font-family:var(--font-display, sans-serif);font-weight:var(--display-weight, 800);font-size:clamp(1.3125rem, 1.8vw, 1.625rem);line-height:1.15;text-wrap:balance}
.cf-bridge-page-3 .cfb3-cta{display:inline-flex;align-items:center;justify-content:center;gap:10px;margin-top:16px;min-height:64px;padding:0 28px;border-radius:var(--button-radius, var(--radius, 12px));font-family:var(--button-font, var(--font-display, sans-serif));font-weight:var(--button-weight, 800);text-transform:var(--button-case, none);font-size:clamp(1.125rem, 1.55vw, 1.375rem);line-height:1.15;white-space:nowrap;color:var(--button-ink, var(--cta-ink, #fff));text-decoration:none;text-shadow:var(--button-text-shadow, none);background:linear-gradient(oklch(from var(--cfb3-bg) calc(l + .04) c h), oklch(from var(--cfb3-bg2) calc(l - .02) c h));box-shadow:var(--button-shadow, inset 0 1px 0 oklch(from var(--cfb3-bg) calc(l + .14) c h / .7), inset 0 -3px 0 oklch(from var(--cfb3-bg) calc(l - .16) c h), 0 1px 2px oklch(from var(--cfb3-sh) l c h / .3), 0 8px 16px -6px oklch(from var(--cfb3-sh) l c h / .45));cursor:pointer;transition:transform .16s ease, box-shadow .16s ease, background .16s ease}
.cf-bridge-page-3 .cfb3-cta:hover:not([aria-disabled='true']),.cf-bridge-page-3 .cfb3-cta[data-force='hover']{background:linear-gradient(oklch(from var(--cfb3-bg) calc(l - .01) c h), oklch(from var(--cfb3-bg2) calc(l - .07) c h));box-shadow:inset 0 1px 0 oklch(from var(--cfb3-bg) calc(l + .12) c h / .7), inset 0 -3px 0 oklch(from var(--cfb3-bg) calc(l - .2) c h), 0 1px 2px oklch(from var(--cfb3-sh) l c h / .34), 0 12px 20px -8px oklch(from var(--cfb3-sh) l c h / .5);transform:translateY(-1px)}
.cf-bridge-page-3 .cfb3-cta:active:not([aria-disabled='true']),.cf-bridge-page-3 .cfb3-cta[data-force='active']{background:linear-gradient(oklch(from var(--cfb3-bg) calc(l - .04) c h), oklch(from var(--cfb3-bg2) calc(l - .08) c h));box-shadow:inset 0 2px 4px oklch(from var(--cfb3-bg) calc(l - .22) c h / .55), inset 0 -2px 0 oklch(from var(--cfb3-bg) calc(l - .16) c h), 0 1px 2px oklch(from var(--cfb3-sh) l c h / .3);transform:translateY(1px)}
.cf-bridge-page-3 .cfb3-cta[aria-disabled='true']{background:var(--secondary, #eef0f4);color:color-mix(in oklch, var(--secondary-ink, #101828) 62%, var(--secondary, #eef0f4));text-shadow:none;box-shadow:none;cursor:not-allowed}
.cf-bridge-page-3 .cfb3-cta[aria-busy='true']{cursor:progress}
.cf-bridge-page-3 .cfb3-short{display:none}
.cf-bridge-page-3 .cfb3-spin{flex:0 0 auto;animation:cfb3-spin .8s linear infinite}
.cf-bridge-page-3 .cfb3-msg{margin:12px 0 0;font-size:.9375rem;line-height:1.4;font-weight:600;color:var(--muted, #475467);text-wrap:pretty}
.cf-bridge-page-3 .cfb3-msg[data-tone='error']{color:var(--danger, #b42318)}
.cf-bridge-page-3 .cfb3-msg svg{display:inline-block;vertical-align:-.15em;margin-inline-end:.4em}
.cf-bridge-page-3 .cfb3-nav{display:none;align-items:center;justify-content:space-between;gap:12px;margin-top:28px;padding-top:20px;border-top:1px solid var(--cfb3-line)}
.cf-bridge-page-3 .cfb3-next{display:inline-flex;align-items:center;justify-content:center;min-height:56px;padding:0 24px;border:1px solid var(--button-2-border, transparent);border-radius:var(--button-radius, var(--radius, 12px));background:var(--button-2-bg, var(--secondary, #eef0f4));color:var(--button-2-ink, var(--secondary-ink, #101828));font-family:var(--button-font, var(--font-display, sans-serif));font-weight:var(--button-weight, 800);text-transform:var(--button-case, none);font-size:1.0625rem;line-height:1.15;white-space:nowrap;box-shadow:var(--button-2-shadow, var(--shadow-sm));cursor:pointer;transition:transform .16s ease, box-shadow .16s ease, background .16s ease}
.cf-bridge-page-3 .cfb3-next:hover:not(:disabled),.cf-bridge-page-3 .cfb3-next[data-force='hover']:not(:disabled){background:oklch(from var(--button-2-bg, var(--secondary, #eef0f4)) calc(l - .04) c h)}
.cf-bridge-page-3 .cfb3-next:active:not(:disabled),.cf-bridge-page-3 .cfb3-next[data-force='active']:not(:disabled){background:oklch(from var(--button-2-bg, var(--secondary, #eef0f4)) calc(l - .07) c h);box-shadow:none;transform:translateY(1px)}
.cf-bridge-page-3 .cfb3-next:disabled{cursor:not-allowed;box-shadow:none;color:color-mix(in oklch, var(--button-2-ink, var(--secondary-ink, #101828)) 50%, var(--button-2-bg, var(--secondary, #eef0f4)))}
.cf-bridge-page-3 .cfb3-back{min-height:48px;padding:0 6px;border:0;border-radius:8px;background:none;font:inherit;font-size:.9375rem;font-weight:700;color:var(--muted, #475467);text-decoration:underline;text-underline-offset:.18em;text-decoration-color:oklch(from var(--muted, #475467) l c h / .45);cursor:pointer}
.cf-bridge-page-3 .cfb3-back:hover{color:var(--ink, #101828);text-decoration-color:currentColor}
.cf-bridge-page-3 .cfb3-back:disabled{visibility:hidden}
.cf-bridge-page-3 .cfb3-cta:focus-visible,.cf-bridge-page-3 .cfb3-next:focus-visible,.cf-bridge-page-3 .cfb3-back:focus-visible{outline:3px solid var(--field-focus, var(--accent, #1d4ed8));outline-offset:3px}
.cf-bridge-page-3 .cfb3-rv{animation:cfb3-in .45s cubic-bezier(.2,.7,.2,1) both;animation-delay:calc(var(--i, 0) * .07s)}
@keyframes cfb3-in{from{opacity:.82;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes cfb3-spin{to{transform:rotate(360deg)}}
@media (max-width: 640px){
.cf-bridge-page-3 .cfb3-steps{display:flex}
.cf-bridge-page-3 .cfb3-list{margin-top:16px}
.cf-bridge-page-3 .cfb3-item{display:block;padding:0;border:0;animation-delay:0s}
.cf-bridge-page-3 .cfb3-item:not([data-current]){display:none}
.cf-bridge-page-3 .cfb3-num{display:none}
.cf-bridge-page-3 .cfb3-host{flex-direction:row;align-items:center;gap:12px;margin-top:16px}
.cf-bridge-page-3 .cfb3-host img{width:64px;height:64px}
.cf-bridge-page-3 .cfb3-a{margin-top:16px}
.cf-bridge-page-3 .cfb3-close{padding:20px}
.cf-bridge-page-3 .cfb3-cta{display:flex;width:100%;padding:0 20px}
.cf-bridge-page-3 .cfb3-nav{display:flex}
}
@media (max-width: 400px){
.cf-bridge-page-3 .cfb3-full{display:none}
.cf-bridge-page-3 .cfb3-short{display:inline}
}
@media (prefers-reduced-motion: reduce){
.cf-bridge-page-3 .cfb3-rv,.cf-bridge-page-3 .cfb3-item,.cf-bridge-page-3 .cfb3-spin{animation:none}
.cf-bridge-page-3 .cfb3-cta,.cf-bridge-page-3 .cfb3-next,.cf-bridge-page-3 .cfb3-bar i{transition:none}
.cf-bridge-page-3 .cfb3-cta:hover:not([aria-disabled='true']),.cf-bridge-page-3 .cfb3-cta[data-force='hover'],.cf-bridge-page-3 .cfb3-cta:active:not([aria-disabled='true']),.cf-bridge-page-3 .cfb3-cta[data-force='active'],.cf-bridge-page-3 .cfb3-next:active:not(:disabled),.cf-bridge-page-3 .cfb3-next[data-force='active']:not(:disabled){transform:none}
}
`
pieces/hero/bridge-page-3/specimen.tsx 60 lines
import __studioImage6f047eda from "../assets/0151f156dbce7967.webp";
import * as React from 'react'
import defaults from '../../studio-defaults.json'
import { slot } from '../../slots'
import { BridgePage3, type BridgePage3State } from '../bridge-page-3'
export const states = ['default', 'hover', 'active', 'disabled', 'error']
const ITEMS = [
{
question: 'Is this another course?',
answer: [
'No. Ledgerly is an app you use, not a course you sit through.',
'It sorts every invoice and expense as it lands, so **the checklist mostly fills itself in**.',
],
},
{
question: 'Why are you sending me there?',
answer: [
'The checklist shows you what to track. Ledgerly is where you track it.',
'I built it after my own first freelance tax season ended in a shoebox of receipts.',
],
},
{
question: 'What does it cost me to look?',
answer: [
'Nothing. The next page is a two-minute walkthrough, no signup needed.',
'If you decide to stay, here’s the whole price, up front:',
],
},
]
export default function BridgePage3Specimen({ state = 'default' }: { state?: BridgePage3State }) {
return (
<BridgePage3
state={state}
headline='Before you click, ==three honest answers==.'
lead='Your free tax checklist is ready. Here’s what you’re probably wondering about the next page, answered straight.'
items={ITEMS}
presenterImage={slot(
'presenter',
__studioImage6f047eda,
)}
presenterAlt='Maya Okafor, founder of Ledgerly'
hostName='Maya Okafor'
hostRole='Founder of Ledgerly'
hostTag='Maya'
price={defaults.sample.price}
priceTemplate='Just {price}'
priceNote='one payment, less than a single client invoice'
ctaQuestion='Ready to see it for yourself?'
ctaLabel='I’m ready, show me Ledgerly'
ctaShortLabel='Show me Ledgerly'
ctaNote='Opens the two-minute walkthrough'
href='#ledgerly-walkthrough'
preventNavigation
/>
)
}
| Name | Type | Details |
|---|---|---|
headline OptionalBridgePage3 |
string |
|
lead OptionalBridgePage3 |
string |
|
items OptionalBridgePage3 |
BridgePage3Item[] |
|
quoteQuestions OptionalBridgePage3 |
boolean |
|
presenterImage OptionalBridgePage3 |
string |
|
presenterAlt OptionalBridgePage3 |
string |
|
hostName OptionalBridgePage3 |
string |
|
hostRole OptionalBridgePage3 |
string |
|
hostTag OptionalBridgePage3 |
string |
|
price OptionalBridgePage3 |
string |
|
priceTemplate OptionalBridgePage3 |
string |
|
priceNote OptionalBridgePage3 |
string |
|
ctaQuestion OptionalBridgePage3 |
string |
|
ctaLabel OptionalBridgePage3 |
string |
|
ctaShortLabel OptionalBridgePage3 |
string |
|
href OptionalBridgePage3 |
string |
|
ctaNote OptionalBridgePage3 |
string |
|
loadingLabel OptionalBridgePage3 |
string |
|
errorText OptionalBridgePage3 |
string |
|
disabled OptionalBridgePage3 |
boolean |
|
disabledNote OptionalBridgePage3 |
string |
|
stepLabel OptionalBridgePage3 |
string |
|
nextLabel OptionalBridgePage3 |
string |
|
backLabel OptionalBridgePage3 |
string |
|
stepperLabel OptionalBridgePage3 |
string |
|
preventNavigation OptionalBridgePage3 |
boolean |
|
onAction OptionalBridgePage3 |
(event: React.MouseEvent<HTMLAnchorElement>) => void | Promise<void> |
|
state OptionalBridgePage3 |
BridgePage3State |
|
id OptionalBridgePage3 |
string |
|
className OptionalBridgePage3 |
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.
-
0151f156dbce7967.webp
image/webp · 34.6 KB
-
986367d82c360c9a.webp
image/webp · 102 KB
-
b77916eca54aa689.webp
image/webp · 8.32 KB
-
d435db6662febfcf.webp
image/webp · 10 KB
-
f0a5d3e1e61804ba.webp
image/webp · 11.6 KB