Bridge Page 5
Bridge page as a bento board: the host's note holds the big tile, three sealed preview tiles each open one loop
Use it in a prompt
Use hero/bridge-page-5 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-5.tsx. - Import it and pass your copy and images (Props tab):
import { BridgePage5 } from "@/components/funneldna/hero/bridge-page-5"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/hero/bridge-page-5/component.tsx 474 lines
// layout: bento-grid
// Bridge page as a bento board: the host's note holds the big tile, three sealed preview tiles each open one loop
// (hover, focus or tap to peek one line more) and the action-coloured continue tile carries the visitor to the offer.
import * as React from 'react'
import { AlertCircle, Eye, Loader2, PackageOpen } from 'lucide-react'
import { FX_HOST, Pattern, Spot } from '../fx/fx'
import calendar from '../fx/spots/calendar'
import checklist from '../fx/spots/checklist'
import gift from '../fx/spots/gift'
/** States the piece implements; hover and active can be forced for previews. */
export type BridgePage5State = 'default' | 'hover' | 'active' | 'disabled' | 'error'
export type BridgePage5Preview = {
/** One curiosity line about the next page, shown from the start */
teaser: string
/** The one extra line revealed on hover, focus or tap: a hint, never the full answer */
reveal: string
/** Optional fx Spot illustration: an imported spot asset URL */
spot?: string
}
export type BridgePage5Props = {
/** Note headline; wrap one phrase in ==marker== for a highlighter stroke, **bold** for weight */
headline?: string
/** One medium-weight line under the headline; supports **bold** */
lead?: string
/** Short note paragraphs in the host's voice; support **bold** */
paragraphs?: string[]
/** Host's name signed at the foot of the note; an empty string hides the sign-off */
hostName?: string
/** Quiet line under the host's name */
hostRole?: string
/** Host photo (slot: presenter). Fills the photo tile; on phones it becomes a thumbnail by the sign-off */
presenterImage?: string
/** Alt text for the host photo */
presenterAlt?: string
/** Screen-reader heading for the preview tiles */
previewsTitle?: string
/** Up to three previews of what waits on the next page */
previews?: BridgePage5Preview[]
/** Chip on a closed preview for mouse and keyboard users */
peekLabel?: string
/** Chip on a closed preview on touch screens */
tapLabel?: string
/** Chip on an open preview */
openLabel?: string
/** First-person label on the continue tile and the repeated button */
ctaLabel?: string
/** Shorter label for the repeated button on narrow phones */
ctaShortLabel?: string
/** One short line under the label in the continue tile */
ctaNote?: string
/** Optional price line in the continue tile, e.g. a per-day breakdown; empty hides it */
priceLine?: string
/** Closing P.S. under the board; supports **bold**; empty hides it */
psLine?: string
/** Navigation destination of the continue tile and button */
href?: string
/** Line shown while an onAction promise is pending */
loadingLabel?: string
/** Line shown when the action fails */
errorText?: string
/** Turns the continue tile and button into quiet, inactive controls */
disabled?: boolean
/** Line shown while disabled */
disabledNote?: 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 line; a rejection shows errorText. */
onAction?: (event: React.MouseEvent<HTMLAnchorElement>) => void | Promise<void>
/** Forced visual state for previews; hover also opens the first preview */
state?: BridgePage5State
/** Section id for in-page anchors */
id?: string
/** Root class for page-level placement */
className?: string
}
const DEFAULT_PREVIEWS: BridgePage5Preview[] = [
{ teaser: 'The one page most first funnels skip', reveal: 'It sits between the opt-in and the offer. You’ll see it first.', spot: checklist },
{ teaser: 'What’s inside the kit, piece by piece', reveal: 'Three tools, and the order to use them in.', spot: gift },
{ teaser: 'How to plan the whole thing in one evening', reveal: 'Hint: start with the offer, not the headline.', spot: calendar },
]
export function BridgePage5(props: BridgePage5Props) {
const {
headline = 'Your plan is ready, and ==it’s simpler than you think==.',
lead = 'Before you see the kit, give this note forty seconds. It changes how you’ll read the next page.',
paragraphs = [
'You don’t need more tactics. You need to know what each page has to do, and in what order.',
'That’s exactly what the next page walks you through.',
],
hostName = '',
hostRole = '',
presenterImage,
presenterAlt = 'Portrait of your host',
previewsTitle = 'What’s waiting on the next page',
previews = DEFAULT_PREVIEWS,
peekLabel = 'Hover to peek',
tapLabel = 'Tap to peek',
openLabel = 'On the next page',
ctaLabel = 'Yes! Show me the Funnel Starter Kit',
ctaShortLabel = 'Yes! Show me the kit',
ctaNote = 'See everything inside on the next page',
priceLine = '',
psLine = '**P.S.** The next page shows everything inside before you decide anything.',
href = '#continue',
loadingLabel = 'Opening the next page…',
errorText = 'That page didn’t open. Tap again to try.',
disabled = false,
disabledNote = 'The next page opens here as soon as it’s ready.',
preventNavigation = false,
onAction,
state = 'default',
id,
className,
} = props
const uid = React.useId().replace(/:/g, '')
const headId = 'cfb5-h-' + uid
const [phase, setPhase] = React.useState<'idle' | 'loading' | 'error'>('idle')
const mounted = React.useRef(true)
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)
}
}, [])
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 handleClick = async (event: React.MouseEvent<HTMLAnchorElement>) => {
if (isDisabled || loading) {
event.preventDefault()
return
}
if (preventNavigation || !href || href === '#') event.preventDefault()
setPhase('idle')
try {
const result: unknown = onAction ? onAction(event) : undefined
if (!result || !event.defaultPrevented) return
setPhase('loading')
await result
if (mounted.current) setPhase('idle')
} catch {
if (mounted.current) setPhase('error')
}
}
const sub = isDisabled ? disabledNote : loading ? loadingLabel : failed ? errorText : ctaNote
const items = previews.slice(0, 3)
const actionProps = {
href,
onClick: handleClick,
'data-force': force,
'aria-disabled': isDisabled || undefined,
'aria-busy': loading || undefined,
}
return (
<section
id={id}
className={['cf-bridge-page-5', className].filter(Boolean).join(' ')}
style={FX_HOST}
aria-labelledby={headId}
data-solo={presenterImage ? undefined : ''}
>
<Pattern name='grid' fade='top' />
<style>{CSS}</style>
<div className='cfb5-in'>
<div className='cfb5-grid'>
<div className='cfb5-note cfb5-rv' style={{ '--i': 0 } as React.CSSProperties}>
<h1 id={headId} className='cfb5-h1'>
{rich(headline, 'h')}
</h1>
{lead ? <p className='cfb5-lead'>{rich(lead, 'l')}</p> : null}
{paragraphs.map((text, i) => (
<p key={i} className='cfb5-p'>
{rich(text, 'p' + i)}
</p>
))}
{hostName ? (
<div className='cfb5-sign'>
{presenterImage ? (
<img className='cfb5-avatar' src={presenterImage} alt='' aria-hidden='true' width={112} height={112} decoding='async' />
) : null}
<span className='cfb5-sign-txt'>
<span className='cfb5-name'>{hostName}</span>
{hostRole ? <span className='cfb5-role'>{hostRole}</span> : null}
</span>
</div>
) : null}
</div>
{presenterImage ? (
<figure className='cfb5-photo cfb5-rv' style={{ '--i': 1 } as React.CSSProperties}>
<img src={presenterImage} alt={presenterAlt} width={800} height={1000} loading='eager' decoding='async' />
</figure>
) : null}
<a className='cfb5-go cfb5-rv' style={{ '--i': 2 } as React.CSSProperties} {...actionProps}>
<span className='cfb5-go-disc' aria-hidden='true'>
<PackageOpen size={20} strokeWidth={2.5} />
</span>
<span className='cfb5-go-label'>{ctaLabel}</span>
{sub ? (
<span className='cfb5-go-sub'>
{loading ? <Loader2 className='cfb5-ico cfb5-spin' aria-hidden='true' strokeWidth={2.5} /> : null}
{failed ? <AlertCircle className='cfb5-ico' aria-hidden='true' strokeWidth={2.5} /> : null}
{sub}
</span>
) : null}
{priceLine && !failed && !isDisabled ? <span className='cfb5-go-price'>{priceLine}</span> : null}
</a>
{items.length ? <h2 className='cfb5-sr'>{previewsTitle}</h2> : null}
{items.map((item, i) => (
<PreviewTile
key={i}
item={item}
index={i}
panelId={'cfb5-r-' + uid + '-' + i}
forceOpen={state === 'hover' && i === 0}
peekLabel={peekLabel}
tapLabel={tapLabel}
openLabel={openLabel}
/>
))}
</div>
<div className='cfb5-after'>
<a className='cfb5-repeat' data-short={ctaShortLabel ? '' : undefined} {...actionProps}>
{loading ? (
<>
<Loader2 className='cfb5-spin' size={20} aria-hidden='true' strokeWidth={2.5} />
<span>{loadingLabel}</span>
</>
) : ctaShortLabel ? (
<>
<span className='cfb5-full'>{ctaLabel}</span>
<span className='cfb5-short'>{ctaShortLabel}</span>
</>
) : (
<span>{ctaLabel}</span>
)}
</a>
{failed || isDisabled ? (
<p className='cfb5-msg' data-tone={failed ? 'error' : undefined}>
{failed ? <AlertCircle className='cfb5-ico' aria-hidden='true' strokeWidth={2.5} /> : null}
{failed ? errorText : disabledNote}
</p>
) : null}
{psLine ? <p className='cfb5-ps'>{rich(psLine, 'ps')}</p> : null}
</div>
<p className='cfb5-sr' role='status' aria-live='polite'>
{loading ? loadingLabel : failed ? errorText : ''}
</p>
</div>
</section>
)
}
export default BridgePage5
type PreviewTileProps = {
item: BridgePage5Preview
index: number
panelId: string
forceOpen: boolean
peekLabel: string
tapLabel: string
openLabel: string
}
// private: one sealed preview; opens on hover, keyboard focus or tap, and closes again when left.
function PreviewTile({ item, index, panelId, forceOpen, peekLabel, tapLabel, openLabel }: PreviewTileProps) {
const [hover, setHover] = React.useState(false)
const [focus, setFocus] = React.useState(false)
const [pinned, setPinned] = React.useState(false)
const open = forceOpen || hover || focus || pinned
return (
<button
type='button'
className={'cfb5-prev cfb5-rv cfb5-p' + (index + 1)}
style={{ '--i': index + 3 } as React.CSSProperties}
aria-expanded={open}
aria-controls={panelId}
data-open={open ? '' : undefined}
onPointerEnter={(event) => {
if (event.pointerType !== 'touch') setHover(true)
}}
onPointerLeave={() => setHover(false)}
onFocus={(event) => setFocus(isFocusVisible(event.currentTarget))}
onBlur={() => setFocus(false)}
onClick={() => setPinned((value) => !value)}
>
<span className='cfb5-prev-top'>
{item.spot ? (
<span className='cfb5-spot' aria-hidden='true'>
<Spot src={item.spot} size={56} />
</span>
) : (
<span className='cfb5-num' aria-hidden='true'>
{index + 1}
</span>
)}
<span className='cfb5-chip'>
<Eye className='cfb5-chip-ico' size={16} aria-hidden='true' strokeWidth={2.5} />
<span className='cfb5-chip-closed'>
<span className='cfb5-hov'>{peekLabel}</span>
<span className='cfb5-tap'>{tapLabel}</span>
</span>
<span className='cfb5-chip-open'>{openLabel}</span>
</span>
</span>
<span className='cfb5-teaser'>{item.teaser}</span>
<span className='cfb5-seal' id={panelId}>
<span className='cfb5-bars' aria-hidden='true'>
<i />
<i />
</span>
<span className='cfb5-reveal' aria-hidden={!open}>
{item.reveal}
</span>
</span>
</button>
)
}
function isFocusVisible(el: HTMLElement) {
try {
return el.matches(':focus-visible')
} catch {
return true
}
}
// ==marker== becomes one highlighter stroke on the span itself; **bold** becomes strong.
function rich(text: string, key: string): React.ReactNode[] {
return text
.split(/(==[^=]+==|[*][*][^*]+[*][*])/g)
.filter(Boolean)
.map((part, i) => {
if (part.length > 4 && part.startsWith('==') && part.endsWith('==')) {
return (
<span key={key + i} className='cfb5-mark'>
{part.slice(2, -2)}
</span>
)
}
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-5{--cfb5-marker:color-mix(in oklch,var(--marker,#fae37c) 70%,transparent);--cfb5-line:var(--card-border,oklch(from var(--ink,#1b2333) l c h / .12));--cfb5-shade:var(--shadow,oklch(0.22 0.03 260));--cfb5-bg:var(--button-bg,var(--cta,#d6402b));--cfb5-bg2:var(--button-bg-2,var(--cta-2,#b8321f));--cfb5-ink:var(--button-ink,var(--cta-ink,#fff));--cfb5-focus:var(--field-focus,var(--accent,#2f6fd6));--cfb5-well:color-mix(in oklch,var(--ink,#1b2333) 4%,var(--card,#fff));position:relative;isolation:isolate;overflow:hidden;box-sizing:border-box;background:var(--surface,#fff);color:var(--ink,#1b2333);font-family:var(--font-body,inherit);padding:clamp(56px,8vw,112px) clamp(16px,5vw,48px) clamp(64px,8.5vw,120px)}
.cf-bridge-page-5 *,.cf-bridge-page-5 *::before,.cf-bridge-page-5 *::after{box-sizing:border-box}
.cf-bridge-page-5 .cfb5-in{position:relative;z-index:1;max-width:1120px;margin:0 auto}
.cf-bridge-page-5 .cfb5-grid{display:grid;gap:12px;grid-template-columns:minmax(0,1fr);grid-template-areas:'note' 'go' 'p1' 'p2' 'p3'}
.cf-bridge-page-5 .cfb5-note{grid-area:note}
.cf-bridge-page-5 .cfb5-photo{grid-area:photo}
.cf-bridge-page-5 .cfb5-go{grid-area:go}
.cf-bridge-page-5 .cfb5-p1{grid-area:p1}
.cf-bridge-page-5 .cfb5-p2{grid-area:p2}
.cf-bridge-page-5 .cfb5-p3{grid-area:p3}
.cf-bridge-page-5 .cfb5-note{display:flex;flex-direction:column;min-width:0;background:var(--card,#fff);color:var(--ink,#1b2333);border:1px solid color-mix(in oklch,var(--accent,#2f6fd6) 22%,var(--card,#fff));border-radius:var(--card-radius,var(--radius,14px));box-shadow:var(--card-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)));padding:clamp(24px,3.6vw,48px)}
.cf-bridge-page-5 .cfb5-h1{margin:0;font-family:var(--font-display,inherit);font-weight:var(--display-weight,800);letter-spacing:var(--display-tracking,-0.025em);text-transform:var(--display-case,none);font-size:clamp(2.5rem,4.2vw,3.75rem);line-height:1.04;text-wrap:balance;color:var(--ink,#1b2333)}
.cf-bridge-page-5 .cfb5-mark{color:inherit;background-image:linear-gradient(176deg,transparent 0 44%,var(--cfb5-marker) 44% 92%,transparent 92%);-webkit-box-decoration-break:clone;box-decoration-break:clone;padding:0 .14em;margin:0 -.06em;border-radius:.12em .32em .18em .36em}
.cf-bridge-page-5 .cfb5-lead{margin:16px 0 0;font-size:clamp(1.125rem,1.5vw,1.375rem);font-weight:500;line-height:1.4;color:var(--ink,#1b2333);text-wrap:pretty;max-width:64ch}
.cf-bridge-page-5 .cfb5-p{margin:16px 0 0;font-size:clamp(1.0625rem,1.25vw,1.125rem);line-height:1.5;color:var(--muted,#4a5568);text-wrap:pretty;max-width:64ch}
.cf-bridge-page-5 .cfb5-p strong,.cf-bridge-page-5 .cfb5-lead strong{color:var(--ink,#1b2333);font-weight:800}
.cf-bridge-page-5 .cfb5-sign{margin-top:auto;padding-top:28px;display:flex;align-items:center;gap:12px}
.cf-bridge-page-5 .cfb5-avatar{display:block;flex:none;width:56px;height:56px;border-radius:8px;object-fit:cover;object-position:50% 25%}
.cf-bridge-page-5 .cfb5-sign-txt{display:grid;gap:2px;min-width:0}
.cf-bridge-page-5 .cfb5-name{font-size:1.0625rem;font-weight:800;line-height:1.3;color:var(--ink,#1b2333)}
.cf-bridge-page-5 .cfb5-role{font-size:.9375rem;font-weight:500;line-height:1.4;color:var(--muted,#4a5568)}
.cf-bridge-page-5 .cfb5-photo{display:none;position:relative;margin:0;min-width:0;min-height:260px;overflow:hidden;border-radius:var(--card-radius,var(--radius,14px));background:color-mix(in oklch,var(--ink,#1b2333) 6%,var(--card,#fff))}
.cf-bridge-page-5 .cfb5-photo img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:50% 28%}
.cf-bridge-page-5 .cfb5-go,.cf-bridge-page-5 .cfb5-repeat{color:var(--cfb5-ink);text-decoration:none;text-shadow:var(--button-text-shadow,none);background-color:var(--cfb5-bg);background-image:linear-gradient(180deg,oklch(from var(--cfb5-bg) calc(l + .04) c h),oklch(from var(--cfb5-bg2) calc(l - .02) c h));box-shadow:var(--button-shadow,inset 0 1px 0 oklch(from var(--cfb5-bg) calc(l + .14) c h / .7),inset 0 -3px 0 oklch(from var(--cfb5-bg) calc(l - .16) c h),0 1px 2px oklch(from var(--cfb5-shade) l c h / .3),0 8px 16px -6px oklch(from var(--cfb5-shade) l c h / .42));border-radius:var(--button-radius,var(--radius,12px));cursor:pointer;-webkit-tap-highlight-color:transparent;transition:background-color .16s ease,box-shadow .16s ease,transform .16s ease}
.cf-bridge-page-5 :is(.cfb5-go,.cfb5-repeat):not([aria-disabled='true']):is(:hover,[data-force='hover']){background-image:linear-gradient(180deg,oklch(from var(--cfb5-bg) calc(l - .01) c h),oklch(from var(--cfb5-bg2) calc(l - .07) c h));box-shadow:inset 0 1px 0 oklch(from var(--cfb5-bg) calc(l + .12) c h / .6),inset 0 -3px 0 oklch(from var(--cfb5-bg) calc(l - .2) c h),0 2px 3px oklch(from var(--cfb5-shade) l c h / .32),0 12px 20px -8px oklch(from var(--cfb5-shade) l c h / .48);transform:translateY(-1px)}
.cf-bridge-page-5 :is(.cfb5-go,.cfb5-repeat):not([aria-disabled='true']):is(:active,[data-force='active']){background-image:linear-gradient(180deg,oklch(from var(--cfb5-bg) calc(l - .04) c h),oklch(from var(--cfb5-bg2) calc(l - .1) c h));box-shadow:inset 0 2px 5px oklch(from var(--cfb5-bg) calc(l - .24) c h / .55),inset 0 -2px 0 oklch(from var(--cfb5-bg) calc(l - .16) c h),0 1px 2px oklch(from var(--cfb5-shade) l c h / .3);transform:translateY(1px)}
.cf-bridge-page-5 :is(.cfb5-go,.cfb5-repeat):focus-visible{outline:3px solid var(--cfb5-focus);outline-offset:3px}
.cf-bridge-page-5 :is(.cfb5-go,.cfb5-repeat)[aria-disabled='true']{background-image:none;background-color:var(--button-2-bg,var(--secondary,#e6e9ef));color:var(--button-2-ink,var(--secondary-ink,#1b2333));box-shadow:var(--button-2-shadow,var(--shadow-sm,0 1px 2px oklch(0.22 0.03 260 / .2)));text-shadow:none;cursor:not-allowed;transform:none}
.cf-bridge-page-5 :is(.cfb5-go,.cfb5-repeat)[aria-busy='true']{cursor:progress}
.cf-bridge-page-5 .cfb5-go{display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-width:0;min-height:176px;padding:clamp(20px,3vw,32px)}
.cf-bridge-page-5 .cfb5-go-disc{display:inline-grid;place-items:center;flex:none;width:40px;height:40px;margin-bottom:auto;border-radius:999px;background:color-mix(in oklch,currentColor 16%,transparent)}
.cf-bridge-page-5 .cfb5-go-label{margin-top:16px;font-family:var(--button-font,var(--font-display,inherit));font-weight:var(--button-weight,800);text-transform:var(--button-case,none);font-size:clamp(1.3125rem,1.8vw,1.625rem);line-height:1.15;letter-spacing:-0.01em;text-wrap:balance}
.cf-bridge-page-5 .cfb5-go-sub{font-size:.9375rem;font-weight:600;line-height:1.4;text-wrap:pretty}
.cf-bridge-page-5 .cfb5-go-price{font-size:.9375rem;font-weight:800;line-height:1.4;font-variant-numeric:tabular-nums;text-wrap:pretty}
.cf-bridge-page-5 .cfb5-ico{display:inline-block;width:18px;height:18px;vertical-align:-.2em;margin-inline-end:.4em}
.cf-bridge-page-5 .cfb5-prev{appearance:none;-webkit-appearance:none;margin:0;font:inherit;text-align:left;cursor:pointer;display:flex;flex-direction:column;gap:12px;min-width:0;width:100%;color:var(--ink,#1b2333);background:var(--card,#fff);border:1px solid var(--cfb5-line);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)));padding:clamp(20px,3vw,32px);-webkit-tap-highlight-color:transparent;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease,background-color .16s ease}
.cf-bridge-page-5 .cfb5-prev:hover{transform:translateY(-2px);border-color:color-mix(in oklch,var(--accent,#2f6fd6) 40%,var(--card,#fff));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-bridge-page-5 .cfb5-prev:active{transform:translateY(0)}
.cf-bridge-page-5 .cfb5-prev[data-open]{background:color-mix(in oklch,var(--accent,#2f6fd6) 6%,var(--card,#fff));border-color:color-mix(in oklch,var(--accent,#2f6fd6) 40%,var(--card,#fff))}
.cf-bridge-page-5 .cfb5-prev:focus-visible{outline:3px solid var(--cfb5-focus);outline-offset:3px}
.cf-bridge-page-5 .cfb5-prev-top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px}
.cf-bridge-page-5 .cfb5-spot{display:block;flex:none;width:56px;height:56px}
.cf-bridge-page-5 .cfb5-num{font-family:var(--font-display,inherit);font-weight:800;font-size:clamp(1.3125rem,1.8vw,1.625rem);line-height:1;font-variant-numeric:tabular-nums;color:var(--accent,#2f6fd6)}
.cf-bridge-page-5 .cfb5-chip{display:inline-flex;align-items:center;gap:6px;min-height:28px;padding:4px 12px;border-radius:999px;background:color-mix(in oklch,var(--ink,#1b2333) 6%,var(--card,#fff));color:var(--ink,#1b2333);font-size:.875rem;font-weight:800;line-height:1.2;white-space:nowrap;transition:background-color .16s ease}
.cf-bridge-page-5 .cfb5-chip-ico{flex:none;color:var(--accent,#2f6fd6)}
.cf-bridge-page-5 .cfb5-chip-open{display:none}
.cf-bridge-page-5 .cfb5-prev[data-open] .cfb5-chip{background:color-mix(in oklch,var(--accent,#2f6fd6) 12%,var(--card,#fff))}
.cf-bridge-page-5 .cfb5-prev[data-open] .cfb5-chip-open{display:inline}
.cf-bridge-page-5 .cfb5-prev[data-open] .cfb5-chip-closed{display:none}
.cf-bridge-page-5 .cfb5-tap{display:none}
@media (hover:none){.cf-bridge-page-5 .cfb5-hov{display:none}.cf-bridge-page-5 .cfb5-tap{display:inline}}
.cf-bridge-page-5 .cfb5-teaser{display:block;font-family:var(--font-display,inherit);font-weight:800;font-size:clamp(1.3125rem,1.8vw,1.625rem);line-height:1.15;letter-spacing:-0.01em;text-wrap:balance;color:var(--ink,#1b2333)}
.cf-bridge-page-5 .cfb5-seal{position:relative;display:grid;margin-top:auto;padding:12px 16px;border-radius:10px;background:var(--cfb5-well)}
.cf-bridge-page-5 .cfb5-bars{grid-area:1 / 1;display:flex;flex-direction:column;justify-content:center;gap:10px;transition:opacity .2s ease}
.cf-bridge-page-5 .cfb5-bars i{display:block;height:10px;border-radius:999px;background:color-mix(in oklch,var(--ink,#1b2333) 14%,var(--card,#fff))}
.cf-bridge-page-5 .cfb5-bars i:last-child{width:62%}
.cf-bridge-page-5 .cfb5-reveal{grid-area:1 / 1;font-size:clamp(1.0625rem,1.25vw,1.125rem);font-weight:600;line-height:1.45;color:var(--ink,#1b2333);text-wrap:pretty;opacity:0;clip-path:inset(0 100% 0 0);transition:opacity .2s ease,clip-path .45s cubic-bezier(.2,.7,.2,1)}
.cf-bridge-page-5 .cfb5-prev[data-open] .cfb5-reveal{opacity:1;clip-path:inset(0 0 0 0)}
.cf-bridge-page-5 .cfb5-prev[data-open] .cfb5-bars{opacity:0}
.cf-bridge-page-5 .cfb5-after{display:grid;justify-items:center;gap:16px;margin-top:24px}
.cf-bridge-page-5 .cfb5-repeat{display:inline-flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:64px;padding:0 28px;font-family:var(--button-font,var(--font-display,inherit));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;text-align:center}
.cf-bridge-page-5 .cfb5-repeat .cfb5-short{display:none}
@media (max-width:420px){.cf-bridge-page-5 .cfb5-repeat[data-short] .cfb5-full{display:none}.cf-bridge-page-5 .cfb5-repeat[data-short] .cfb5-short{display:inline}}
.cf-bridge-page-5 .cfb5-msg{margin:0;font-size:.9375rem;font-weight:600;line-height:1.4;color:var(--muted,#4a5568);text-align:center;text-wrap:pretty}
.cf-bridge-page-5 .cfb5-msg[data-tone='error']{color:var(--danger,#b42318)}
.cf-bridge-page-5 .cfb5-ps{margin:0;max-width:64ch;text-align:center;font-size:clamp(1.0625rem,1.25vw,1.125rem);line-height:1.5;color:var(--ink,#1b2333);text-wrap:pretty}
.cf-bridge-page-5 .cfb5-ps strong{font-weight:800}
.cf-bridge-page-5 .cfb5-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.cf-bridge-page-5 .cfb5-spin{animation:cfb5-spin .8s linear infinite}
@media (min-width:641px){
.cf-bridge-page-5 .cfb5-grid{gap:16px;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);grid-template-areas:'note photo' 'go p1' 'p2 p3'}
.cf-bridge-page-5[data-solo] .cfb5-grid{grid-template-areas:'note note' 'go p1' 'p2 p3'}
.cf-bridge-page-5 .cfb5-photo{display:block}
.cf-bridge-page-5 .cfb5-avatar,.cf-bridge-page-5 .cfb5-repeat,.cf-bridge-page-5 .cfb5-msg{display:none}
.cf-bridge-page-5 .cfb5-go{min-height:200px}
.cf-bridge-page-5 .cfb5-after{margin-top:32px}
}
@media (min-width:1024px){
.cf-bridge-page-5 .cfb5-grid{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-areas:'note note photo' 'note note p1' 'go p2 p3'}
.cf-bridge-page-5[data-solo] .cfb5-grid{grid-template-areas:'note note p1' 'note note p2' 'go go p3'}
.cf-bridge-page-5 .cfb5-photo{min-height:300px}
.cf-bridge-page-5 .cfb5-go{min-height:220px}
}
@keyframes cfb5-rise{from{opacity:.82;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@keyframes cfb5-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:no-preference){.cf-bridge-page-5 .cfb5-rv{animation:cfb5-rise .45s cubic-bezier(.2,.7,.2,1) backwards;animation-delay:min(calc(var(--i,0) * .07s),.28s)}}
@media (prefers-reduced-motion:reduce){
.cf-bridge-page-5 .cfb5-prev,.cf-bridge-page-5 .cfb5-chip,.cf-bridge-page-5 .cfb5-bars,.cf-bridge-page-5 .cfb5-reveal,.cf-bridge-page-5 .cfb5-go,.cf-bridge-page-5 .cfb5-repeat{transition:none}
.cf-bridge-page-5 .cfb5-prev:hover{transform:none}
.cf-bridge-page-5 .cfb5-spin{animation:none}
}
`
pieces/hero/bridge-page-5/specimen.tsx 44 lines
import __studioImagea8e983d6 from "../assets/f286d63d00e35fcb.webp";
import * as React from 'react'
import { BridgePage5, type BridgePage5State } from '../bridge-page-5'
import defaults from '../../studio-defaults.json'
import { slot } from '../../slots'
import calendar from '../../fx/spots/calendar'
import checklist from '../../fx/spots/checklist'
import gift from '../../fx/spots/gift'
export const states = ['default', 'hover', 'active', 'disabled', 'error']
export default function BridgePage5Specimen({ state = 'default' }: { state?: BridgePage5State }) {
const sample = defaults.sample
return (
<BridgePage5
state={state}
headline='Your quiz result is in, and ==your plants are fixable==.'
lead='Before you see your kit, give this note forty seconds. It changes how you’ll read the next page.'
paragraphs={[
'Your answers point to one thing: your routine was never matched to the plants you own. That’s not a green-thumb problem. It’s a plan problem.',
'So I matched your result to the Fernway houseplant care kit. The next page shows exactly what’s inside and how it fits your shelf.',
]}
hostName='Mara Lind'
hostRole='Founder, Fernway'
presenterImage={slot(
'presenter',
__studioImagea8e983d6,
)}
presenterAlt='Mara Lind, founder of Fernway, among her houseplants'
previews={[
{ teaser: 'The 4-minute weekly routine your result points to', reveal: 'It starts with the plant you’re most likely to overwater.', spot: calendar },
{ teaser: 'What’s in the box, and the tool most people skip', reveal: 'It isn’t fertiliser. You’ll spot it in the first photo.', spot: gift },
{ teaser: 'Why yellow leaves usually aren’t about light', reveal: 'Hint: it starts with the pot, not the window.', spot: checklist },
]}
ctaLabel='Yes! Show me my Fernway kit'
ctaShortLabel='Yes! Show me my kit'
ctaNote='See everything inside on the next page'
priceLine={`${sample.price} once, about $1.57 a day for your first month`}
psLine={`**P.S.** Your kit comes with a ${sample.guarantee}. Look inside first, decide after.`}
href='#fernway-kit'
/>
)
}
| Name | Type | Details |
|---|---|---|
headline OptionalBridgePage5 |
string |
|
lead OptionalBridgePage5 |
string |
|
paragraphs OptionalBridgePage5 |
string[] |
|
hostName OptionalBridgePage5 |
string |
|
hostRole OptionalBridgePage5 |
string |
|
presenterImage OptionalBridgePage5 |
string |
|
presenterAlt OptionalBridgePage5 |
string |
|
previewsTitle OptionalBridgePage5 |
string |
|
previews OptionalBridgePage5 |
BridgePage5Preview[] |
|
peekLabel OptionalBridgePage5 |
string |
|
tapLabel OptionalBridgePage5 |
string |
|
openLabel OptionalBridgePage5 |
string |
|
ctaLabel OptionalBridgePage5 |
string |
|
ctaShortLabel OptionalBridgePage5 |
string |
|
ctaNote OptionalBridgePage5 |
string |
|
priceLine OptionalBridgePage5 |
string |
|
psLine OptionalBridgePage5 |
string |
|
href OptionalBridgePage5 |
string |
|
loadingLabel OptionalBridgePage5 |
string |
|
errorText OptionalBridgePage5 |
string |
|
disabled OptionalBridgePage5 |
boolean |
|
disabledNote OptionalBridgePage5 |
string |
|
preventNavigation OptionalBridgePage5 |
boolean |
|
onAction OptionalBridgePage5 |
(event: React.MouseEvent<HTMLAnchorElement>) => void | Promise<void> |
|
state OptionalBridgePage5 |
BridgePage5State |
|
id OptionalBridgePage5 |
string |
|
className OptionalBridgePage5 |
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-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.
-
321240b3188e2da4.webp
image/webp · 18.7 KB
-
63571cb07acc4626.webp
image/webp · 17.3 KB
-
b77916eca54aa689.webp
image/webp · 8.32 KB
-
d0943b629c0b1324.webp
image/webp · 8.87 KB
-
d435db6662febfcf.webp
image/webp · 10 KB
-
f0a5d3e1e61804ba.webp
image/webp · 11.6 KB
-
f286d63d00e35fcb.webp
image/webp · 59.4 KB