Meet Your Host 1
Introduces the host with a pinned photo, their story and real credentials, then asks the reader to join.
Use it in a prompt
Use content/meet-your-host 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/meet-your-host.tsx. - Import it and pass your copy and images (Props tab):
import { MeetYourHost } from "@/components/funneldna/content/meet-your-host"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/content/meet-your-host/component.tsx 350 lines
// Introduces the host with a pinned photo, their story and real credentials, then asks the reader to join.
// layout: annotated-board
'use client'
import * as React from 'react'
import { Check, LoaderCircle, TriangleAlert } from 'lucide-react'
/**
* Meet Your Host: the "why should I listen to you" beat for a challenge, webinar or workshop.
*
* An annotated board. The host's photo is pinned in the middle with a handwritten note above it. The epiphany-bridge note ("I was where you are…") is pinned on one side,
* and 2–4 credibility notes are pinned on the other. Below: why they are teaching this now, a handwritten
* sign-off and the one action.
*
* Truth: pass only real facts. The component never adds numbers, results, ratings or logos.
* Theme: every colour, face, radius and shadow comes from the theme tokens. The one integral face is the
* handwritten Caveat, read through --signature-face and falling back to the display face.
*/
export type HostFact = { label: string; detail?: string }
/** "success" is accepted for older callers and renders as default. */
export type MeetYourHostState =
| 'default'
| 'hover'
| 'active'
| 'disabled'
| 'loading'
| 'error'
| 'success'
export type MeetYourHostProps = {
/** Host portrait (fill from the `presenter` slot). */
photo: string
photoAlt: string
/** Short caption on the photo, e.g. "Your workshop host". */
caption?: string
/** Handwritten note above the photo. */
annotation?: string
headline: string
/** A phrase inside the headline that gets one marker stroke. */
highlight?: string
/** The epiphany-bridge opener, e.g. "I was where you are." */
bridgeLead: string
bridgeBody?: string
/** Handwritten label above the facts, e.g. "Why listen to me?" */
factsTitle?: string
/** 2–4 real credibility facts. Only supplied, true facts. */
facts: HostFact[]
/** Why the host is teaching this now. */
whyNow: string
/** Handwritten sign-off line. */
signoff?: string
/** Optional printed name under the sign-off. */
hostName?: string
ctaLabel: string
ctaSublabel?: string
/** A link action (e.g. "#register"); the button renders as a link when set. */
href?: string
/** Called on click. A returned promise shows the loading label; a rejection shows errorText. */
onAction?: () => void | Promise<void>
loadingLabel?: string
/** @deprecated No longer rendered: the builder wires what happens after the click. */
successText?: string
errorText?: string
/** Force a visual state (studio previews). */
state?: MeetYourHostState
className?: string
}
const css = `
.mh{
--mh-sig:var(--signature-face,'Caveat',var(--font-display));
--mh-sig-ink:var(--signature-ink,var(--accent));
--mh-marker:var(--marker,#fae37c);
--mh-border:var(--card-border,color-mix(in oklch,var(--ink) 12%,transparent));
--mh-radius:var(--card-radius,var(--radius,14px));
--mh-shade:var(--shadow,oklch(0.22 0.03 260));
--mh-card-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)));
position:relative;width:100%;max-width:1180px;margin-inline:auto;
color:var(--ink);font-family:var(--font-body);
}
.mh *,.mh *::before,.mh *::after{box-sizing:border-box}
.mh p{margin:0}
.mh-head{text-align:center;margin-bottom:clamp(1.75rem,4vw,3rem)}
.mh-h{margin:0;font-family:var(--font-display);font-weight:var(--display-weight,800);text-transform:var(--display-case,none);letter-spacing:var(--display-tracking,-0.025em);font-size:clamp(2.1rem,5.2vw,3.9rem);line-height:1.05;text-wrap:balance;color:var(--ink)}
.mh-mark{background-image:linear-gradient(transparent 0 54%,color-mix(in oklch,var(--mh-marker) 85%,transparent) 54% 93%,transparent 93%);padding-inline:.1em;margin-inline:-.05em;border-radius:.1em .35em .2em .4em;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.mh-board{display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:'photo' 'bridge' 'facts';gap:1.75rem}
.mh-photo-col{grid-area:photo;justify-self:center;width:min(100%,360px);position:relative}
.mh-annot{position:relative;z-index:3;margin:0 0 .75rem;text-align:center;color:var(--mh-sig-ink);font-family:var(--mh-sig);font-weight:700;font-size:1.6rem;line-height:1.05;text-wrap:balance}
.mh-fig{position:relative;margin:0;padding:0 14px 14px 0}
.mh-fig::before{content:'';position:absolute;inset:18px 0 0 18px;border-radius:calc(var(--mh-radius) + 6px);background:color-mix(in oklch,var(--ink) 7%,var(--surface))}
.mh-img{position:relative;z-index:1;display:block;width:100%;height:auto;aspect-ratio:4/5;object-fit:cover;object-position:50% 22%;border-radius:var(--mh-radius);box-shadow:var(--shadow-lg,0 2px 4px oklch(0.22 0.03 260 / 0.22),0 12px 24px -8px oklch(0.22 0.03 260 / 0.32))}
.mh-cap{margin-top:.75rem;padding-right:14px;text-align:center;color:var(--muted);font-family:var(--font-body);font-size:.9375rem;font-weight:600;line-height:1.4;text-wrap:balance}
.mh-note{position:relative;background:var(--card);border:1px solid var(--mh-border);border-radius:var(--mh-radius);box-shadow:var(--mh-card-shadow);transition:translate .2s ease,rotate .2s ease,box-shadow .2s ease}
.mh-pin{position:absolute;top:-8px;left:50%;translate:-50% 0;width:16px;height:16px;border-radius:50%;background:radial-gradient(circle at 34% 30%,oklch(from var(--accent-fill, var(--accent)) calc(l + 0.28) c h) 0 16%,var(--accent-fill,var(--accent)) 48%,oklch(from var(--accent-fill, var(--accent)) calc(l - 0.12) c h) 100%);box-shadow:0 2px 2px oklch(from var(--mh-shade) l c h / 0.35),0 4px 6px -2px oklch(from var(--mh-shade) l c h / 0.25)}
.mh-bridge{grid-area:bridge;padding:1.9rem 1.5rem 1.6rem}
.mh-bridge-lead{font-family:var(--font-display);font-weight:var(--display-weight,800);font-size:clamp(1.45rem,2.3vw,1.8rem);line-height:1.15;letter-spacing:-0.015em;text-wrap:balance;color:var(--ink)}
.mh-bridge-body{margin-top:.75rem !important;font-size:1.125rem;line-height:1.6;text-wrap:pretty;color:var(--ink)}
.mh-facts{grid-area:facts;display:flex;flex-direction:column;gap:1.25rem}
.mh-facts-title{font-family:var(--mh-sig);color:var(--mh-sig-ink);font-weight:700;font-size:1.85rem;line-height:1;text-align:center}
.mh-facts-list{list-style:none;margin:0;padding:0;display:grid;gap:1.35rem}
.mh-fact{display:grid;grid-template-columns:auto minmax(0,1fr);gap:.75rem;align-items:start;padding:1.4rem 1.2rem 1.15rem}
.mh-fact-ic{flex:none;color:var(--success);margin-top:.1rem}
.mh-fact-label{font-family:var(--font-display);font-weight:800;font-size:1.125rem;line-height:1.25;color:var(--ink);text-wrap:balance}
.mh-fact-detail{margin-top:.3rem !important;color:var(--muted);font-size:1rem;line-height:1.45;text-wrap:pretty}
.mh-close{display:flex;flex-direction:column;align-items:center;text-align:center;margin-top:clamp(2.25rem,4.5vw,3.25rem)}
.mh-why{max-width:62ch;font-size:clamp(1.0625rem,1.6vw,1.25rem);line-height:1.6;font-weight:500;color:var(--ink);text-wrap:pretty}
.mh-sign{margin-top:1rem !important;font-family:var(--mh-sig);color:var(--mh-sig-ink);font-weight:700;font-size:clamp(2.1rem,4vw,2.7rem);line-height:1.1;text-wrap:balance}
.mh-name{margin-top:.25rem !important;color:var(--muted);font-size:.9375rem;font-weight:700}
.mh-action{display:flex;flex-direction:column;align-items:center;width:100%;margin-top:1.4rem}
.mh-btn{appearance:none;border:0;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:.6rem;width:min(100%,26rem);min-height:4rem;padding:.85rem 1.5rem;border-radius:var(--button-radius,var(--radius,12px));font-family:var(--button-font,var(--font-display));font-weight:var(--button-weight,800);text-transform:var(--button-case,none);font-size:clamp(1.3rem,2.4vw,1.6rem);line-height:1.1;letter-spacing:-0.01em;text-align:center;text-wrap:balance;color:var(--button-ink,var(--cta-ink));text-shadow:var(--button-text-shadow,none);background:linear-gradient(oklch(from var(--button-bg,var(--cta)) calc(l + 0.04) c h),oklch(from var(--button-bg-2,var(--cta-2)) l c h));box-shadow:var(--button-shadow,inset 0 1px 0 oklch(from var(--button-bg,var(--cta)) calc(l + 0.14) c h / 0.7),inset 0 -3px 0 oklch(from var(--button-bg,var(--cta)) calc(l - 0.16) c h),0 1px 2px oklch(from var(--shadow,oklch(0.22 0.03 260)) l c h / 0.3),0 6px 14px -4px oklch(from var(--shadow,oklch(0.22 0.03 260)) l c h / 0.38));transition:translate .15s ease,background .15s ease,box-shadow .15s ease}
.mh-btn:hover,.mh-btn.is-hover{translate:0 -2px;background:linear-gradient(oklch(from var(--button-bg,var(--cta)) calc(l - 0.02) c h),oklch(from var(--button-bg-2,var(--cta-2)) calc(l - 0.06) c h))}
.mh-btn:active,.mh-btn.is-active{translate:0 1px;background:linear-gradient(oklch(from var(--button-bg,var(--cta)) calc(l - 0.06) c h),oklch(from var(--button-bg-2,var(--cta-2)) calc(l - 0.08) c h));box-shadow:inset 0 2px 4px oklch(from var(--button-bg-2,var(--cta-2)) calc(l - 0.2) c h / 0.6),0 1px 1px oklch(from var(--shadow,oklch(0.22 0.03 260)) l c h / 0.25)}
.mh-btn:focus-visible{outline:3px solid var(--field-focus,var(--accent));outline-offset:3px}
.mh-btn:disabled,.mh-btn.is-disabled{cursor:not-allowed;translate:none;background:var(--secondary);color:var(--secondary-ink);text-shadow:none;box-shadow:var(--button-2-shadow, var(--shadow-sm))}
.mh-btn[aria-busy='true']{cursor:progress;translate:none}
.mh-spin{flex:none;animation:mh-spin .8s linear infinite}
.mh-sub{margin-top:.75rem !important;color:var(--muted);font-size:.9375rem;font-weight:500;line-height:1.4;text-wrap:pretty}
.mh-err{display:flex;align-items:flex-start;gap:.55rem;max-width:26rem;margin-top:.85rem !important;padding:.75rem 1rem;border-radius:var(--mh-radius);background:var(--danger-soft);color:var(--danger);font-weight:600;font-size:1rem;line-height:1.4;text-align:left;text-wrap:pretty}
.mh-err svg{flex:none;margin-top:.1rem}
@keyframes mh-in{from{opacity:.82;translate:0 10px}}
@keyframes mh-spin{to{rotate:360deg}}
.mh-anim{animation:mh-in .45s cubic-bezier(.2,.7,.2,1) backwards;animation-delay:var(--d,0s)}
@media (min-width:560px) and (max-width:959px){
.mh-facts-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (min-width:960px){
.mh-board{grid-template-columns:minmax(0,1fr) minmax(320px,400px) minmax(0,1fr);grid-template-areas:'bridge photo facts';gap:clamp(1.75rem,3vw,3rem);align-items:start}
.mh-photo-col{width:100%}
.mh-bridge{margin-top:5rem;rotate:-1.6deg}
.mh-facts{margin-top:2rem}
.mh-fact:nth-child(odd){rotate:1.2deg}
.mh-fact:nth-child(even){rotate:-.9deg}
}
@media (hover:hover) and (min-width:960px){
.mh-note:hover{rotate:0deg;translate:0 -3px;box-shadow:var(--shadow-lg,0 2px 4px oklch(0.22 0.03 260 / 0.22),0 12px 24px -8px oklch(0.22 0.03 260 / 0.32))}
}
@media (prefers-reduced-motion:reduce){
.mh-anim{animation:none}
.mh-spin{animation:none}
.mh-note,.mh-btn{transition:none}
.mh-note:hover,.mh-btn:hover,.mh-btn.is-hover{translate:none}
}
`
function renderHeadline(text: string, highlight?: string) {
if (!highlight) return text
const at = text.indexOf(highlight)
if (at < 0) return text
return (
<>
{text.slice(0, at)}
<span className='mh-mark'>{highlight}</span>
{text.slice(at + highlight.length)}
</>
)
}
type Phase = 'idle' | 'loading' | 'error'
export function MeetYourHost({
photo,
photoAlt,
caption,
annotation,
headline,
highlight,
bridgeLead,
bridgeBody,
factsTitle,
facts,
whyNow,
signoff,
hostName,
ctaLabel,
ctaSublabel,
href,
onAction,
loadingLabel = 'Saving your seat…',
errorText = 'That didn’t go through. Please try again.',
state = 'default',
className,
}: MeetYourHostProps) {
const headingId = React.useId()
const [live, setLive] = React.useState<Phase>('idle')
const forced = state === 'default' ? undefined : state
const phase: Phase =
forced === 'loading' || forced === 'error' ? forced : live
const disabled = forced === 'disabled'
const loading = phase === 'loading'
const list = facts.slice(0, 4)
const act = async (event: React.MouseEvent<HTMLElement>) => {
if (disabled || loading) {
event.preventDefault()
return
}
if (!onAction) return
try {
const result = onAction()
if (!result) return
setLive('loading')
await result
setLive('idle')
} catch {
setLive('error')
}
}
const btnClass = [
'mh-btn',
forced === 'hover' ? 'is-hover' : '',
forced === 'active' ? 'is-active' : '',
disabled ? 'is-disabled' : '',
]
.filter(Boolean)
.join(' ')
const label = loading ? (
<>
<LoaderCircle className='mh-spin' aria-hidden size={24} strokeWidth={2.5} />
<span>{loadingLabel}</span>
</>
) : (
<span>{ctaLabel}</span>
)
return (
<div
className={['mh', className].filter(Boolean).join(' ')}
data-component='meet-your-host'
role='group'
aria-labelledby={headingId}
>
<link
rel='stylesheet'
href='https://fonts.googleapis.com/css2?family=Caveat:wght@600;700&display=swap'
/>
<style>{css}</style>
<header className='mh-head mh-anim'>
<h2 id={headingId} className='mh-h'>
{renderHeadline(headline, highlight)}
</h2>
</header>
<div className='mh-board'>
<div className='mh-photo-col mh-anim' style={{ '--d': '0.06s' } as React.CSSProperties}>
{annotation ? (
<p className='mh-annot'>
{annotation}
</p>
) : null}
<figure className='mh-fig'>
<img
className='mh-img'
src={photo}
alt={photoAlt}
width={800}
height={1000}
loading='lazy'
decoding='async'
/>
</figure>
{caption ? <p className='mh-cap'>{caption}</p> : null}
</div>
<div className='mh-note mh-bridge mh-anim' style={{ '--d': '0.12s' } as React.CSSProperties}>
<span className='mh-pin' aria-hidden='true' />
<p className='mh-bridge-lead'>{bridgeLead}</p>
{bridgeBody ? <p className='mh-bridge-body'>{bridgeBody}</p> : null}
</div>
<div className='mh-facts'>
{factsTitle ? <p className='mh-facts-title'>{factsTitle}</p> : null}
<ul className='mh-facts-list'>
{list.map((fact, index) => (
<li
key={fact.label}
className='mh-note mh-fact mh-anim'
style={{ '--d': `${Math.min(0.28, 0.14 + index * 0.07)}s` } as React.CSSProperties}
>
<span className='mh-pin' aria-hidden='true' />
<Check className='mh-fact-ic' aria-hidden size={24} strokeWidth={3} />
<div>
<p className='mh-fact-label'>{fact.label}</p>
{fact.detail ? <p className='mh-fact-detail'>{fact.detail}</p> : null}
</div>
</li>
))}
</ul>
</div>
</div>
<div className='mh-close'>
<p className='mh-why'>{whyNow}</p>
{signoff ? <p className='mh-sign'>{signoff}</p> : null}
{hostName ? <p className='mh-name'>{hostName}</p> : null}
<div className='mh-action'>
<>
{href ? (
<a
className={btnClass}
href={disabled ? undefined : href}
aria-disabled={disabled || undefined}
aria-busy={loading || undefined}
onClick={act}
>
{label}
</a>
) : (
<button
type='button'
className={btnClass}
disabled={disabled}
aria-busy={loading || undefined}
onClick={act}
>
{label}
</button>
)}
{ctaSublabel ? <p className='mh-sub'>{ctaSublabel}</p> : null}
{phase === 'error' ? (
<p className='mh-err' role='alert'>
<TriangleAlert aria-hidden size={20} strokeWidth={2.5} />
<span>{errorText}</span>
</p>
) : null}
</>
</div>
</div>
</div>
)
}
export default MeetYourHost
pieces/content/meet-your-host/specimen.tsx 51 lines
import __studioImage481ef3d1 from "../assets/f79bda0d4908f2b1.webp";
import * as React from 'react'
import MeetYourHost from '../meet-your-host'
import defaults from '../../studio-defaults.json'
import { slot } from '../../slots'
export const states = ['default', 'hover', 'active', 'disabled', 'error']
type SpecimenState = 'default' | 'hover' | 'active' | 'disabled' | 'error'
export default function MeetYourHostSpecimen({ state = 'default' }: { state?: SpecimenState }) {
const sample = defaults.sample
const reg = sample.registration
return (
<MeetYourHost
state={state}
photo={slot(
'presenter',
__studioImage481ef3d1
)}
photoAlt={`Portrait of your ${reg.name} host`}
caption={`Your ${reg.name} host`}
annotation='I’ll walk you through it'
headline='Your first funnel starts with a clear plan.'
highlight='a clear plan.'
bridgeLead='I was where you are. Staring at a blank page.'
bridgeBody='I had an offer in my head and no idea which page came first. More tools didn’t fix it. A plan did: one decision at a time.'
factsTitle='Why listen to me?'
facts={[
{
label: 'I built the plan',
detail: `${sample.name}: the guide, the workbook and the checklist.`,
},
{
label: 'I teach it step by step',
detail: 'Your offer, your page copy, then your next steps. In that order.',
},
{
label: 'It’s free to watch',
detail: `${reg.eyebrow}. Watch online when you’re ready.`,
},
]}
whyNow={`That’s why I made the ${reg.name}. Join me and walk through your offer, page copy, and next steps before you launch.`}
signoff='See you in the workshop'
ctaLabel={reg.label}
ctaSublabel={reg.sublabel}
errorText={reg.error}
/>
)
}
| Name | Type | Details |
|---|---|---|
photo RequiredMeetYourHost |
string |
|
photoAlt RequiredMeetYourHost |
string |
|
caption OptionalMeetYourHost |
string |
|
annotation OptionalMeetYourHost |
string |
|
headline RequiredMeetYourHost |
string |
|
highlight OptionalMeetYourHost |
string |
|
bridgeLead RequiredMeetYourHost |
string |
|
bridgeBody OptionalMeetYourHost |
string |
|
factsTitle OptionalMeetYourHost |
string |
|
facts RequiredMeetYourHost |
HostFact[] |
|
whyNow RequiredMeetYourHost |
string |
|
signoff OptionalMeetYourHost |
string |
|
hostName OptionalMeetYourHost |
string |
|
ctaLabel RequiredMeetYourHost |
string |
|
ctaSublabel OptionalMeetYourHost |
string |
|
href OptionalMeetYourHost |
string |
|
onAction OptionalMeetYourHost |
() => void | Promise<void> |
|
loadingLabel OptionalMeetYourHost |
string |
Default 'Saving your seat…'
|
successText OptionalMeetYourHost |
string |
|
errorText OptionalMeetYourHost |
string |
Default 'That didn’t go through. Please try again.'
|
state OptionalMeetYourHost |
MeetYourHostState |
Default 'default'
|
className OptionalMeetYourHost |
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-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.
-
b77916eca54aa689.webp
image/webp · 8.32 KB
-
d435db6662febfcf.webp
image/webp · 10 KB
-
f0a5d3e1e61804ba.webp
image/webp · 11.6 KB
-
f79bda0d4908f2b1.webp
image/webp · 63.1 KB