Three Secrets 3
Asks the three questions the free training answers, opens each teaser in place, and makes the register button the final answer.
Use it in a prompt
Use content/three-secrets-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/content/three-secrets-3.tsx. - Import it and pass your copy and images (Props tab):
import { ThreeSecrets3 } from "@/components/funneldna/content/three-secrets-3"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/content/three-secrets-3/component.tsx 366 lines
// layout: interview-qa
// Asks the three questions the free training answers, opens each teaser in place, and makes the register button the final answer.
'use client'
import * as React from 'react'
import { AlertCircle, Loader2, LockKeyhole, MonitorPlay, Plus } from 'lucide-react'
/** States the piece implements (the specimen renders each one). */
export type ThreeSecrets3State = 'default' | 'hover' | 'active' | 'disabled' | 'error'
export type InterviewQuestion = {
/** The question, in the reader's own words. */
question: string
/** Bold lead-in that starts the teaser answer, e.g. 'It isn’t more outreach.' */
lead: string
/** The rest of the teaser: one line that stops short of the full answer. */
teaser: string
}
export type ThreeSecrets3Props = {
headline?: string
/** Phrase inside the headline that gets one marker stroke (matched case-insensitively). */
emphasis?: string
/** Line under the headline; omit to hide. */
lead?: string
/** The three questions the training answers. Only the first three render. */
questions?: InterviewQuestion[]
/** Index of the question open on first render; -1 starts with every question closed. */
defaultOpen?: number
/** Question marker template. The {n} placeholder becomes the question number. */
questionMarker?: string
/** Marker beside every answer. */
answerMarker?: string
/** Short line inside each open answer; omit to hide. */
revealNote?: string
/** The last question. The register button is its answer. */
finalQuestion?: string
/** Accessible name for the list of questions. */
listLabel?: string
/** Button text. */
label?: string
/** One short reassurance line under the button; omit to hide. */
sublabel?: string
/** Button text while a promise returned by onAction is pending. */
loadingLabel?: string
/** Shown under the button when onAction throws or rejects, or in the error state. */
errorMessage?: string
/** Where the button goes (e.g. '#register'); the button renders as a link when set. */
href?: string
/** Called on click. A returned promise shows loadingLabel; a rejection shows errorMessage. */
onAction?: () => void | Promise<unknown>
/** Editorial photo beside the headline (slot: scene). Without it the column shows type only. */
sceneImage?: string
/** Alt text for the scene photo; empty marks it decorative. */
sceneAlt?: string
/** Plain caption under the photo; omit to hide. */
sceneCaption?: string
/** Forces a visual state for previews; 'default' lets the piece manage its own. */
state?: ThreeSecrets3State
/** Section id, e.g. for in-page anchors. */
id?: string
className?: string
}
export function ThreeSecrets3(props: ThreeSecrets3Props) {
const {
headline = 'Three questions every agency owner hits at 10 clients',
emphasis = 'at 10 clients',
lead = 'The free Agency Growth Training answers all three. Here’s where each answer starts.',
questions = DEFAULT_QUESTIONS,
defaultOpen = 0,
questionMarker = 'Q{n}',
answerMarker = 'A',
revealNote = 'Full answer in the training',
finalQuestion = 'So where do I get the full answers?',
listLabel = 'Questions the training answers',
label = 'Send Me The Training',
sublabel = 'Free training · Watch online',
loadingLabel = 'Sending your training…',
errorMessage = 'We couldn’t complete your registration. Please try again.',
href,
onAction,
sceneImage,
sceneAlt = '',
sceneCaption = 'One free training. Three full answers.',
state = 'default',
id,
className,
} = props
const uid = React.useId().replace(/[^a-zA-Z0-9_-]/g, '')
const headingId = `tq3-h-${uid}`
const errId = `tq3-e-${uid}`
const [open, setOpen] = React.useState<number>(defaultOpen)
const [status, setStatus] = React.useState<'idle' | 'loading' | 'error'>('idle')
const alive = React.useRef(true)
React.useEffect(() => {
alive.current = true
return () => {
alive.current = false
}
}, [])
const rows = questions.slice(0, 3)
const view = state === 'error' && status === 'idle' ? 'error' : status
const disabled = state === 'disabled'
const busy = view === 'loading'
const inert = disabled || busy
const force = state === 'hover' || state === 'active' ? state : undefined
const marker = (n: number) => questionMarker.split('{n}').join(String(n))
function handle(event: React.MouseEvent<HTMLElement>) {
if (inert) {
event.preventDefault()
return
}
if (!onAction) return
setStatus('idle')
let result: unknown
try {
result = onAction()
} catch {
setStatus('error')
return
}
if (!isThenable(result)) return
setStatus('loading')
result.then(
() => {
if (alive.current) setStatus('idle')
},
() => {
if (alive.current) setStatus('error')
},
)
}
const inner = busy ? (
<>
<Loader2 className='tq3-spin' aria-hidden='true' strokeWidth={2.5} />
<span>{loadingLabel}</span>
</>
) : (
<span>{label}</span>
)
const shared = {
'data-view': disabled ? 'disabled' : view,
'aria-busy': busy || undefined,
'aria-disabled': inert || undefined,
'aria-describedby': view === 'error' ? errId : undefined,
onClick: handle,
}
const button = href ? (
<a {...shared} className='tq3-btn' href={inert ? undefined : href}>
{inner}
</a>
) : (
<button {...shared} className='tq3-btn' type='button' disabled={disabled}>
{inner}
</button>
)
return (
<section
id={id}
className={['cf-three-secrets-3', className].filter(Boolean).join(' ')}
aria-labelledby={headingId}
data-force={force}
>
<style>{CSS}</style>
<div className='tq3-wrap'>
<div className='tq3-intro'>
<h2 className='tq3-h' id={headingId}>{withEmphasis(headline, emphasis)}</h2>
{lead ? <p className='tq3-lead'>{lead}</p> : null}
{sceneImage ? (
<figure className='tq3-fig'>
<img src={sceneImage} alt={sceneAlt} width={1200} height={800} loading='lazy' decoding='async' />
{sceneCaption ? <figcaption className='tq3-cap'>{sceneCaption}</figcaption> : null}
</figure>
) : null}
</div>
<div className='tq3-talk'>
<ol className='tq3-list' aria-label={listLabel}>
{rows.map((item, i) => {
const isOpen = open === i
const qId = `tq3-q-${uid}-${i}`
const pId = `tq3-p-${uid}-${i}`
return (
<li
className='tq3-row'
key={i}
data-open={isOpen ? '' : undefined}
style={{ ['--i' as string]: i } as React.CSSProperties}
>
<h3 className='tq3-qh'>
<button
className='tq3-q'
type='button'
id={qId}
aria-expanded={isOpen}
aria-controls={pId}
onClick={() => setOpen(isOpen ? -1 : i)}
>
<span className='tq3-qn' aria-hidden='true'>{marker(i + 1)}</span>
<span className='tq3-qt'>{item.question}</span>
<span className='tq3-qi' aria-hidden='true'>
<Plus strokeWidth={2.5} />
</span>
</button>
</h3>
<div className='tq3-panel' id={pId} role='region' aria-labelledby={qId}>
<div className='tq3-panel-in'>
<div className='tq3-a'>
<span className='tq3-am' aria-hidden='true'>{answerMarker}</span>
<div className='tq3-ab'>
<p className='tq3-at'>
<strong>{item.lead}</strong> {item.teaser}
</p>
{revealNote ? (
<p className='tq3-note'>
<LockKeyhole aria-hidden='true' strokeWidth={2.5} />
{revealNote}
</p>
) : null}
</div>
</div>
</div>
</div>
</li>
)
})}
</ol>
<div className='tq3-final' style={{ ['--i' as string]: rows.length } as React.CSSProperties}>
<h3 className='tq3-fq'>
<span className='tq3-qn' aria-hidden='true'>{marker(rows.length + 1)}</span>
<span className='tq3-qt'>{finalQuestion}</span>
</h3>
<div className='tq3-fa'>
<span className='tq3-am' aria-hidden='true'>{answerMarker}</span>
<div className='tq3-cta'>
{button}
{sublabel ? (
<p className='tq3-sub'>
<MonitorPlay aria-hidden='true' strokeWidth={2.5} />
{sublabel}
</p>
) : null}
{view === 'error' ? (
<p className='tq3-err' id={errId} role='alert'>
<AlertCircle aria-hidden='true' strokeWidth={2.5} />
{errorMessage}
</p>
) : null}
</div>
</div>
</div>
</div>
</div>
</section>
)
}
export default ThreeSecrets3
const DEFAULT_QUESTIONS: InterviewQuestion[] = [
{
question: 'Why do referrals dry up at 10 clients?',
lead: 'It isn’t more outreach.',
teaser: 'It’s a shift in how your best clients describe you, and it starts right around client ten.',
},
{
question: 'Why does every hire make you busier, not freer?',
lead: 'It isn’t a better hire.',
teaser: 'It’s one decision you still make on every project. The training shows you which one.',
},
{
question: 'Why do your retainers stall at the same price?',
lead: 'It isn’t a sharper proposal.',
teaser: 'It’s what clients believe they’re paying for, and it isn’t what’s on your invoice.',
},
]
function withEmphasis(text: string, phrase?: string): React.ReactNode {
if (!phrase) return text
const at = text.toLowerCase().indexOf(phrase.toLowerCase())
if (at < 0) return text
return (
<>
{text.slice(0, at)}
<span className='tq3-em'>{text.slice(at, at + phrase.length)}</span>
{text.slice(at + phrase.length)}
</>
)
}
function isThenable(value: unknown): value is PromiseLike<unknown> {
return typeof value === 'object' && value !== null && typeof (value as { then?: unknown }).then === 'function'
}
const CSS = `
.cf-three-secrets-3{--tq3-mk:2.3em;--tq3-gap:16px;--tq3-ic:40px;--tq3-px:clamp(20px,3vw,32px);--tq3-py:clamp(20px,2.4vw,28px);--tq3-ease:cubic-bezier(.2,.7,.2,1);--tq3-sh:var(--shadow,oklch(0.22 0.03 260));--tq3-h3:clamp(1.3125rem,1.8vw,1.625rem);position:relative;overflow-x:clip;padding:clamp(56px,8vw,112px) clamp(16px,5vw,48px) clamp(64px,8.5vw,120px);background:var(--surface,#ffffff);color:var(--ink,#101828);font-family:var(--font-body,system-ui,sans-serif)}
.cf-three-secrets-3 *,.cf-three-secrets-3 *::before,.cf-three-secrets-3 *::after{box-sizing:border-box}
.cf-three-secrets-3 .tq3-wrap{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:clamp(32px,5vw,72px);align-items:start;max-width:1120px;margin-inline:auto}
.cf-three-secrets-3 .tq3-h{margin:0;color:var(--ink);font-family:var(--font-display);font-size:clamp(2rem,3.6vw,3.25rem);font-weight:var(--display-weight,800);letter-spacing:var(--display-tracking,-0.025em);line-height:1.06;text-transform:var(--display-case,none);text-wrap:balance}
.cf-three-secrets-3 .tq3-em{padding-inline:.06em;border-radius:.18em .4em .3em .22em;background-image:linear-gradient(transparent 55%,color-mix(in oklch,var(--marker,#fae37c) 80%,transparent) 55%,color-mix(in oklch,var(--marker,#fae37c) 80%,transparent) 93%,transparent 93%);-webkit-box-decoration-break:clone;box-decoration-break:clone}
.cf-three-secrets-3 .tq3-lead{max-width:60ch;margin:16px 0 0;color:var(--muted);font-size:clamp(1.125rem,1.5vw,1.375rem);font-weight:500;line-height:1.4;text-wrap:pretty}
.cf-three-secrets-3 .tq3-fig{margin:32px 0 0}
.cf-three-secrets-3 .tq3-fig img{display:block;width:100%;height:auto;aspect-ratio:3/2;border-radius:12px;background:color-mix(in oklch,var(--ink) 6%,var(--surface));object-fit:cover;object-position:50% 35%}
.cf-three-secrets-3 .tq3-cap{margin:12px 0 0;color:var(--muted);font-size:.9375rem;font-weight:600;line-height:1.4;text-wrap:pretty}
.cf-three-secrets-3 .tq3-talk{min-width:0}
@media (min-width:960px){.cf-three-secrets-3 .tq3-intro{position:sticky;top:32px}}
.cf-three-secrets-3 .tq3-list{display:grid;gap:12px;margin:0;padding:0;list-style:none}
.cf-three-secrets-3 .tq3-row{border:1px solid transparent;border-radius:var(--card-radius,var(--radius,14px));background:color-mix(in oklch,var(--ink) 4%,var(--surface));transition:background-color .2s ease,border-color .2s ease,box-shadow .2s ease}
.cf-three-secrets-3 .tq3-row:not([data-open]):hover,.cf-three-secrets-3[data-force=hover] .tq3-row:not([data-open]):nth-child(2){background:color-mix(in oklch,var(--ink) 7%,var(--surface))}
.cf-three-secrets-3 .tq3-row[data-open]{border-color:oklch(from var(--accent) l c h / .35);background:var(--card,#ffffff);box-shadow:var(--card-shadow,var(--shadow-lg,0 2px 4px oklch(from var(--tq3-sh) l c h / .22),0 12px 24px -8px oklch(from var(--tq3-sh) l c h / .32)))}
.cf-three-secrets-3 .tq3-qh{margin:0;font-size:inherit}
.cf-three-secrets-3 .tq3-q{--tq3-tg-bg:var(--button-2-bg,var(--secondary,#eef0f3));--tq3-tg-border:var(--button-2-border,oklch(from var(--ink) l c h / .14));--tq3-tg-shadow:var(--button-2-shadow,var(--shadow-sm,0 1px 2px oklch(from var(--tq3-sh) l c h / .2)));display:grid;grid-template-columns:var(--tq3-mk) minmax(0,1fr) var(--tq3-ic);gap:var(--tq3-gap);align-items:start;width:100%;margin:0;padding:var(--tq3-py) var(--tq3-px);border:0;border-radius:var(--card-radius,var(--radius,14px));background:transparent;color:var(--button-2-ink,var(--secondary-ink,var(--ink)));font:inherit;font-size:var(--tq3-h3);text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent}
.cf-three-secrets-3 .tq3-q:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.cf-three-secrets-3 .tq3-q:focus:not(:focus-visible){outline:none}
.cf-three-secrets-3 .tq3-qn,.cf-three-secrets-3 .tq3-am{font-family:var(--font-display);font-size:1em;font-weight:800;letter-spacing:-0.01em;line-height:1.15;font-variant-numeric:tabular-nums}
.cf-three-secrets-3 .tq3-qn{color:var(--accent)}
.cf-three-secrets-3 .tq3-am{color:var(--muted)}
.cf-three-secrets-3 .tq3-qt{color:var(--ink);font-family:var(--font-display);font-size:1em;font-weight:var(--display-weight,800);letter-spacing:-0.01em;line-height:1.15;text-transform:var(--display-case,none);text-wrap:balance}
.cf-three-secrets-3 .tq3-qi{display:grid;width:var(--tq3-ic);height:var(--tq3-ic);margin-top:calc(.575em - var(--tq3-ic) / 2);place-items:center;border:1px solid var(--tq3-tg-border);border-radius:999px;background:var(--tq3-tg-bg);color:inherit;box-shadow:var(--tq3-tg-shadow);transition:background-color .2s ease,color .2s ease,border-color .2s ease,transform .16s ease}
.cf-three-secrets-3 .tq3-q:active .tq3-qi{transform:scale(.94)}
.cf-three-secrets-3 .tq3-qi svg{width:20px;height:20px;transition:transform .32s var(--tq3-ease)}
.cf-three-secrets-3 .tq3-q:hover .tq3-qi,.cf-three-secrets-3[data-force=hover] .tq3-row:not([data-open]):nth-child(2) .tq3-qi{border-color:oklch(from var(--ink) l c h / .32);box-shadow:var(--shadow-md,0 1px 2px oklch(from var(--tq3-sh) l c h / .22),0 4px 10px -2px oklch(from var(--tq3-sh) l c h / .2))}
.cf-three-secrets-3 .tq3-row[data-open] .tq3-qi{border-color:transparent;background:var(--accent-fill,var(--accent));color:var(--accent-fill-ink,var(--card))}
.cf-three-secrets-3 .tq3-row[data-open] .tq3-qi svg{transform:rotate(45deg)}
.cf-three-secrets-3 .tq3-panel{display:grid;grid-template-rows:0fr;visibility:hidden;transition:grid-template-rows .32s var(--tq3-ease),visibility 0s linear .32s}
.cf-three-secrets-3 .tq3-row[data-open] .tq3-panel{grid-template-rows:1fr;visibility:visible;transition:grid-template-rows .32s var(--tq3-ease),visibility 0s linear 0s}
.cf-three-secrets-3 .tq3-panel-in{min-height:0;overflow:hidden}
.cf-three-secrets-3 .tq3-a{display:grid;grid-template-columns:var(--tq3-mk) minmax(0,1fr) var(--tq3-ic);gap:var(--tq3-gap);padding:0 var(--tq3-px) var(--tq3-py);font-size:var(--tq3-h3)}
.cf-three-secrets-3 .tq3-ab{min-width:0}
.cf-three-secrets-3 .tq3-row[data-open] .tq3-ab{animation:tq3-in .45s var(--tq3-ease) both}
.cf-three-secrets-3 .tq3-at{margin:0;color:var(--ink);font-size:clamp(1.125rem,1.5vw,1.375rem);font-weight:400;line-height:1.45;text-wrap:pretty}
.cf-three-secrets-3 .tq3-at strong{font-weight:700}
.cf-three-secrets-3 .tq3-note{display:inline-block;margin:16px 0 0;padding:6px 12px;border-radius:999px;background:color-mix(in oklch,var(--ink) 6%,var(--card,#ffffff));color:var(--ink);font-size:.875rem;font-weight:800;line-height:1.2}
.cf-three-secrets-3 .tq3-note svg,.cf-three-secrets-3 .tq3-sub svg,.cf-three-secrets-3 .tq3-err svg{display:inline-block;width:16px;height:16px;margin-inline-end:.4em;vertical-align:-.15em}
.cf-three-secrets-3 .tq3-final{margin-top:32px}
.cf-three-secrets-3 .tq3-fq{display:grid;grid-template-columns:var(--tq3-mk) minmax(0,1fr);gap:var(--tq3-gap);margin:0;padding:0 var(--tq3-px);font-size:var(--tq3-h3)}
.cf-three-secrets-3 .tq3-fa{display:grid;grid-template-columns:var(--tq3-mk) minmax(0,1fr);gap:var(--tq3-gap);align-items:start;margin-top:16px;padding:0 var(--tq3-px);font-size:var(--tq3-h3)}
.cf-three-secrets-3 .tq3-fa .tq3-am{margin-top:calc((72px - 1.15em) / 2)}
.cf-three-secrets-3 .tq3-cta{min-width:0;text-align:center}
.cf-three-secrets-3 .tq3-btn{--tq3-b:var(--button-bg,var(--cta));--tq3-b2:var(--button-bg-2,var(--cta-2));display:inline-flex;align-items:center;justify-content:center;gap:10px;width:100%;min-height:72px;margin:0;padding:12px 28px;border:0;border-radius:var(--button-radius,var(--radius,12px));background-color:var(--tq3-b);background-image:linear-gradient(oklch(from var(--tq3-b) calc(l + .04) c h),oklch(from var(--tq3-b2) calc(l - .02) c h));color:var(--button-ink,var(--cta-ink));font-family:var(--button-font,var(--font-display));font-size:clamp(1.125rem,1.55vw,1.375rem);font-weight:var(--button-weight,800);line-height:1.15;text-align:center;text-decoration:none;text-transform:var(--button-case,none);text-shadow:var(--button-text-shadow,none);text-wrap:balance;cursor:pointer;box-shadow:var(--button-shadow,inset 0 1px 0 oklch(from var(--tq3-b) calc(l + .14) c h / .7),inset 0 -3px 0 oklch(from var(--tq3-b) calc(l - .16) c h),0 1px 2px oklch(from var(--tq3-sh) l c h / .3),0 8px 16px -6px oklch(from var(--tq3-sh) l c h / .45));transition:transform .16s ease,box-shadow .16s ease,background-color .16s ease;-webkit-tap-highlight-color:transparent}
.cf-three-secrets-3 .tq3-btn:hover:not([data-view=disabled]):not([data-view=loading]),.cf-three-secrets-3[data-force=hover] .tq3-btn{background-image:linear-gradient(oklch(from var(--tq3-b) calc(l - .01) c h),oklch(from var(--tq3-b2) calc(l - .07) c h));transform:translateY(-1px);box-shadow:inset 0 1px 0 oklch(from var(--tq3-b) calc(l + .1) c h / .6),inset 0 -3px 0 oklch(from var(--tq3-b) calc(l - .2) c h),0 1px 2px oklch(from var(--tq3-sh) l c h / .32),0 12px 20px -8px oklch(from var(--tq3-sh) l c h / .55)}
.cf-three-secrets-3 .tq3-btn:active:not([data-view=disabled]):not([data-view=loading]),.cf-three-secrets-3[data-force=active] .tq3-btn{background-image:linear-gradient(oklch(from var(--tq3-b) calc(l - .06) c h),oklch(from var(--tq3-b2) calc(l - .1) c h));transform:translateY(1px);box-shadow:inset 0 2px 4px oklch(from var(--tq3-b) calc(l - .24) c h / .55),inset 0 -2px 0 oklch(from var(--tq3-b) calc(l - .16) c h),0 1px 1px oklch(from var(--tq3-sh) l c h / .3)}
.cf-three-secrets-3 .tq3-btn:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
.cf-three-secrets-3 .tq3-btn[data-view=loading]{cursor:progress}
.cf-three-secrets-3 .tq3-btn[data-view=disabled]{background-color:var(--button-2-bg,var(--secondary,#e8ebf0));background-image:none;color:var(--button-2-ink,var(--secondary-ink,var(--ink)));text-shadow:none;box-shadow:none;cursor:not-allowed;transform:none}
.cf-three-secrets-3 .tq3-btn svg{flex:none;width:20px;height:20px}
.cf-three-secrets-3 .tq3-spin{animation:tq3-spin .8s linear infinite}
.cf-three-secrets-3 .tq3-sub{margin:12px 0 0;color:var(--muted);font-size:.9375rem;font-weight:600;line-height:1.4;text-wrap:pretty}
.cf-three-secrets-3 .tq3-err{margin:12px 0 0;color:var(--danger);font-size:.9375rem;font-weight:600;line-height:1.4;text-wrap:pretty}
.cf-three-secrets-3 .tq3-row,.cf-three-secrets-3 .tq3-final{animation:tq3-in .45s var(--tq3-ease) both;animation-delay:min(calc(var(--i,0) * .07s),.28s)}
@keyframes tq3-in{from{opacity:.82;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes tq3-spin{to{transform:rotate(360deg)}}
@media (max-width:959px){.cf-three-secrets-3 .tq3-wrap{grid-template-columns:minmax(0,1fr)}.cf-three-secrets-3 .tq3-fig{margin-top:24px}.cf-three-secrets-3 .tq3-fig img{aspect-ratio:16/10}}
@media (max-width:640px){.cf-three-secrets-3{--tq3-mk:1.9em;--tq3-gap:12px;--tq3-ic:36px;--tq3-px:16px;--tq3-py:18px;padding-inline:18px}.cf-three-secrets-3 .tq3-a{grid-template-columns:var(--tq3-mk) minmax(0,1fr)}.cf-three-secrets-3 .tq3-final{margin-top:24px}.cf-three-secrets-3 .tq3-fa{grid-template-columns:minmax(0,1fr);padding-inline:0}.cf-three-secrets-3 .tq3-fa .tq3-am{display:none}.cf-three-secrets-3 .tq3-btn{padding-inline:20px}}
@media (prefers-reduced-motion:reduce){.cf-three-secrets-3 *,.cf-three-secrets-3 *::before,.cf-three-secrets-3 *::after{animation:none!important;transition:none!important}}
`
pieces/content/three-secrets-3/specimen.tsx 46 lines
import __studioImage0dd72cde from "../assets/114fe377222bfcbb.webp";
// Specimen: the three-questions interview block for a fictional agency growth training.
import * as React from 'react'
import { ThreeSecrets3, type ThreeSecrets3State } from '../three-secrets-3'
import defaults from '../../studio-defaults.json'
import { slot } from '../../slots'
export const states: ThreeSecrets3State[] = ['default', 'hover', 'active', 'disabled', 'error']
export default function ThreeSecrets3Specimen({ state = 'default' }: { state?: ThreeSecrets3State }) {
return (
<ThreeSecrets3
state={state}
headline='Three questions every agency owner hits at 10 clients'
emphasis='at 10 clients'
lead='The free Agency Growth Training answers all three. Here’s where each answer starts.'
questions={[
{
question: 'Why do referrals dry up at 10 clients?',
lead: 'It isn’t more outreach.',
teaser: 'It’s a shift in how your best clients describe you, and it starts right around client ten.',
},
{
question: 'Why does every hire make you busier, not freer?',
lead: 'It isn’t a better hire.',
teaser: 'It’s one decision you still make on every project. The training shows you which one.',
},
{
question: 'Why do your retainers stall at the same price?',
lead: 'It isn’t a sharper proposal.',
teaser: 'It’s what clients believe they’re paying for, and it isn’t what’s on your invoice.',
},
]}
finalQuestion='So where do I get the full answers?'
label='Send Me The Training'
sublabel='Free training · Watch online'
errorMessage={defaults.sample.registration.error}
sceneImage={slot(
'scene',
__studioImage0dd72cde,
)}
sceneAlt='An agency owner reviews client plans with two teammates at a bright studio worktable'
sceneCaption='One free training. Three full answers.'
/>
)
}
| Name | Type | Details |
|---|---|---|
headline OptionalThreeSecrets3 |
string |
|
emphasis OptionalThreeSecrets3 |
string |
|
lead OptionalThreeSecrets3 |
string |
|
questions OptionalThreeSecrets3 |
InterviewQuestion[] |
|
defaultOpen OptionalThreeSecrets3 |
number |
|
questionMarker OptionalThreeSecrets3 |
string |
|
answerMarker OptionalThreeSecrets3 |
string |
|
revealNote OptionalThreeSecrets3 |
string |
|
finalQuestion OptionalThreeSecrets3 |
string |
|
listLabel OptionalThreeSecrets3 |
string |
|
label OptionalThreeSecrets3 |
string |
|
sublabel OptionalThreeSecrets3 |
string |
|
loadingLabel OptionalThreeSecrets3 |
string |
|
errorMessage OptionalThreeSecrets3 |
string |
|
href OptionalThreeSecrets3 |
string |
|
onAction OptionalThreeSecrets3 |
() => void | Promise<unknown> |
|
sceneImage OptionalThreeSecrets3 |
string |
|
sceneAlt OptionalThreeSecrets3 |
string |
|
sceneCaption OptionalThreeSecrets3 |
string |
|
state OptionalThreeSecrets3 |
ThreeSecrets3State |
|
id OptionalThreeSecrets3 |
string |
|
className OptionalThreeSecrets3 |
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-radius--card-shadow- Cards and panels: radius, border and shadow.
--display-case--display-tracking--display-weight- Headlines: weight, letter case and tracking.
--marker- The highlighter colour behind key phrases.
Image slots
Filled from the brand’s images; the specimen ships its own defaults.
scene- A wide atmosphere photo behind or beside the copy.
-
114fe377222bfcbb.webp
image/webp · 63.9 KB
-
b77916eca54aa689.webp
image/webp · 8.32 KB
-
d435db6662febfcf.webp
image/webp · 10 KB
-
f0a5d3e1e61804ba.webp
image/webp · 11.6 KB