Bridge Page 9
Pauses the visitor with one huge line in the host's own words, a portrait on a bold band slab, a short note and one continue button.
Use it in a prompt
Use hero/bridge-page-9 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-9.tsx. - Import it and pass your copy and images (Props tab):
import { BridgePage9 } from "@/components/funneldna/hero/bridge-page-9"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/hero/bridge-page-9/component.tsx 352 lines
// Pauses the visitor with one huge line in the host's own words, a portrait on a bold band slab, a short note and one continue button.
// layout: quote-led
import * as React from 'react'
import { AlertCircle, Check, Loader2, Quote } from 'lucide-react'
export type BridgePage9Props = {
/** The big pattern-interrupt line, set as the host's own words. Supports ==marker== and **bold**. */
headline?: string
/** Presenter photo (src string). Omit it and the copy stands on its own. */
presenterImage?: string
presenterAlt?: string
/** Caption card on the photo */
captionTitle?: string
captionDetail?: string
noteTitle?: string
/** One bold sentence under the note title */
noteLead?: string
/** Short note records. Text supports **bold** and ==marker==. */
noteParagraphs?: TextRecord[]
reasonTitle?: string
/** Two short reason lines */
reason?: TextRecord[]
ctaLabel?: string
/** Shorter label for narrow phones so the button stays on one line */
ctaShortLabel?: string
href?: string
/** Legacy alias for href. */
ctaHref?: string
/** One short line under the button */
ctaNote?: string
loadingLabel?: string
/** @deprecated No longer rendered: the builder wires what happens after the click. */
successLabel?: string
/** Shown under the button while a promise returned by onAction is pending. */
statusText?: string
/** @deprecated No longer rendered. */
successNote?: string
errorText?: string
disabled?: boolean
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 label; a rejection shows errorText. */
onAction?: (event: React.MouseEvent<HTMLAnchorElement>) => void | Promise<void>
/** Legacy alias for onAction. */
onContinue?: (event: React.MouseEvent<HTMLAnchorElement>) => void | Promise<void>
/** 'success' is accepted for older callers and renders as default. */
state?: BridgePage9State
id?: string
className?: string
}
export function BridgePage9({
headline = 'Wait, ==before you continue…==',
presenterImage,
presenterAlt = 'Portrait of your host',
captionTitle = 'A quick note from your host',
captionDetail = '30-second read',
noteTitle = 'Read this first.',
noteLead = 'Before you dive in, start with a clear plan.',
noteParagraphs = ['The next page shows you exactly what’s inside, how it works and today’s price.'],
reasonTitle = 'Why this matters:',
reason = ['Know what every page needs to do before you write a word.', 'Catch the broken steps before your visitors do.'],
ctaLabel = 'Continue to the next page',
ctaShortLabel,
ctaHref = '#continue',
href = ctaHref,
ctaNote = 'Next: see what’s inside and today’s price',
loadingLabel = 'Opening…',
statusText = 'Opening the next page now.',
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.',
preventNavigation = false,
onContinue,
onAction = onContinue,
state = 'default',
id,
className,
}: BridgePage9Props) {
const uid = React.useId().replace(/:/g, '')
const headId = 'cfb9-h-' + uid
const msgId = 'cfb9-m-' + 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 view: View = isDisabled
? 'disabled'
: phase !== 'idle'
? phase
: state === 'error'
? 'error'
: 'idle'
const force = !isDisabled && (state === 'hover' || state === 'active') ? state : undefined
const handleClick = async (event: React.MouseEvent<HTMLAnchorElement>) => {
if (isDisabled || view === 'loading') {
event.preventDefault()
return
}
if (preventNavigation || !href || href === '#') event.preventDefault()
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 msg =
view === 'disabled'
? { tone: 'muted', text: disabledNote }
: view === 'loading'
? { tone: 'muted', text: statusText }
: view === 'error'
? { tone: 'error', text: errorText }
: { tone: 'muted', text: ctaNote }
const label =
view === 'loading' ? (
<>
<Loader2 className='cfb9-spin' aria-hidden='true' strokeWidth={2.75} />
<span>{loadingLabel}</span>
</>
) : ctaShortLabel ? (
<>
<span className='cfb9-full'>{ctaLabel}</span>
<span className='cfb9-short'>{ctaShortLabel}</span>
</>
) : (
<span>{ctaLabel}</span>
)
const reasons = reason.slice(0, 2)
return (
<section
id={id}
className={['cf-bridge-page-9', className].filter(Boolean).join(' ')}
aria-labelledby={headId}
data-solo={presenterImage ? undefined : ''}
>
<style>{CSS}</style>
<span className='cfb9-slab' aria-hidden='true'>
<Quote className='cfb9-ghost' fill='currentColor' strokeWidth={0} />
</span>
<div className='cfb9-in'>
{presenterImage ? (
<figure className='cfb9-fig'>
<div className='cfb9-frame'>
<img src={presenterImage} alt={presenterAlt} width={800} height={1000} loading='eager' decoding='async' />
</div>
{captionTitle ? (
<figcaption className='cfb9-cap'>
<span className='cfb9-cap-ic' aria-hidden='true'>
<Quote fill='currentColor' strokeWidth={0} />
</span>
<span className='cfb9-cap-tx'>
<strong>{captionTitle}</strong>
{captionDetail ? <span>{captionDetail}</span> : null}
</span>
</figcaption>
) : null}
</figure>
) : null}
<header className='cfb9-head'>
<Quote className='cfb9-q' aria-hidden='true' fill='currentColor' strokeWidth={0} />
<h1 id={headId} className='cfb9-h1'>
{rich(headline, 'h')}
</h1>
</header>
<div className='cfb9-body'>
{noteTitle ? <h2 className='cfb9-h2'>{noteTitle}</h2> : null}
{noteLead ? <p className='cfb9-lead'>{rich(noteLead, 'l')}</p> : null}
{noteParagraphs.map((p, i) => (
<p key={i} className='cfb9-p'>
{rich(text(p), 'n' + i)}
</p>
))}
{reasons.length ? (
<div className='cfb9-why'>
{reasonTitle ? <h3>{reasonTitle}</h3> : null}
<ul>
{reasons.map((r, i) => (
<li key={i}>
<span className='cfb9-tick' aria-hidden='true'>
<Check strokeWidth={3} />
</span>
<span>{rich(text(r), 'r' + i)}</span>
</li>
))}
</ul>
</div>
) : null}
<div className='cfb9-act'>
<a
className='cfb9-btn'
href={isDisabled ? undefined : href || '#'}
role={isDisabled ? 'link' : undefined}
aria-disabled={isDisabled || undefined}
aria-busy={view === 'loading' || undefined}
aria-describedby={msgId}
data-force={force}
data-view={view}
onClick={handleClick}
>
{label}
</a>
<div aria-live='polite' className='cfb9-live'>
<p id={msgId} className='cfb9-msg' data-tone={msg.tone} role={view === 'error' ? 'alert' : undefined}>
{view === 'error' ? <AlertCircle aria-hidden='true' /> : null}
<span>{msg.text}</span>
</p>
</div>
</div>
</div>
</div>
</section>
)
}
export default BridgePage9
export type BridgePage9State = 'default' | 'hover' | 'active' | 'disabled' | 'error' | 'success'
type TextRecord = string | { text: string }
type View = 'idle' | 'loading' | 'error' | 'disabled'
function text(record: TextRecord) {
return typeof record === 'string' ? record : record.text
}
function rich(value: string, key: string): React.ReactNode {
const parts = value.split(/(\*\*[^*]+\*\*|==[^=]+==)/g)
return parts.map((part, i) => {
if (!part) return null
if (part.startsWith('**') && part.endsWith('**')) return <strong key={key + i}>{part.slice(2, -2)}</strong>
if (part.startsWith('==') && part.endsWith('==')) return <span key={key + i} className='cfb9-mk'>{part.slice(2, -2)}</span>
return <React.Fragment key={key + i}>{part}</React.Fragment>
})
}
const CSS = `
.cf-bridge-page-9{position:relative;isolation:isolate;overflow:hidden;background:var(--surface,#fff);color:var(--ink,#141b2d);font-family:var(--font-body,system-ui,sans-serif);padding-block:clamp(3.5rem,7vw,6.5rem)}
.cf-bridge-page-9 *,.cf-bridge-page-9 *::before,.cf-bridge-page-9 *::after{box-sizing:border-box}
:where(.cf-bridge-page-9) .cfb9-slab{position:absolute;z-index:-1;inset-block:0;inset-inline-start:0;width:clamp(15rem,31vw,36rem);background:var(--band,#1c2b4d);transform-origin:50% 0;overflow:hidden}
:where(.cf-bridge-page-9) .cfb9-ghost{position:absolute;inset-inline-start:clamp(1.25rem,4vw,3rem);bottom:clamp(1.5rem,4vw,3rem);width:clamp(6rem,11vw,10rem);height:auto;color:var(--band-ink,#fff);opacity:.08}
:where(.cf-bridge-page-9) .cfb9-in{position:relative;max-width:76rem;margin-inline:auto;padding-inline:clamp(1.25rem,4vw,3rem);display:grid;grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);grid-template-areas:'photo head' 'photo body';grid-template-rows:auto 1fr;column-gap:clamp(2.5rem,6vw,6rem);align-items:start}
.cf-bridge-page-9[data-solo] .cfb9-in{grid-template-columns:minmax(0,1fr);grid-template-areas:'head' 'body';max-width:52rem}
.cf-bridge-page-9[data-solo] .cfb9-slab{display:none}
:where(.cf-bridge-page-9) .cfb9-fig{grid-area:photo;position:relative;margin:0;padding-bottom:1.75rem;min-width:0}
:where(.cf-bridge-page-9) .cfb9-frame{position:relative;aspect-ratio:4/5;overflow:hidden;border-radius:var(--card-radius,var(--radius,14px));background:color-mix(in oklch,var(--band,#1c2b4d) 80%,var(--card,#fff));box-shadow:var(--card-shadow,0 22px 34px -22px oklch(from var(--band) calc(l - .12) c h / .55),0 4px 10px oklch(from var(--band) calc(l - .12) c h / .16))}
:where(.cf-bridge-page-9) .cfb9-frame::after{content:'';position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1px oklch(from var(--card) calc(l + .04) c h / .16);pointer-events:none}
:where(.cf-bridge-page-9) .cfb9-frame img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 18%;transition:transform .8s cubic-bezier(.2,.8,.2,1)}
:where(.cf-bridge-page-9) .cfb9-fig:hover .cfb9-frame img{transform:scale(1.03)}
:where(.cf-bridge-page-9) .cfb9-cap{position:absolute;left:50%;bottom:0;transform:translateX(-50%);display:flex;align-items:center;gap:.7rem;width:max-content;max-width:calc(100% - 1.5rem);padding:.7rem 1.15rem .7rem .7rem;background:var(--card,#fff);color:var(--ink,#141b2d);border:1px solid var(--card-border,color-mix(in oklch,var(--ink,#141b2d) 12%,transparent));border-radius:calc(var(--card-radius,var(--radius,14px)) + 4px);box-shadow:var(--card-shadow,0 14px 26px -16px oklch(from var(--band) calc(l - .12) c h / .45),0 2px 5px oklch(from var(--band) calc(l - .12) c h / .08))}
:where(.cf-bridge-page-9) .cfb9-cap-ic{flex:none;display:grid;place-items:center;width:2.25rem;height:2.25rem;border-radius:50%;background:color-mix(in oklch,var(--accent-fill,var(--accent,#2563eb)) 14%,var(--card,#fff));color:var(--accent,#2563eb)}
:where(.cf-bridge-page-9) .cfb9-cap-ic svg{width:1rem;height:1rem}
:where(.cf-bridge-page-9) .cfb9-cap-tx{display:grid;gap:.1rem;min-width:0}
:where(.cf-bridge-page-9) .cfb9-cap-tx strong{font-size:.98rem;font-weight:700;line-height:1.25;text-wrap:balance}
:where(.cf-bridge-page-9) .cfb9-cap-tx span{font-size:.875rem;line-height:1.3;color:var(--muted,#4b5563)}
:where(.cf-bridge-page-9) .cfb9-head{grid-area:head;min-width:0}
:where(.cf-bridge-page-9) .cfb9-q{display:block;width:clamp(2.75rem,4.5vw,4rem);height:auto;margin:0 0 clamp(.75rem,1.5vw,1.25rem);color:var(--accent,#2563eb)}
:where(.cf-bridge-page-9) .cfb9-h1{margin:0;font-family:var(--font-display,system-ui,sans-serif);font-weight:var(--display-weight,900);text-transform:var(--display-case,none);letter-spacing:var(--display-tracking,-.035em);font-size:clamp(2.6rem,1.2rem + 4.6vw,5.25rem);line-height:.98;color:var(--ink,#141b2d);text-wrap:balance}
:where(.cf-bridge-page-9) .cfb9-mk{--cfb9-mk:color-mix(in oklch,var(--marker,#fae37c) 60%,var(--surface,#fff));background-image:linear-gradient(var(--cfb9-mk),var(--cfb9-mk));background-repeat:no-repeat;background-position:0 86%;background-size:100% .44em;padding-inline:.06em;margin-inline:-.06em;border-radius:.18em .3em .22em .34em;-webkit-box-decoration-break:clone;box-decoration-break:clone}
:where(.cf-bridge-page-9) .cfb9-body{grid-area:body;min-width:0;max-width:36rem;margin-top:clamp(1.5rem,2.6vw,2.25rem)}
:where(.cf-bridge-page-9) .cfb9-h2{margin:0 0 .65rem;font-family:var(--font-display,system-ui,sans-serif);font-weight:var(--display-weight,800);text-transform:var(--display-case,none);font-size:clamp(1.6rem,1.1rem + 1.6vw,2.25rem);line-height:1.08;letter-spacing:var(--display-tracking,-.02em);color:var(--accent,#2563eb);text-wrap:balance}
:where(.cf-bridge-page-9) .cfb9-lead{margin:0;font-size:clamp(1.2rem,1rem + .6vw,1.45rem);font-weight:700;line-height:1.3;color:var(--ink,#141b2d);text-wrap:balance}
:where(.cf-bridge-page-9) .cfb9-p{margin:.8rem 0 0;font-size:clamp(1.0625rem,1rem + .25vw,1.1875rem);line-height:1.6;color:var(--muted,#4b5563);text-wrap:pretty}
:where(.cf-bridge-page-9) .cfb9-p strong,:where(.cf-bridge-page-9) .cfb9-lead strong{color:var(--ink,#141b2d);font-weight:800}
:where(.cf-bridge-page-9) .cfb9-why{margin-top:1.4rem}
:where(.cf-bridge-page-9) .cfb9-why h3{margin:0 0 .65rem;font-family:var(--font-body,system-ui,sans-serif);font-size:1rem;font-weight:800;line-height:1.3;color:var(--ink,#141b2d)}
:where(.cf-bridge-page-9) .cfb9-why ul{list-style:none;margin:0;padding:0;display:grid;gap:.6rem}
:where(.cf-bridge-page-9) .cfb9-why li{display:flex;align-items:flex-start;gap:.7rem;font-size:1.0625rem;font-weight:600;line-height:1.45;color:var(--ink,#141b2d);text-wrap:pretty}
:where(.cf-bridge-page-9) .cfb9-tick{flex:none;display:grid;place-items:center;width:1.6rem;height:1.6rem;margin-top:-.02rem;border-radius:50%;background:var(--success-soft,#dcfce7);color:var(--success,#15803d)}
:where(.cf-bridge-page-9) .cfb9-tick svg{width:.95rem;height:.95rem}
:where(.cf-bridge-page-9) .cfb9-act{margin-top:clamp(1.75rem,3vw,2.25rem);display:flex;flex-direction:column;align-items:flex-start;gap:.8rem}
:where(.cf-bridge-page-9) .cfb9-btn{text-shadow:var(--button-text-shadow, 0 1px 0 oklch(from var(--button-bg, var(--cta)) calc(l - 0.2) c h / 0.75));position:relative;display:inline-flex;align-items:center;justify-content:center;gap:.6rem;min-height:4.25rem;max-width:100%;padding:1rem clamp(1.5rem,3vw,2.5rem);border:1px solid var(--button-bg-2,var(--cta-2,#b91c1c));border-radius:var(--button-radius,var(--radius,12px));background:linear-gradient(180deg,var(--button-bg,var(--cta,#dc2626)),var(--button-bg-2,var(--cta-2,#b91c1c)));color:var(--button-ink,var(--cta-ink,#fff));font-family:var(--button-font,var(--font-display,system-ui,sans-serif));font-weight:var(--button-weight,800);text-transform:var(--button-case,none);font-size:clamp(1.125rem,1rem + .5vw,1.375rem);line-height:1.15;letter-spacing:-.01em;text-align:center;text-wrap:balance;text-decoration:none;cursor:pointer;user-select:none;-webkit-tap-highlight-color:transparent;box-shadow:var(--button-shadow,inset 0 1px 0 oklch(from var(--card) calc(l + .04) c h / .28),inset 0 -3px 0 oklch(from var(--band) calc(l - .12) c h / .14),0 10px 18px -10px oklch(from var(--band) calc(l - .12) c h / .55),0 2px 4px oklch(from var(--band) calc(l - .12) c h / .14));transition:transform .16s ease,box-shadow .16s ease,background .16s ease}
:where(.cf-bridge-page-9) .cfb9-btn:hover:not([aria-disabled]),:where(.cf-bridge-page-9) .cfb9-btn[data-force=hover]{background:linear-gradient(180deg,oklch(from var(--button-bg,var(--cta,#dc2626)) calc(l - .06) c h),var(--button-bg-2,var(--cta-2,#b91c1c)));transform:translateY(-2px);box-shadow:var(--button-shadow,inset 0 1px 0 oklch(from var(--card) calc(l + .04) c h / .26),inset 0 -3px 0 oklch(from var(--band) calc(l - .12) c h / .16),0 14px 22px -12px oklch(from var(--band) calc(l - .12) c h / .6),0 3px 6px oklch(from var(--band) calc(l - .12) c h / .16))}
:where(.cf-bridge-page-9) .cfb9-btn:active:not([aria-disabled]),:where(.cf-bridge-page-9) .cfb9-btn[data-force=active]{transform:translateY(1px);background:var(--button-bg-2,var(--cta-2,#b91c1c));box-shadow:var(--button-shadow,inset 0 2px 5px oklch(from var(--band) calc(l - .12) c h / .22),0 2px 4px -2px oklch(from var(--band) calc(l - .12) c h / .3))}
:where(.cf-bridge-page-9) .cfb9-btn:focus-visible{outline:3px solid var(--field-focus,var(--accent,#2563eb));outline-offset:3px}
:where(.cf-bridge-page-9) .cfb9-btn[data-view=loading]{cursor:progress}
:where(.cf-bridge-page-9) .cfb9-btn[aria-disabled]{text-shadow:none;cursor:not-allowed;background:color-mix(in oklch,var(--ink,#141b2d) 7%,var(--card,#fff));color:var(--muted,#4b5563);border-color:color-mix(in oklch,var(--ink,#141b2d) 16%,transparent);box-shadow:none;transform:none}
:where(.cf-bridge-page-9) .cfb9-btn svg{flex:none;width:1.2em;height:1.2em}
:where(.cf-bridge-page-9) .cfb9-short{display:none}
:where(.cf-bridge-page-9) .cfb9-live{min-height:1.4rem}
:where(.cf-bridge-page-9) .cfb9-msg{margin:0;display:inline-flex;align-items:center;gap:.5rem;font-size:.95rem;line-height:1.4;color:var(--muted,#4b5563);text-wrap:pretty}
:where(.cf-bridge-page-9) .cfb9-msg svg{flex:none;width:1.1rem;height:1.1rem}
:where(.cf-bridge-page-9) .cfb9-msg[data-tone=error]{padding:.55rem .85rem;border-radius:calc(var(--radius,12px) * .6);background:var(--danger-soft,#fee2e2);color:var(--danger,#b91c1c);font-weight:600}
@media (max-width:53.75rem){
:where(.cf-bridge-page-9) .cfb9-slab{display:none}
:where(.cf-bridge-page-9) .cfb9-in{grid-template-columns:minmax(0,1fr);grid-template-areas:'head' 'photo' 'body';grid-template-rows:auto}
:where(.cf-bridge-page-9) .cfb9-fig{width:min(80%,21rem);margin:2.25rem auto 0;justify-self:center}
:where(.cf-bridge-page-9) .cfb9-fig::before{content:'';position:absolute;z-index:-1;top:14%;bottom:calc(1.75rem + 16%);left:50%;width:100vw;transform:translateX(-50%);background:var(--band,#1c2b4d)}
:where(.cf-bridge-page-9) .cfb9-body{max-width:none;margin-top:2rem}
:where(.cf-bridge-page-9) .cfb9-act{align-items:stretch}
:where(.cf-bridge-page-9) .cfb9-btn{width:100%}
:where(.cf-bridge-page-9) .cfb9-live{align-self:center;text-align:center}
:where(.cf-bridge-page-9) .cfb9-msg{justify-content:center}
}
@media (max-width:30rem){
:where(.cf-bridge-page-9) .cfb9-full{display:none}
:where(.cf-bridge-page-9) .cfb9-short{display:inline}
:where(.cf-bridge-page-9) .cfb9-btn{min-height:4rem;padding-inline:1.25rem}
}
@media (prefers-reduced-motion:no-preference){
:where(.cf-bridge-page-9) .cfb9-slab{animation:cfb9-grow .7s cubic-bezier(.2,.8,.2,1) both}
:where(.cf-bridge-page-9) .cfb9-frame{animation:cfb9-rise .6s .08s cubic-bezier(.2,.8,.2,1) both}
:where(.cf-bridge-page-9) .cfb9-q{animation:cfb9-pop .5s cubic-bezier(.3,1.4,.5,1) both}
:where(.cf-bridge-page-9) .cfb9-h1 .cfb9-mk{animation:cfb9-mark .7s .35s cubic-bezier(.6,0,.2,1) both}
:where(.cf-bridge-page-9) .cfb9-body{animation:cfb9-rise .5s .14s ease-out both}
:where(.cf-bridge-page-9) .cfb9-spin{animation:cfb9-spin .8s linear infinite}
}
@media (prefers-reduced-motion:reduce){
:where(.cf-bridge-page-9) .cfb9-btn,:where(.cf-bridge-page-9) .cfb9-frame img{transition:none}
:where(.cf-bridge-page-9) .cfb9-btn:hover:not([aria-disabled]),:where(.cf-bridge-page-9) .cfb9-btn[data-force=hover],:where(.cf-bridge-page-9) .cfb9-btn:active:not([aria-disabled]),:where(.cf-bridge-page-9) .cfb9-btn[data-force=active],:where(.cf-bridge-page-9) .cfb9-fig:hover .cfb9-frame img{transform:none}
}
@media (forced-colors:active){
:where(.cf-bridge-page-9) .cfb9-btn,:where(.cf-bridge-page-9) .cfb9-cap{border:2px solid ButtonText}
:where(.cf-bridge-page-9) .cfb9-btn:focus-visible{outline-color:Highlight}
}
@keyframes cfb9-grow{from{transform:scaleY(.4)}to{transform:none}}
@keyframes cfb9-rise{from{opacity:.82;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes cfb9-pop{from{opacity:.4;transform:scale(.8) rotate(-6deg)}to{opacity:1;transform:none}}
@keyframes cfb9-mark{from{background-size:0 .44em}to{background-size:100% .44em}}
@keyframes cfb9-spin{to{transform:rotate(360deg)}}
`
pieces/hero/bridge-page-9/specimen.tsx 32 lines
import __studioImage474b7380 from "../assets/dcf10f65633cba4e.webp";
import * as React from 'react'
import { BridgePage9, type BridgePage9State } from '../bridge-page-9'
import defaults from '../../studio-defaults.json'
import { slot } from '../../slots'
export const states = ['default', 'hover', 'active', 'disabled', 'error']
export default function BridgePage9Specimen({ state = 'default' }: { state?: string }) {
const s = defaults.sample
return (
<BridgePage9
state={state as BridgePage9State}
headline='Wait, ==before you continue…=='
presenterImage={slot('presenter', __studioImage474b7380)}
presenterAlt='Your host smiling at the camera'
captionTitle='A quick note from your host'
captionDetail='30-second read'
noteTitle='Read this first.'
noteLead='Before you dive in, start with a clear plan.'
noteParagraphs={['**' + s.name + '** helps you plan your funnel, write your page copy, and check every step before you launch.']}
reasonTitle='Why this matters:'
reason={['Know what every page needs to do before you write a word.', 'Catch broken links and forms before your visitors do.']}
ctaLabel={'Continue to ' + s.name}
ctaShortLabel='Continue to the kit'
href='#offer'
ctaNote='Next: see what’s inside and today’s price'
preventNavigation
/>
)
}
| Name | Type | Details |
|---|---|---|
headline OptionalBridgePage9 |
string |
Default 'Wait, ==before you continue…=='
|
presenterImage OptionalBridgePage9 |
string |
|
presenterAlt OptionalBridgePage9 |
string |
Default 'Portrait of your host'
|
captionTitle OptionalBridgePage9 |
string |
Default 'A quick note from your host'
|
captionDetail OptionalBridgePage9 |
string |
Default '30-second read'
|
noteTitle OptionalBridgePage9 |
string |
Default 'Read this first.'
|
noteLead OptionalBridgePage9 |
string |
Default 'Before you dive in, start with a clear plan.'
|
noteParagraphs OptionalBridgePage9 |
TextRecord[] |
Default ['The next page shows you exactly what’s inside, how it works and today’s price.']
|
reasonTitle OptionalBridgePage9 |
string |
Default 'Why this matters:'
|
reason OptionalBridgePage9 |
TextRecord[] |
Default ['Know what every page needs to do before you write a word.', 'Catch the broken steps before your visitors do.']
|
ctaLabel OptionalBridgePage9 |
string |
Default 'Continue to the next page'
|
ctaShortLabel OptionalBridgePage9 |
string |
|
href OptionalBridgePage9 |
string |
Default ctaHref
|
ctaHref OptionalBridgePage9 |
string |
Default '#continue'
|
ctaNote OptionalBridgePage9 |
string |
Default 'Next: see what’s inside and today’s price'
|
loadingLabel OptionalBridgePage9 |
string |
Default 'Opening…'
|
successLabel OptionalBridgePage9 |
string |
|
statusText OptionalBridgePage9 |
string |
Default 'Opening the next page now.'
|
successNote OptionalBridgePage9 |
string |
|
errorText OptionalBridgePage9 |
string |
Default 'That page didn’t open. Tap the button to try again.'
|
disabled OptionalBridgePage9 |
boolean |
Default false
|
disabledNote OptionalBridgePage9 |
string |
Default 'The next page opens here as soon as it’s ready.'
|
preventNavigation OptionalBridgePage9 |
boolean |
Default false
|
onAction OptionalBridgePage9 |
(event: React.MouseEvent<HTMLAnchorElement>) => void | Promise<void> |
Default onContinue
|
onContinue OptionalBridgePage9 |
(event: React.MouseEvent<HTMLAnchorElement>) => void | Promise<void> |
|
state OptionalBridgePage9 |
BridgePage9State |
Default 'default'
|
id OptionalBridgePage9 |
string |
|
className OptionalBridgePage9 |
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-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.
-
b77916eca54aa689.webp
image/webp · 8.32 KB
-
d435db6662febfcf.webp
image/webp · 10 KB
-
dcf10f65633cba4e.webp
image/webp · 57.3 KB
-
f0a5d3e1e61804ba.webp
image/webp · 11.6 KB