Application Received Hero 1
Application received hero: confirms the application by name, sets an honest response window and the steps after it,
Use it in a prompt
Use hero/application-received-hero 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/application-received-hero.tsx. - Import it and pass your copy and images (Props tab):
import { ApplicationReceivedHero } from "@/components/funneldna/hero/application-received-hero"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/hero/application-received-hero/component.tsx 475 lines
// layout: magazine-spread
// Application received hero: confirms the application by name, sets an honest response window and the steps after it,
// and gives the applicant one useful thing to do while they wait, so they stay warm instead of sending anxious follow-ups.
import React, { useEffect, useId, useRef, useState } from "react";
import { CalendarClock, Check, Mail, UserRound } from "lucide-react";
import { Divider, FX_HOST, Pattern } from "../fx/fx";
import torn from "../fx/dividers/torn";
export type ApplicationReceivedStop = {
/** What happens at this stop, e.g. "Reviewed by a person". */
title: string;
/** Who does it, e.g. "Maya Chen, programme lead". */
who?: string;
/** When it happens, e.g. "Within 2 business days". */
when?: string;
};
export type ApplicationReceivedHeroCopy = {
/** {firstName} is replaced by the applicant's first name. */
headline: string;
headlineNoName: string;
/** {programme} is replaced by the programme name. */
programmeLine: string;
programmeLineNoName: string;
timelineHeading: string;
timelineLabel: string;
currentLabel: string;
doneStatus: string;
currentStatus: string;
nextStatus: string;
whoLabel: string;
whenLabel: string;
noteLead: string;
/** {sender} and {address} are replaced by the sender's name and email address. */
note: string;
noteAddressOnly: string;
noteSenderOnly: string;
spam: string;
thumbAlt: string;
};
export type ApplicationReceivedHeroProps = {
/** Applicant's first name, shown in the headline. */
firstName?: string;
/** Programme they applied to, e.g. "the Brightpath Agency Mastermind". */
programme?: string;
/** The supplied response window as the big numeral, e.g. "2". Hidden when empty. */
responseNumber?: string;
/** Unit beside the numeral, e.g. "business days". */
responseUnit?: string;
/** One line under the numeral saying what the window is for. */
responseLine?: string;
/** Short reassurance paragraph under the programme line. */
body?: string;
/** What happens next, in order. Facts only; the timeline hides when empty. */
stops?: ApplicationReceivedStop[];
/** Index of the stop the applicant is at now (0 = first). */
currentStop?: number;
/** Heading for the one thing to do while they wait. */
resourceTitle?: string;
resourceDetail?: string;
/** Button label, e.g. "Watch the programme walkthrough". The resource row hides when empty. */
resourceLabel?: string;
/** Short line inside the button under the label. */
resourceSublabel?: string;
/** Poster / thumbnail image (presenter slot). */
resourceImage?: string;
resourceImageAlt?: string;
/** Where the resource lives. */
href?: string;
onAction?: () => void;
/** Name replies come from. */
sender?: string;
/** Address replies come from. */
senderAddress?: string;
/** Torn paper edge at the bottom of the band. */
edge?: boolean;
/** Token colour of the section below, shown through the tear. */
edgeTone?: React.ComponentProps<typeof Divider>["tone"];
copy?: Partial<ApplicationReceivedHeroCopy>;
state?: "default" | "hover" | "active" | "disabled";
className?: string;
};
export function ApplicationReceivedHero(props: ApplicationReceivedHeroProps) {
const {
firstName,
programme,
responseNumber,
responseUnit,
responseLine,
body = DEFAULT_BODY,
stops = [],
currentStop = 0,
resourceTitle,
resourceDetail,
resourceLabel,
resourceSublabel,
resourceImage,
resourceImageAlt,
href,
onAction,
sender,
senderAddress,
edge = true,
edgeTone = "band",
state = "default",
className,
} = props;
const c: ApplicationReceivedHeroCopy = { ...DEFAULT_COPY, ...props.copy };
const headingId = useId();
const tlRef = useRef<HTMLOListElement>(null);
const [phase, setPhase] = useState<"static" | "armed" | "in">("static");
const count = stops.length;
const hasTimeline = count > 0;
const current = hasTimeline ? Math.max(0, Math.min(Math.floor(currentStop), count - 1)) : 0;
useEffect(() => {
const el = tlRef.current;
if (!el || typeof window === "undefined" || typeof IntersectionObserver === "undefined") return;
if (window.matchMedia && window.matchMedia("(prefers-reduced-motion: reduce)").matches) return;
let raf = 0;
setPhase("armed");
const io = new IntersectionObserver(
(entries) => {
if (!entries.some((e) => e.isIntersecting)) return;
io.disconnect();
raf = requestAnimationFrame(() => {
raf = requestAnimationFrame(() => setPhase("in"));
});
},
{ threshold: 0.3 }
);
io.observe(el);
return () => {
io.disconnect();
cancelAnimationFrame(raf);
};
}, [hasTimeline]);
const num = (responseNumber ?? "").trim();
const hasPull = num.length > 0;
const numClass = num.length >= 5 ? " is-xlong" : num.length >= 3 ? " is-long" : "";
const disabled = state === "disabled";
const btnClass =
"cf-arh__btn" +
(state === "hover" ? " is-hover" : "") +
(state === "active" ? " is-active" : "") +
(disabled ? " is-disabled" : "");
const handle = (e: React.MouseEvent) => {
if (disabled) {
e.preventDefault();
return;
}
onAction?.();
};
const hasResource = Boolean(resourceLabel);
const btnInner = (
<>
<span className="cf-arh__bl">{resourceLabel}</span>
{resourceSublabel ? <span className="cf-arh__bs">{resourceSublabel}</span> : null}
</>
);
const button = href ? (
<a
className={btnClass}
href={disabled ? undefined : href}
role={disabled ? "link" : undefined}
aria-disabled={disabled || undefined}
onClick={handle}
>
{btnInner}
</a>
) : (
<button type="button" className={btnClass} disabled={disabled} onClick={handle}>
{btnInner}
</button>
);
// A clean photo beside the resource: no play overlay or fake poster; the button is the one action.
const thumb = resourceImage ? (
<div className="cf-arh__thumb">
<img src={resourceImage} alt={resourceImageAlt ?? c.thumbAlt} width={472} height={295} decoding="async" />
</div>
) : null;
const senderNode = sender ? <strong>{sender}</strong> : null;
const addressNode = senderAddress ? <strong className="cf-arh__addr">{senderAddress}</strong> : null;
const noteText =
sender && senderAddress
? fill(c.note, { sender: senderNode, address: addressNode })
: senderAddress
? fill(c.noteAddressOnly, { address: addressNode })
: sender
? fill(c.noteSenderOnly, { sender: senderNode })
: null;
const phaseClass = phase === "armed" ? " is-armed" : phase === "in" ? " is-in" : "";
const statusText = { done: c.doneStatus, current: c.currentStatus, next: c.nextStatus };
return (
<section
className={["cf-arh", edge ? "has-edge" : "", className ?? ""].filter(Boolean).join(" ")}
style={FX_HOST}
aria-labelledby={headingId}
>
<style>{CSS}</style>
<div className="cf-arh__pat" aria-hidden="true">
<Pattern name="rings" fade="corner" />
</div>
{edge ? (
<div className="cf-arh__edge" aria-hidden="true">
<Divider shape="torn" src={torn} tone={edgeTone} height={56} />
</div>
) : null}
<div className="cf-arh__in">
<div className={"cf-arh__spread" + (hasPull ? "" : " is-solo")}>
{hasPull ? (
<div className="cf-arh__pull cf-arh__rv">
<p className="cf-arh__fig">
<span className={"cf-arh__num" + numClass}>{num}</span>
{responseUnit ? <span className="cf-arh__unit">{responseUnit}</span> : null}
</p>
{responseLine ? <p className="cf-arh__line">{responseLine}</p> : null}
</div>
) : null}
<div className="cf-arh__copy cf-arh__rv" style={{ "--d": ".07s" } as React.CSSProperties}>
<h1 id={headingId} className="cf-arh__h1">
{firstName
? fill(c.headline, { firstName: <span className="cf-arh__name">{firstName}</span> })
: c.headlineNoName}
</h1>
<p className="cf-arh__lead">
{programme ? fill(c.programmeLine, { programme: <strong>{programme}</strong> }) : c.programmeLineNoName}
</p>
{body ? <p className="cf-arh__body">{body}</p> : null}
</div>
</div>
{hasTimeline ? (
<div className="cf-arh__next cf-arh__rv" style={{ "--d": ".14s" } as React.CSSProperties}>
<h2 className="cf-arh__h2">{c.timelineHeading}</h2>
<ol
ref={tlRef}
className={"cf-arh__tl" + phaseClass}
style={{ "--n": count } as React.CSSProperties}
aria-label={c.timelineLabel}
>
{stops.map((stop, i) => {
const status: "done" | "current" | "next" = i < current ? "done" : i === current ? "current" : "next";
const f = i < current ? 1 : i === current ? 0.5 : 0;
return (
<li
key={i}
className={"cf-arh__stop is-" + status}
aria-current={status === "current" ? "step" : undefined}
>
<span className={"cf-arh__node is-" + status} aria-hidden="true">
{status === "done" ? <Check size={20} strokeWidth={3} /> : null}
</span>
{i < count - 1 ? (
<span
className="cf-arh__seg"
aria-hidden="true"
style={{ "--f": f, "--i": i } as React.CSSProperties}
>
<span className="cf-arh__fill" />
</span>
) : null}
<div className="cf-arh__text">
<h3 className="cf-arh__title">
<span className="cf-arh__sr">{statusText[status]}: </span>
{stop.title}
</h3>
{stop.who ? (
<p className="cf-arh__meta">
<UserRound className="cf-arh__ico" size={16} strokeWidth={2.5} aria-hidden="true" />
<span className="cf-arh__sr">{c.whoLabel}: </span>
{stop.who}
</p>
) : null}
{stop.when ? (
<p className="cf-arh__meta">
<CalendarClock className="cf-arh__ico" size={16} strokeWidth={2.5} aria-hidden="true" />
<span className="cf-arh__sr">{c.whenLabel}: </span>
{stop.when}
</p>
) : null}
{status === "current" && c.currentLabel ? <span className="cf-arh__chip">{c.currentLabel}</span> : null}
</div>
</li>
);
})}
</ol>
</div>
) : null}
{hasResource || noteText ? (
<div
className={"cf-arh__wait cf-arh__rv" + (hasResource && noteText ? "" : " is-one")}
style={{ "--d": ".21s" } as React.CSSProperties}
>
{hasResource ? (
<div className={"cf-arh__res" + (thumb ? "" : " no-thumb")}>
{thumb}
{resourceTitle ? <h2 className="cf-arh__h2 cf-arh__rh">{resourceTitle}</h2> : null}
{resourceDetail ? <p className="cf-arh__rd">{resourceDetail}</p> : null}
<div className="cf-arh__act">{button}</div>
</div>
) : null}
{noteText ? (
<div className="cf-arh__note">
{c.noteLead ? (
<p className="cf-arh__nl">
<Mail className="cf-arh__ico" size={18} strokeWidth={2.5} aria-hidden="true" />
{c.noteLead}
</p>
) : null}
<p className="cf-arh__nt">{noteText}</p>
{c.spam ? <p className="cf-arh__ns">{c.spam}</p> : null}
</div>
) : null}
</div>
) : null}
</div>
</section>
);
}
export default ApplicationReceivedHero;
const DEFAULT_BODY = "You did the hard part. There’s nothing else to send and nothing to chase: we’ll come to you.";
const DEFAULT_COPY: ApplicationReceivedHeroCopy = {
headline: "We have your application, {firstName}.",
headlineNoName: "We have your application.",
programmeLine: "Your application to {programme} is in, and nothing else is needed from you right now.",
programmeLineNoName: "Your application is in, and nothing else is needed from you right now.",
timelineHeading: "Here’s exactly what happens next",
timelineLabel: "Your application progress",
currentLabel: "You are here",
doneStatus: "Done",
currentStatus: "Current step",
nextStatus: "Coming up",
whoLabel: "Who",
whenLabel: "When",
noteLead: "Look out for one email.",
note: "Replies come from {sender} at {address}.",
noteAddressOnly: "Replies come from {address}.",
noteSenderOnly: "Replies come from {sender}.",
spam: "Check your spam or promotions folder, and add the address to your contacts so the reply lands in your inbox.",
thumbAlt: "Preview of the walkthrough video",
};
// Replaces {name} placeholders in approved copy with rich nodes.
function fill(template: string, map: Record<string, React.ReactNode>): React.ReactNode[] {
return template.split(/([{][a-zA-Z]+[}])/g).map((part, i) => {
if (part.startsWith("{") && part.endsWith("}")) {
const key = part.slice(1, -1);
if (key in map) return <React.Fragment key={i}>{map[key]}</React.Fragment>;
}
return <React.Fragment key={i}>{part}</React.Fragment>;
});
}
const CSS = `
.cf-arh{--arh-pad-b:clamp(64px,8.5vw,120px);--arh-edge:56px;position:relative;isolation:isolate;overflow:hidden;background:var(--surface);color:var(--ink);font-family:var(--font-body);padding:clamp(56px,8vw,112px) 0 var(--arh-pad-b)}
.cf-arh.has-edge{padding-bottom:calc(var(--arh-pad-b) + var(--arh-edge))}
.cf-arh *,.cf-arh *::before,.cf-arh *::after{box-sizing:border-box}
.cf-arh__pat{position:absolute;top:0;left:0;width:min(64%,760px);height:min(100%,640px);z-index:0;pointer-events:none}
.cf-arh__edge{position:absolute;left:0;right:0;bottom:-1px;height:var(--arh-edge);z-index:0;pointer-events:none}
.cf-arh__in{position:relative;z-index:1;max-width:calc(1120px + 2 * clamp(16px,5vw,48px));margin-inline:auto;padding-inline:clamp(16px,5vw,48px)}
.cf-arh__spread{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(32px,5vw,72px);align-items:start}
.cf-arh__spread.is-solo{grid-template-columns:minmax(0,1fr)}
.cf-arh__spread.is-solo .cf-arh__copy{max-width:46rem}
.cf-arh__pull,.cf-arh__copy{min-width:0}
.cf-arh__fig{margin:0}
.cf-arh__num{display:block;margin-left:-.04em;padding-bottom:.12em;font-family:var(--font-display);font-weight:var(--display-weight,800);font-size:clamp(7.5rem,15vw,13.5rem);line-height:1;letter-spacing:-.055em;font-variant-numeric:tabular-nums lining-nums;color:var(--accent)}
.cf-arh__num.is-long{font-size:clamp(5.5rem,11vw,9rem)}
.cf-arh__num.is-xlong{font-size:clamp(4rem,8vw,7rem);letter-spacing:-.04em}
.cf-arh__unit{display:block;margin-top:24px;font-family:var(--font-display);font-weight:var(--display-weight,800);text-transform:var(--display-case,none);font-size:clamp(1.3125rem,1.8vw,1.625rem);line-height:1.15;letter-spacing:-.01em;text-wrap:balance}
.cf-arh__line{margin:8px 0 0;max-width:32ch;font-size:clamp(1.0625rem,1.25vw,1.125rem);line-height:1.5;color:var(--muted);text-wrap:pretty}
.cf-arh__h1{margin:0 0 clamp(14px,1.6vw,24px);font-family:var(--font-display);font-weight:var(--display-weight,800);text-transform:var(--display-case,none);letter-spacing:var(--display-tracking,-.025em);font-size:clamp(2.5rem,5.4vw,4.875rem);line-height:1.04;text-wrap:balance}
.cf-arh__name{color:var(--accent);white-space:nowrap}
.cf-arh__lead{margin:0;max-width:60ch;font-size:clamp(1.125rem,1.5vw,1.375rem);line-height:1.4;font-weight:500;text-wrap:pretty}
.cf-arh__lead strong{font-weight:800}
.cf-arh__body{margin:16px 0 0;max-width:60ch;font-size:clamp(1.0625rem,1.25vw,1.125rem);line-height:1.5;color:var(--muted);text-wrap:pretty}
.cf-arh__next{margin-top:clamp(48px,6.5vw,88px)}
.cf-arh__h2{margin:0 0 clamp(20px,2.6vw,32px);font-family:var(--font-display);font-weight:var(--display-weight,800);text-transform:var(--display-case,none);font-size:clamp(1.3125rem,1.8vw,1.625rem);line-height:1.15;letter-spacing:-.01em;color:var(--accent);text-wrap:balance}
.cf-arh__tl{--gap:24px;list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(var(--n,3),minmax(0,1fr));gap:var(--gap)}
.cf-arh__stop{position:relative;min-width:0}
.cf-arh__node{position:relative;z-index:1;width:40px;height:40px;border-radius:999px;display:grid;place-items:center}
.cf-arh__node.is-done{background:var(--success);color:var(--success-ink,#fff)}
.cf-arh__node.is-current{background:var(--accent-fill,var(--accent));box-shadow:0 0 0 6px color-mix(in oklch,var(--accent-fill,var(--accent)) 16%,var(--surface))}
.cf-arh__node.is-current::after{content:"";width:12px;height:12px;border-radius:999px;background:var(--accent-fill-ink,var(--card))}
.cf-arh__node.is-next{background:var(--card);border:2px solid oklch(from var(--ink) l c h / .22)}
.cf-arh__node.is-next::after{content:"";width:8px;height:8px;border-radius:999px;background:oklch(from var(--ink) l c h / .3)}
.cf-arh__seg{position:absolute;top:18px;left:52px;width:calc(100% + var(--gap) - 64px);height:4px;border-radius:999px;overflow:hidden;background:oklch(from var(--ink) l c h / .14)}
.cf-arh__fill{position:absolute;inset:0;border-radius:inherit;background:var(--accent-fill,var(--accent));transform:scaleX(var(--f,0));transform-origin:left center}
.cf-arh__tl.is-armed .cf-arh__fill{transform:scaleX(0)}
.cf-arh__tl.is-in .cf-arh__fill{transition:transform .9s cubic-bezier(.2,.7,.2,1) calc(var(--i,0) * .14s + .12s)}
.cf-arh__tl.is-in .cf-arh__node.is-current{animation:cf-arh-pop .3s cubic-bezier(.2,.7,.2,1) both}
.cf-arh__text{margin-top:16px;min-width:0}
.cf-arh__title{margin:0 0 8px;font-family:var(--font-display);font-weight:var(--display-weight,800);text-transform:var(--display-case,none);font-size:clamp(1.3125rem,1.8vw,1.625rem);line-height:1.15;letter-spacing:-.01em;text-wrap:balance}
.cf-arh__meta{margin:0;font-size:.9375rem;line-height:1.4;font-weight:500;color:var(--muted);text-wrap:pretty}
.cf-arh__meta+.cf-arh__meta{margin-top:4px}
.cf-arh__ico{display:inline-block;vertical-align:-.15em;margin-inline-end:.4em;color:var(--accent)}
.cf-arh__chip{display:inline-flex;align-items:center;min-height:28px;margin-top:12px;padding:4px 12px;border-radius:999px;font-size:.875rem;line-height:1.2;font-weight:800;color:var(--ink);background:color-mix(in oklch,var(--accent) 12%,var(--surface))}
.cf-arh__sr{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.cf-arh__wait{margin-top:clamp(48px,6.5vw,88px);display:grid;grid-template-columns:minmax(0,7fr) minmax(0,5fr);gap:clamp(32px,5vw,72px);align-items:start}
.cf-arh__wait.is-one{grid-template-columns:minmax(0,1fr)}
.cf-arh__wait.is-one .cf-arh__note{max-width:46rem}
.cf-arh__res{display:grid;grid-template-columns:minmax(150px,236px) minmax(0,1fr);grid-template-areas:"thumb head" "thumb detail" "action action";column-gap:24px;align-items:start;align-content:start;min-width:0}
.cf-arh__res.no-thumb{grid-template-columns:minmax(0,1fr);grid-template-areas:"head" "detail" "action"}
.cf-arh__rh{grid-area:head;margin:0 0 12px}
.cf-arh__rd{grid-area:detail;margin:0;max-width:56ch;font-size:clamp(1.0625rem,1.25vw,1.125rem);line-height:1.5;color:var(--muted);text-wrap:pretty}
.cf-arh__act{grid-area:action;min-width:0;margin-top:28px}
.cf-arh__thumb{grid-area:thumb;position:relative;display:block;width:100%;aspect-ratio:16/10;border-radius:12px;overflow:hidden;background:color-mix(in oklch,var(--ink) 6%,var(--surface))}
.cf-arh__thumb img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center 30%}
.cf-arh__btn{--bb:var(--button-bg,var(--cta));--bb2:var(--button-bg-2,var(--cta-2));--sh:var(--shadow,oklch(0.22 0.03 260));display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:64px;max-width:100%;padding:12px 28px;border:0;border-radius:var(--button-radius,var(--radius,12px));background:linear-gradient(oklch(from var(--bb) calc(l + .04) c h),oklch(from var(--bb2) calc(l - .02) c h));color:var(--button-ink,var(--cta-ink));font-family:var(--button-font,var(--font-display));font-weight:var(--button-weight,800);text-transform:var(--button-case,none);text-align:center;text-decoration:none;text-shadow:var(--button-text-shadow,none);cursor:pointer;-webkit-tap-highlight-color:transparent;box-shadow:var(--button-shadow,inset 0 1px 0 oklch(from var(--bb) calc(l + .14) c h / .7),inset 0 -3px 0 oklch(from var(--bb) calc(l - .16) c h),0 1px 2px oklch(from var(--sh) l c h / .3),0 8px 16px -6px oklch(from var(--sh) l c h / .38));transition:transform .16s ease,box-shadow .16s ease,background .16s ease}
.cf-arh__btn:hover,.cf-arh__btn.is-hover{background:linear-gradient(oklch(from var(--bb) calc(l - .01) c h),oklch(from var(--bb2) calc(l - .07) c h));transform:translateY(-1px);box-shadow:var(--button-shadow,inset 0 1px 0 oklch(from var(--bb) calc(l + .1) c h / .7),inset 0 -3px 0 oklch(from var(--bb) calc(l - .2) c h),0 1px 2px oklch(from var(--sh) l c h / .32),0 12px 20px -8px oklch(from var(--sh) l c h / .45))}
.cf-arh__btn:active,.cf-arh__btn.is-active{transform:translateY(1px);background:linear-gradient(oklch(from var(--bb) calc(l - .04) c h),oklch(from var(--bb2) calc(l - .08) c h));box-shadow:inset 0 2px 4px oklch(from var(--bb) calc(l - .22) c h / .55),inset 0 -2px 0 oklch(from var(--bb) calc(l - .16) c h),0 1px 1px oklch(from var(--sh) l c h / .25)}
.cf-arh__btn:focus-visible{outline:3px solid var(--accent);outline-offset:3px}
.cf-arh__btn.is-disabled,.cf-arh__btn:disabled,.cf-arh__btn[aria-disabled="true"]{background:var(--button-2-bg,var(--secondary));color:var(--button-2-ink,var(--secondary-ink));box-shadow:var(--button-2-shadow,var(--shadow-sm));text-shadow:none;transform:none;cursor:not-allowed;pointer-events:none}
.cf-arh__bl{display:block;font-size:clamp(1.125rem,1.55vw,1.375rem);line-height:1.15;text-wrap:balance}
@media (min-width:721px){.cf-arh__btn{min-width:min(100%,22rem)}.cf-arh__bl{white-space:nowrap}}
.cf-arh__bs{display:block;font-family:var(--font-body);font-size:.9375rem;line-height:1.3;font-weight:500;text-transform:none;text-wrap:pretty}
.cf-arh__note{min-width:0;padding:clamp(20px,3vw,28px);border-radius:var(--radius,12px);background:color-mix(in oklch,var(--ink) 4%,var(--surface))}
.cf-arh__nl{margin:0 0 8px;font-size:clamp(1.0625rem,1.25vw,1.125rem);line-height:1.4;font-weight:800;color:var(--ink)}
.cf-arh__nt{margin:0;font-size:clamp(1.0625rem,1.25vw,1.125rem);line-height:1.5;color:var(--ink);text-wrap:pretty}
.cf-arh__nt strong{font-weight:800}
.cf-arh__addr{overflow-wrap:anywhere}
.cf-arh__ns{margin:12px 0 0;font-size:.9375rem;line-height:1.45;font-weight:500;color:var(--muted);text-wrap:pretty}
.cf-arh__rv{animation:cf-arh-rise .45s cubic-bezier(.2,.7,.2,1) both;animation-delay:var(--d,0s)}
@keyframes cf-arh-rise{from{opacity:.82;transform:translateY(8px)}}
@keyframes cf-arh-pop{from{transform:scale(.9)}}
@media (max-width:900px){.cf-arh__wait{grid-template-columns:minmax(0,1fr)}}
@media (max-width:720px){
.cf-arh__spread{grid-template-columns:minmax(0,1fr);gap:24px}
.cf-arh__fig{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:16px;row-gap:8px}
.cf-arh__num{font-size:clamp(6rem,30vw,8rem)}
.cf-arh__num.is-long{font-size:clamp(4.5rem,20vw,6rem)}
.cf-arh__num.is-xlong{font-size:clamp(3rem,13vw,4rem)}
.cf-arh__unit{flex:1 1 7rem;margin:0}
.cf-arh__line{max-width:none;margin-top:20px}
.cf-arh__tl{--gap:28px;grid-template-columns:minmax(0,1fr)}
.cf-arh__stop{padding-left:60px;min-height:56px}
.cf-arh__node{position:absolute;left:0;top:0}
.cf-arh__seg{top:52px;left:18px;width:4px;height:calc(100% + var(--gap) - 64px)}
.cf-arh__fill{transform:scaleY(var(--f,0));transform-origin:center top}
.cf-arh__tl.is-armed .cf-arh__fill{transform:scaleY(0)}
.cf-arh__text{margin-top:8px}
.cf-arh__btn{display:flex;width:100%;padding:12px 20px}
}
@media (max-width:560px){
.cf-arh__res{grid-template-columns:104px minmax(0,1fr);grid-template-areas:"thumb head" "detail detail" "action action";column-gap:16px}
.cf-arh__res.no-thumb{grid-template-columns:minmax(0,1fr);grid-template-areas:"head" "detail" "action"}
.cf-arh__rh{align-self:center;margin:0}
.cf-arh__res.no-thumb .cf-arh__rh{margin:0 0 12px}
.cf-arh__rd{margin:16px 0 0}
.cf-arh__res.no-thumb .cf-arh__rd{margin:0}
.cf-arh__act{margin-top:24px}
}
@media (prefers-reduced-motion:reduce){
.cf-arh__rv,.cf-arh__tl.is-in .cf-arh__node.is-current{animation:none}
.cf-arh__tl.is-in .cf-arh__fill{transition:none}
.cf-arh__btn{transition:none}
.cf-arh__btn:hover,.cf-arh__btn.is-hover,.cf-arh__btn:active,.cf-arh__btn.is-active{transform:none}
}
`;
pieces/hero/application-received-hero/specimen.tsx 41 lines
import __studioImage28f2911c from "../assets/a2c27c748162814e.webp";
import React from "react";
import ApplicationReceivedHero from "../application-received-hero";
import { slot } from "../../slots";
export const states = ["default", "hover", "active", "disabled"];
type SpecimenState = "default" | "hover" | "active" | "disabled";
export default function ApplicationReceivedHeroSpecimen({ state = "default" }: { state?: string }) {
const s: SpecimenState = state === "hover" || state === "active" || state === "disabled" ? state : "default";
return (
<ApplicationReceivedHero
state={s}
firstName="Jordan"
programme="the Brightpath Agency Mastermind"
responseNumber="2"
responseUnit="business days"
responseLine="for a real person on our team to read your answers and reply to you by email."
body="Maya reads every application herself. There’s nothing to chase and nothing to resend: if she has a question, she’ll ask it in her reply."
stops={[
{ title: "Received", who: "You did this part", when: "Today, just now" },
{ title: "Reviewed by a person", who: "Maya Chen, programme lead", when: "Within 2 business days" },
{ title: "Invited to a call, or a kind no", who: "Maya replies by email either way", when: "Same day as the review" },
]}
currentStop={0}
resourceTitle="Use the wait: see how the room runs"
resourceDetail="A short tour of the weekly hot seats, the agency scorecard and what members commit to, so your call starts with answers."
resourceLabel="Watch the programme walkthrough"
resourceSublabel="18-minute video · no sign-in needed"
resourceImage={slot(
"presenter",
__studioImage28f2911c
)}
resourceImageAlt="A coach walking through the programme plan at a whiteboard"
href="#walkthrough"
sender="Maya Chen"
senderAddress="maya@brightpath.example"
/>
);
}
| Name | Type | Details |
|---|---|---|
firstName OptionalApplicationReceivedHero |
string |
|
programme OptionalApplicationReceivedHero |
string |
|
responseNumber OptionalApplicationReceivedHero |
string |
|
responseUnit OptionalApplicationReceivedHero |
string |
|
responseLine OptionalApplicationReceivedHero |
string |
|
body OptionalApplicationReceivedHero |
string |
|
stops OptionalApplicationReceivedHero |
ApplicationReceivedStop[] |
|
currentStop OptionalApplicationReceivedHero |
number |
|
resourceTitle OptionalApplicationReceivedHero |
string |
|
resourceDetail OptionalApplicationReceivedHero |
string |
|
resourceLabel OptionalApplicationReceivedHero |
string |
|
resourceSublabel OptionalApplicationReceivedHero |
string |
|
resourceImage OptionalApplicationReceivedHero |
string |
|
resourceImageAlt OptionalApplicationReceivedHero |
string |
|
href OptionalApplicationReceivedHero |
string |
|
onAction OptionalApplicationReceivedHero |
() => void |
|
sender OptionalApplicationReceivedHero |
string |
|
senderAddress OptionalApplicationReceivedHero |
string |
|
edge OptionalApplicationReceivedHero |
boolean |
|
edgeTone OptionalApplicationReceivedHero |
React.ComponentProps<typeof Divider>["tone"] |
|
copy OptionalApplicationReceivedHero |
Partial<ApplicationReceivedHeroCopy> |
|
state OptionalApplicationReceivedHero |
"default" | "hover" | "active" | "disabled" |
|
className OptionalApplicationReceivedHero |
string |
Theme roles it reads
Set by the theme bar, a preset or your brand. Colours come from the base tokens (--surface, --ink, --cta…) every piece uses.
--button-bg--button-bg-2--button-case--button-font--button-ink--button-radius--button-shadow--button-text-shadow--button-weight- Main CTA button: background, ink, font, weight, case, radius and shadow.
--button-2-bg--button-2-ink--button-2-shadow- Secondary button.
--display-case--display-tracking--display-weight- Headlines: weight, letter case and tracking.
Image slots
Filled from the brand’s images; the specimen ships its own defaults.
presenter- A photo of the host, coach or founder.
-
9a2ebdab5ff4fcc4.webp
image/webp · 3.64 KB
-
a2c27c748162814e.webp
image/webp · 58 KB