Bridge Page 7
Pauses the visitor with a personal note and previews what waits on the offer page.
Use it in a prompt
Use hero/bridge-page-7 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-7.tsx. - Import it and pass your copy and images (Props tab):
import { BridgePage7 } from "@/components/funneldna/hero/bridge-page-7"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/hero/bridge-page-7/component.tsx 367 lines
// Pauses the visitor with a personal note and previews what waits on the offer page.
import * as React from 'react'
import { AlertCircle, Check, Loader2, Pause, ShieldCheck } from 'lucide-react'
export type BridgePage7Props = {
/** Pattern-interrupt opener, line one */
headline?: string
/** Line two, set in the accent colour */
headlineEmphasis?: string
/** Trailing ellipsis that pulses three times, then rests */
showEllipsis?: boolean
/** Presenter photo (src string) */
presenterImage?: string
presenterAlt?: string
/** Short pill on the photo */
pauseLabel?: string
noteTitle?: string
/** Text records support **bold** and ==marker highlight==; legacy strings remain supported. */
noteParagraphs?: (string | { text: string })[]
/** Two reason records; legacy strings remain supported. */
reason?: (string | { text: string })[]
ctaLabel?: string
/** Shorter label for narrow phones so the button stays on one line */
ctaShortLabel?: string
href?: string
/** Legacy alias for href. */
ctaHref?: string
/** Reassurance records shown on one line; legacy strings remain supported. */
reassurance?: (string | { text: string })[]
loadingLabel?: string
/** @deprecated No longer rendered: the builder wires what happens after the click. */
successLabel?: string
/** @deprecated No longer rendered. */
statusText?: string
errorText?: string
disabled?: boolean
disabledNote?: string
/** What waits on the next page, shown small beneath the spotlight */
itemsTitle?: string
items?: BridgePage7Item[]
/** 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<HTMLElement>) => void | Promise<void>
/** Legacy alias for onAction. */
onContinue?: (event: React.MouseEvent<HTMLElement>) => void | Promise<void>
/** 'success' is accepted for older callers and renders as default. */
state?: BridgePage7State
id?: string
className?: string
}
export function BridgePage7({
headline = 'Wait, before',
headlineEmphasis = 'you continue',
showEllipsis = true,
presenterImage,
presenterAlt = 'Presenter smiling at a bright home office desk',
pauseLabel = 'Quick pause · 30-second read',
noteTitle = 'Read this first.',
noteParagraphs = [
'Before you take the next step, I want you to have ==a clear plan for what comes next==.',
'Everything you need is waiting for you on the next page.',
],
reason = [
'Every page gets one clear job before you write a word.',
'You know exactly what to check before you launch.',
],
ctaLabel = 'Continue to the next step',
ctaShortLabel,
ctaHref = '#continue',
href = ctaHref,
reassurance = [],
loadingLabel = 'Opening…',
errorText = 'We couldn’t open the next page. Please try again.',
disabled = false,
disabledNote = 'This step opens as soon as the next page is ready.',
itemsTitle = 'Waiting for you on the next page',
items = [],
preventNavigation = false,
onContinue,
onAction = onContinue,
state = 'default',
id,
className,
}: BridgePage7Props) {
const uid = React.useId().replace(/:/g, '')
const headId = `cfb7-h-${uid}`
const noteId = `cfb7-n-${uid}`
const assureId = `cfb7-a-${uid}`
const [phase, setPhase] = React.useState<'idle' | 'loading' | 'error'>('idle')
const mounted = React.useRef(true)
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 failed = !isDisabled && (state === 'error' || phase === 'error')
const loading = !isDisabled && phase === 'loading'
const force = state === 'hover' || state === 'active' ? state : undefined
const btnPhase = loading ? 'loading' : undefined
const handleClick = async (event: React.MouseEvent<HTMLElement>) => {
if (isDisabled || loading) {
event.preventDefault()
return
}
if (preventNavigation) event.preventDefault()
try {
const result = onAction?.(event)
if (!result || (href && !event.defaultPrevented)) return
setPhase('loading')
await result
if (mounted.current) setPhase('idle')
} catch {
if (mounted.current) setPhase('error')
}
}
const label = loading ? (
<>
<Loader2 className="cfb7-spin" aria-hidden="true" />
<span>{loadingLabel}</span>
</>
) : (
<>
<span className="cfb7-full">{ctaLabel}</span>
<span className="cfb7-short">{ctaShortLabel || ctaLabel}</span>
</>
)
const common = {
'data-force': force,
'data-phase': btnPhase,
'aria-disabled': isDisabled || undefined,
'aria-busy': loading || undefined,
'aria-describedby': reassurance.length ? assureId : undefined,
onClick: handleClick,
}
const [lead, ...rest] = noteParagraphs
return (
<section id={id} className={['cf-bridge-page-7', className].filter(Boolean).join(' ')} aria-labelledby={headId}>
<style>{CSS}</style>
<div className="cfb7-in">
<header className="cfb7-head">
<h1 id={headId} className="cfb7-h1">
<span className="cfb7-rv">{headline}</span>
<span className="cfb7-em cfb7-rv" style={{ '--d': 90 } as React.CSSProperties}>
{headlineEmphasis}
{showEllipsis && (
<>
<span className="cfb7-dots" aria-hidden="true"><i>.</i><i>.</i><i>.</i></span>
<span className="cfb7-sr">…</span>
</>
)}
</span>
</h1>
</header>
<div className="cfb7-spot">
{presenterImage && (
<div className="cfb7-stage cfb7-rv" style={{ '--d': 140 } as React.CSSProperties}>
<figure className="cfb7-photo">
<img src={presenterImage} alt={presenterAlt} width={800} height={1000} decoding="async" />
{pauseLabel && (
<figcaption className="cfb7-badge">
<b aria-hidden="true"><Pause fill="currentColor" strokeWidth={0} /></b>
<span>{pauseLabel}</span>
</figcaption>
)}
</figure>
</div>
)}
<article
className="cfb7-note cfb7-rv"
aria-labelledby={noteId}
style={{ '--d': 200, ...(presenterImage ? {} : { margin: 0, maxWidth: '46rem' }) } as React.CSSProperties}
>
<h2 id={noteId} className="cfb7-h2">{noteTitle}</h2>
{lead && <p className="cfb7-lead">{rich(typeof lead === 'string' ? lead : lead.text)}</p>}
{rest.map((p, i) => (
<p key={i} className="cfb7-body">{rich(typeof p === 'string' ? p : p.text)}</p>
))}
{reason.length > 0 && (
<ul className="cfb7-why">
{reason.slice(0, 2).map((line, i) => (
<li key={i}>
<b aria-hidden="true"><Check strokeWidth={3.25} /></b>
<span>{rich(typeof line === 'string' ? line : line.text)}</span>
</li>
))}
</ul>
)}
<div className="cfb7-act">
{isDisabled || !href ? (
<button type="button" className="cfb7-btn" {...common}>{label}</button>
) : (
<a href={href} className="cfb7-btn" {...common}>{label}</a>
)}
{reassurance.length > 0 && !failed && (
<p id={assureId} className="cfb7-assure">
<ShieldCheck aria-hidden="true" />
<span>{reassurance.map(item => typeof item === 'string' ? item : item.text).join(' · ')}</span>
</p>
)}
<div aria-live="polite">
{failed && (
<p className="cfb7-msg" data-tone="err" role="alert">
<AlertCircle aria-hidden="true" />
<span>{errorText}</span>
</p>
)}
{isDisabled && disabledNote && (
<p className="cfb7-msg" data-tone="off">
<AlertCircle aria-hidden="true" />
<span>{disabledNote}</span>
</p>
)}
</div>
</div>
</article>
</div>
{items.length > 0 && (
<div className="cfb7-row cfb7-rv" style={{ '--d': 260 } as React.CSSProperties}>
{itemsTitle && <h3 className="cfb7-h3">{itemsTitle}</h3>}
<ul className="cfb7-items">
{items.map((item, i) => {
const itemImage = item.itemImage !== undefined ? item.itemImage : item.image
return (
<li key={i} className="cfb7-item" data-noimg={itemImage ? undefined : ''}>
{itemImage && (
<img src={itemImage} alt={item.imageAlt || item.name} width={76} height={76} loading="lazy" decoding="async" />
)}
<div>
<p className="cfb7-iname">{item.name}</p>
{item.detail && <p className="cfb7-idet">{item.detail}</p>}
</div>
</li>
)
})}
</ul>
</div>
)}
</div>
</section>
)
}
export default BridgePage7
export type BridgePage7State = 'default' | 'hover' | 'active' | 'disabled' | 'error' | 'success'
export type BridgePage7Item = {
name: string
detail?: string
itemImage?: string
/** Legacy alias for itemImage. */
image?: string
imageAlt?: string
}
const CSS = `
.cf-bridge-page-7{--b7-ink:var(--ink,#101828);--b7-muted:var(--muted,#4a5565);--b7-acc:var(--accent,#0f5fc2);--b7-card:var(--card,#ffffff);--b7-band:var(--band,#0f2747);--b7-marker:var(--marker,#fae37c);--b7-ok:var(--success);--b7-err:var(--danger);--b7-r:var(--radius,14px);--b7-line:var(--card-border,oklch(from var(--ink) l c h / 0.12));position:relative;isolation:isolate;overflow-x:clip;box-sizing:border-box;background:color-mix(in oklch,var(--b7-acc) 4%,var(--surface,#ffffff));color:var(--b7-ink);font-family:var(--font-body,Arial,sans-serif);padding:clamp(3rem,6.5vw,6rem) clamp(1rem,4vw,2.5rem) clamp(3.5rem,7vw,6.5rem)}
.cf-bridge-page-7 *,.cf-bridge-page-7 *::before,.cf-bridge-page-7 *::after{box-sizing:border-box}
.cf-bridge-page-7 :is(h1,h2,h3,p,ul,figure){margin:0}
.cf-bridge-page-7 img{max-width:100%}
:where(.cf-bridge-page-7) .cfb7-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
:where(.cf-bridge-page-7) .cfb7-in{position:relative;max-width:72rem;margin:0 auto}
:where(.cf-bridge-page-7) .cfb7-head{margin-bottom:clamp(2rem,4.5vw,3.75rem)}
:where(.cf-bridge-page-7) .cfb7-h1{font-family:var(--font-display,Arial,sans-serif);font-weight:var(--display-weight,900);font-size:clamp(2.5rem,1.2rem + 5.6vw,6rem);line-height:.96;letter-spacing:var(--display-tracking,-.035em);color:var(--b7-ink);text-wrap:balance;text-transform:var(--display-case,none)}
:where(.cf-bridge-page-7) .cfb7-h1>span{display:block}
:where(.cf-bridge-page-7) .cfb7-h1 .cfb7-em{color:color-mix(in oklch,var(--b7-acc) 90%,var(--b7-ink));padding-bottom:.04em}
:where(.cf-bridge-page-7) .cfb7-dots{white-space:nowrap}
:where(.cf-bridge-page-7) .cfb7-dots i{display:inline-block;font-style:normal}
:where(.cf-bridge-page-7) .cfb7-spot{display:grid;grid-template-columns:minmax(0,1fr);align-items:start}
:where(.cf-bridge-page-7) .cfb7-stage{--b7-peek:1rem;--b7-drop:2rem;position:relative;padding-right:var(--b7-peek)}
:where(.cf-bridge-page-7) .cfb7-stage::before{content:'';position:absolute;z-index:-1;left:-100vw;right:0;top:var(--b7-drop);bottom:calc(var(--b7-drop) * -.75);background:var(--b7-band);border-radius:0 var(--b7-r) var(--b7-r) 0}
:where(.cf-bridge-page-7) .cfb7-photo{position:relative;overflow:hidden;border-radius:var(--card-radius,var(--b7-r));background:color-mix(in oklch,var(--b7-ink) 8%,var(--b7-card));box-shadow:var(--card-shadow,var(--shadow-md, 0 1px 2px oklch(0.22 0.03 260 / 0.22), 0 4px 10px -2px oklch(0.22 0.03 260 / 0.2)))}
:where(.cf-bridge-page-7) .cfb7-photo img{display:block;width:100%;height:clamp(15rem,62vw,26rem);object-fit:cover;object-position:50% 22%}
:where(.cf-bridge-page-7) .cfb7-badge{position:absolute;top:.85rem;left:.85rem;display:inline-flex;align-items:center;gap:.55rem;max-width:calc(100% - 1.7rem);padding:.4rem .95rem .4rem .4rem;border-radius:999px;background:var(--b7-card);color:var(--b7-ink);font-size:.875rem;font-weight:700;line-height:1.2;box-shadow:inset 0 0 0 1px var(--b7-line),var(--shadow-sm, 0 1px 1px oklch(0.22 0.03 260 / 0.18), 0 1px 3px oklch(0.22 0.03 260 / 0.14))}
:where(.cf-bridge-page-7) .cfb7-badge b{flex:0 0 auto;display:grid;place-items:center;width:1.75rem;height:1.75rem;border-radius:50%;background:var(--warning-soft);color:var(--warning)}
:where(.cf-bridge-page-7) .cfb7-badge svg{width:.9rem;height:.9rem}
:where(.cf-bridge-page-7) .cfb7-note{position:relative;z-index:1;margin:-2rem .5rem 0;background:var(--b7-card);border:1px solid var(--b7-line);border-radius:var(--card-radius,calc(var(--b7-r) + 4px));padding:clamp(1.4rem,4vw,3rem);box-shadow:inset 0 0 0 4px color-mix(in oklch,var(--b7-acc) 3%,var(--b7-card)),var(--card-shadow,var(--shadow-md, 0 1px 2px oklch(0.22 0.03 260 / 0.22), 0 4px 10px -2px oklch(0.22 0.03 260 / 0.2)))}
:where(.cf-bridge-page-7) .cfb7-h2{font-family:var(--font-display,Arial,sans-serif);font-weight:var(--display-weight,900);font-size:clamp(2rem,1.35rem + 2.3vw,3.25rem);line-height:1.02;letter-spacing:var(--display-tracking,-.025em);color:var(--b7-ink);text-wrap:balance;text-transform:var(--display-case,none)}
:where(.cf-bridge-page-7) .cfb7-lead{margin-top:clamp(.85rem,1.4vw,1.1rem)!important;max-width:34ch;font-size:clamp(1.1875rem,1.05rem + .55vw,1.5rem);line-height:1.42;font-weight:500;color:var(--b7-ink);text-wrap:pretty}
:where(.cf-bridge-page-7) .cfb7-body{margin-top:.85rem!important;max-width:46ch;font-size:clamp(1.0625rem,1rem + .25vw,1.1875rem);line-height:1.55;color:var(--b7-muted);text-wrap:pretty}
:where(.cf-bridge-page-7) .cfb7-note strong{color:var(--b7-ink);font-weight:800}
:where(.cf-bridge-page-7) .cfb7-mark{color:inherit;background:linear-gradient(to bottom,transparent 0 40%,oklch(from var(--b7-marker) l c h / 0.92) 40% 93%,transparent 93%);padding:0 .14em;margin:0 -.04em;border-radius:.18em .42em .22em .36em;-webkit-box-decoration-break:clone;box-decoration-break:clone}
:where(.cf-bridge-page-7) .cfb7-why{list-style:none;margin-top:1.4rem!important;padding:1rem 1.15rem;display:grid;gap:.7rem;border-radius:var(--card-radius,calc(var(--b7-r) - 2px));background:var(--success-soft)}
:where(.cf-bridge-page-7) .cfb7-why li{display:grid;grid-template-columns:1.6rem minmax(0,1fr);gap:.75rem;align-items:start;font-size:1.0625rem;line-height:1.45;font-weight:600;color:var(--b7-ink);text-wrap:pretty}
:where(.cf-bridge-page-7) .cfb7-why b{display:grid;place-items:center;width:1.6rem;height:1.6rem;margin-top:.02rem;border-radius:50%;background:var(--success);color:var(--card)}
:where(.cf-bridge-page-7) .cfb7-why svg{width:.95rem;height:.95rem}
:where(.cf-bridge-page-7) .cfb7-act{margin-top:clamp(1.5rem,2.4vw,2rem);display:flex;flex-direction:column;align-items:flex-start}
:where(.cf-bridge-page-7) .cfb7-btn{appearance:none;position:relative;display:inline-flex;align-items:center;justify-content:center;gap:.6rem;min-height:4.25rem;margin:0;padding:.6rem clamp(1.5rem,3vw,2.25rem);border-radius:var(--button-radius,calc(var(--b7-r) - 2px));border:1px solid var(--button-bg-2,oklch(from var(--button-bg,var(--cta)) calc(l - 0.05) c h));background:linear-gradient(180deg,var(--button-bg,var(--cta)),var(--button-bg-2,oklch(from var(--button-bg,var(--cta)) calc(l - 0.05) c h)));color:var(--button-ink,var(--cta-ink));text-shadow:var(--button-text-shadow, 0 1px 0 oklch(from var(--button-bg, var(--cta)) calc(l - 0.2) c h / 0.75));font:var(--button-weight,800) clamp(1.125rem,1rem + .5vw,1.375rem)/1.15 var(--button-font,var(--font-display));letter-spacing:-.005em;text-decoration:none;text-align:center;text-wrap:balance;cursor:pointer;box-shadow:var(--button-shadow,var(--shadow-md, 0 1px 2px oklch(0.22 0.03 260 / 0.22), 0 4px 10px -2px oklch(0.22 0.03 260 / 0.2)));transition:transform .16s cubic-bezier(.2,.8,.2,1),box-shadow .16s ease,filter .16s ease;-webkit-tap-highlight-color:transparent;user-select:none;text-transform:var(--button-case,none)}
:where(.cf-bridge-page-7) .cfb7-btn svg{flex:0 0 auto;width:1.15em;height:1.15em}
:where(.cf-bridge-page-7) .cfb7-btn:hover,:where(.cf-bridge-page-7) .cfb7-btn[data-force=hover]{transform:translateY(-2px);background:oklch(from var(--button-bg,var(--cta)) calc(l - 0.06) c h);box-shadow:var(--button-shadow,var(--shadow-md, 0 1px 2px oklch(0.22 0.03 260 / 0.22), 0 4px 10px -2px oklch(0.22 0.03 260 / 0.2)))}
:where(.cf-bridge-page-7) .cfb7-btn:active,:where(.cf-bridge-page-7) .cfb7-btn[data-force=active]{transform:translateY(3px);background:oklch(from var(--button-bg,var(--cta)) calc(l - 0.06) c h);box-shadow:var(--button-shadow,var(--shadow-md, 0 1px 2px oklch(0.22 0.03 260 / 0.22), 0 4px 10px -2px oklch(0.22 0.03 260 / 0.2)))}
:where(.cf-bridge-page-7) .cfb7-btn:focus-visible{outline:3px solid var(--b7-acc);outline-offset:4px}
:where(.cf-bridge-page-7) .cfb7-btn[data-phase=loading]{cursor:progress;transform:none;filter:none}
:where(.cf-bridge-page-7) .cfb7-btn[aria-disabled=true],:where(.cf-bridge-page-7) .cfb7-btn[aria-disabled=true]:hover,:where(.cf-bridge-page-7) .cfb7-btn[aria-disabled=true]:active{cursor:not-allowed;transform:none;filter:none;background:var(--field);border-color:color-mix(in oklch,var(--b7-muted) 30%,var(--b7-card));color:var(--field-ink);text-shadow:none;box-shadow:var(--button-shadow,var(--shadow-md, 0 1px 2px oklch(0.22 0.03 260 / 0.22), 0 4px 10px -2px oklch(0.22 0.03 260 / 0.2)))}
:where(.cf-bridge-page-7) .cfb7-short{display:none}
:where(.cf-bridge-page-7) .cfb7-assure{margin-top:.9rem!important;display:flex;align-items:center;gap:.45rem;font-size:.9375rem;line-height:1.35;font-weight:600;color:var(--b7-muted);text-wrap:pretty}
:where(.cf-bridge-page-7) .cfb7-assure svg{flex:0 0 auto;width:1.05rem;height:1.05rem;color:var(--b7-ok)}
:where(.cf-bridge-page-7) .cfb7-msg{margin-top:.9rem!important;display:flex;align-items:flex-start;gap:.55rem;padding:.75rem .95rem;border-radius:var(--card-radius,calc(var(--b7-r) - 4px));font-size:.9375rem;line-height:1.4;font-weight:600;text-wrap:pretty}
:where(.cf-bridge-page-7) .cfb7-msg svg{flex:0 0 auto;width:1.1rem;height:1.1rem;margin-top:.08rem}
:where(.cf-bridge-page-7) .cfb7-msg[data-tone=err]{background:var(--danger-soft);color:var(--danger)}
:where(.cf-bridge-page-7) .cfb7-msg[data-tone=off]{background:var(--warning-soft);color:var(--warning)}
:where(.cf-bridge-page-7) .cfb7-row{margin-top:clamp(3.75rem,7vw,5.5rem)}
:where(.cf-bridge-page-7) .cfb7-h3{margin-bottom:1rem!important;font-family:var(--font-display,Arial,sans-serif);font-weight:var(--display-weight,800);font-size:clamp(1.25rem,1.1rem + .6vw,1.625rem);line-height:1.15;letter-spacing:var(--display-tracking,-.01em);color:var(--b7-ink);text-wrap:balance;text-transform:var(--display-case,none)}
:where(.cf-bridge-page-7) .cfb7-items{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,17rem),1fr));gap:clamp(.75rem,1.5vw,1.25rem)}
:where(.cf-bridge-page-7) .cfb7-item{display:grid;grid-template-columns:4.75rem minmax(0,1fr);gap:1rem;align-items:start;padding:.9rem 1.1rem .9rem .9rem;background:var(--b7-card);border:1px solid var(--b7-line);border-radius:var(--card-radius,var(--b7-r));box-shadow:inset 0 0 0 3px color-mix(in oklch,var(--b7-acc) 3%,var(--b7-card)),var(--card-shadow,var(--shadow-md, 0 1px 2px oklch(0.22 0.03 260 / 0.22), 0 4px 10px -2px oklch(0.22 0.03 260 / 0.2)))}
:where(.cf-bridge-page-7) .cfb7-item[data-noimg]{grid-template-columns:minmax(0,1fr)}
:where(.cf-bridge-page-7) .cfb7-item img{display:block;width:4.75rem;height:4.75rem;object-fit:cover;border-radius:var(--card-radius,calc(var(--b7-r) - 6px));background:color-mix(in oklch,var(--b7-ink) 6%,var(--b7-card))}
:where(.cf-bridge-page-7) .cfb7-iname{font-weight:800;font-size:1.0625rem;line-height:1.25;color:var(--b7-ink);text-wrap:balance}
:where(.cf-bridge-page-7) .cfb7-idet{margin-top:.3rem!important;font-size:.9375rem;line-height:1.45;color:var(--b7-muted);text-wrap:pretty}
@media (min-width:960px){
:where(.cf-bridge-page-7) .cfb7-spot{grid-template-columns:minmax(0,5fr) minmax(0,7fr)}
:where(.cf-bridge-page-7) .cfb7-stage{--b7-peek:1.75rem;--b7-drop:3.5rem}
:where(.cf-bridge-page-7) .cfb7-photo img{height:auto;aspect-ratio:4/5}
:where(.cf-bridge-page-7) .cfb7-note{margin:3rem 0 0 -3.25rem}
:where(.cf-bridge-page-7) .cfb7-badge{top:auto;bottom:1rem;left:1rem}
}
@media (max-width:639px){
:where(.cf-bridge-page-7) .cfb7-act{align-items:stretch}
:where(.cf-bridge-page-7) .cfb7-btn{width:100%;min-height:4rem;padding-inline:1.1rem}
:where(.cf-bridge-page-7) .cfb7-note{margin-inline:.35rem}
}
@media (max-width:559px){:where(.cf-bridge-page-7) .cfb7-full{display:none}:where(.cf-bridge-page-7) .cfb7-short{display:inline}}
@media (prefers-reduced-motion:no-preference){
:where(.cf-bridge-page-7) .cfb7-rv{animation:cfb7-in .45s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(var(--d,0) * 1ms)}
:where(.cf-bridge-page-7) .cfb7-photo img{animation:cfb7-zoom 1.4s cubic-bezier(.2,.8,.2,1) both}
:where(.cf-bridge-page-7) .cfb7-dots i{animation:cfb7-dot 1.2s ease-in-out .5s 3 both}
:where(.cf-bridge-page-7) .cfb7-dots i:nth-child(2){animation-delay:.65s}
:where(.cf-bridge-page-7) .cfb7-dots i:nth-child(3){animation-delay:.8s}
:where(.cf-bridge-page-7) .cfb7-spin{animation:cfb7-spin .8s linear infinite}
:where(.cf-bridge-page-7) .cfb7-msg{animation:cfb7-in .3s ease-out both}
}
@keyframes cfb7-in{from{opacity:.82;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes cfb7-zoom{from{transform:scale(1.06)}to{transform:scale(1)}}
@keyframes cfb7-dot{0%,100%{opacity:1}45%{opacity:.22}}
@keyframes cfb7-spin{to{transform:rotate(360deg)}}
@media (forced-colors:active){:where(.cf-bridge-page-7) .cfb7-btn,:where(.cf-bridge-page-7) .cfb7-note,:where(.cf-bridge-page-7) .cfb7-item,:where(.cf-bridge-page-7) .cfb7-badge{border:1px solid CanvasText}:where(.cf-bridge-page-7) .cfb7-btn:focus-visible{outline-color:Highlight}}
`
function rich(text: string) {
return text.split(/(\*\*[^*]+\*\*|==[^=]+==)/g).map((part, i) => {
if (part.startsWith('**') && part.endsWith('**')) return <strong key={i}>{part.slice(2, -2)}</strong>
if (part.startsWith('==') && part.endsWith('==')) return <mark key={i} className="cfb7-mark">{part.slice(2, -2)}</mark>
return <React.Fragment key={i}>{part}</React.Fragment>
})
}
pieces/hero/bridge-page-7/specimen.tsx 40 lines
import __studioImagebffb1b13 from "../assets/e963946acd72faf9.webp";
import * as React from 'react'
import BridgePage7, { type BridgePage7State } from '../bridge-page-7'
import { slot } from '../../slots'
import defaults from '../../studio-defaults.json'
export const states = ['default', 'hover', 'active', 'disabled', 'error']
export default function BridgePage7Specimen({ state = 'default' }: { state?: string }) {
const s = defaults.sample
return (
<BridgePage7
state={state as BridgePage7State}
headline="Wait, before"
headlineEmphasis="you continue"
presenterImage={slot('presenter', __studioImagebffb1b13)}
presenterAlt="Presenter smiling at a bright home office desk"
pauseLabel="Quick pause · 30-second read"
noteTitle="Read this first."
noteParagraphs={[
'Before you take the next step, I want you to have ==a clear plan for your first funnel==.',
`**${s.name}** gives you the guide, workbook, and checklist in one download, so you know exactly what to build.`,
]}
reason={[
'Every page gets one clear job before you write a word.',
'You check every link, form, and next step before launch.',
]}
ctaLabel={`Continue to ${s.name}`}
ctaShortLabel="Continue to the kit"
href="#funnel-starter-kit"
reassurance={s.reassurance}
loadingLabel="Opening…"
errorText="We couldn’t open the next page. Please try again."
disabledNote="This step opens as soon as the next page is ready."
itemsTitle="Waiting for you on the next page"
items={s.items.map((item, i) => ({ name: item.name, detail: item.detail, itemImage: slot(`item-${i + 1}`, item.image), imageAlt: item.imageAlt }))}
preventNavigation
/>
)
}
| Name | Type | Details |
|---|---|---|
headline OptionalBridgePage7 |
string |
Default 'Wait, before'
|
headlineEmphasis OptionalBridgePage7 |
string |
Default 'you continue'
|
showEllipsis OptionalBridgePage7 |
boolean |
Default true
|
presenterImage OptionalBridgePage7 |
string |
|
presenterAlt OptionalBridgePage7 |
string |
Default 'Presenter smiling at a bright home office desk'
|
pauseLabel OptionalBridgePage7 |
string |
Default 'Quick pause · 30-second read'
|
noteTitle OptionalBridgePage7 |
string |
Default 'Read this first.'
|
noteParagraphs OptionalBridgePage7 |
(string | { text: string })[] |
Default [
'Before you take the next step, I want you to have ==a clear plan for what comes next==.',
'Everything you need is waiting for you on the next page.',
]
|
reason OptionalBridgePage7 |
(string | { text: string })[] |
Default [
'Every page gets one clear job before you write a word.',
'You know exactly what to check before you launch.',
]
|
ctaLabel OptionalBridgePage7 |
string |
Default 'Continue to the next step'
|
ctaShortLabel OptionalBridgePage7 |
string |
|
href OptionalBridgePage7 |
string |
Default ctaHref
|
ctaHref OptionalBridgePage7 |
string |
Default '#continue'
|
reassurance OptionalBridgePage7 |
(string | { text: string })[] |
Default []
|
loadingLabel OptionalBridgePage7 |
string |
Default 'Opening…'
|
successLabel OptionalBridgePage7 |
string |
|
statusText OptionalBridgePage7 |
string |
|
errorText OptionalBridgePage7 |
string |
Default 'We couldn’t open the next page. Please try again.'
|
disabled OptionalBridgePage7 |
boolean |
Default false
|
disabledNote OptionalBridgePage7 |
string |
Default 'This step opens as soon as the next page is ready.'
|
itemsTitle OptionalBridgePage7 |
string |
Default 'Waiting for you on the next page'
|
items OptionalBridgePage7 |
BridgePage7Item[] |
Default []
|
preventNavigation OptionalBridgePage7 |
boolean |
Default false
|
onAction OptionalBridgePage7 |
(event: React.MouseEvent<HTMLElement>) => void | Promise<void> |
Default onContinue
|
onContinue OptionalBridgePage7 |
(event: React.MouseEvent<HTMLElement>) => void | Promise<void> |
|
state OptionalBridgePage7 |
BridgePage7State |
Default 'default'
|
id OptionalBridgePage7 |
string |
|
className OptionalBridgePage7 |
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.
--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-ink- 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.
item-*- One image per offer item (item-1, item-2…), shown in stacks and lists.
presenter- A photo of the host, coach or founder.
-
b77916eca54aa689.webp
image/webp · 8.32 KB
-
d435db6662febfcf.webp
image/webp · 10 KB
-
e963946acd72faf9.webp
image/webp · 71.8 KB
-
f0a5d3e1e61804ba.webp
image/webp · 11.6 KB