Page Footer 10
Save-your-seat page footer: a dark stage close that restates the live appointment in the host's time zone,
Use it in a prompt
Use content/page-footer-10 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/page-footer-10.tsx. - Import it and pass your copy and images (Props tab):
import { PageFooter10 } from "@/components/funneldna/content/page-footer-10"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/content/page-footer-10/component.tsx 621 lines
// layout: path-to-action
// Save-your-seat page footer: a dark stage close that restates the live appointment in the host's time zone,
// turns it into the visitor's own clock time, and runs a three-stop path back up into the register button.
// Theme notes: every colour reads the theme tokens. Hex appears only as the last var() fallback; #fae37c is the
// contract's --marker default. The stage light is the shared fx Spotlight. The host cut-out sits on a transparent
// ground with a token drop-shadow. Dates, times and host details come only from props.
import * as React from "react";
import { Globe, Mail, MailCheck, MousePointerClick, Radio } from "lucide-react";
import { FX_HOST, Spotlight } from "../fx/fx";
export type PageFooter10Step = {
title: string;
/** Short line under the title. Placeholders: {date}, {time}, {zone}, {local}. */
detail?: string;
};
export type PageFooter10Link = { label: string; href: string };
export type PageFooter10State = "default" | "hover" | "active" | "disabled";
export type PageFooter10Copy = {
/** Shown until the visitor's zone is known. Placeholders {time} and {zone}. */
hostLine: string;
/** Small line under hostLine. Placeholder {zone}. */
hostZone: string;
/** The signature line. {time} is the visitor's local start time. */
localLine: string;
/** Used when the start falls on another day for the visitor: {time} and {day}. */
localDayLine: string;
/** Used when the visitor shares the host's clock: {time}. */
localSameLine: string;
/** Small line under the local time: {zone}. */
localZone: string;
hostedBy: string;
/** Accessible name of the path list. */
pathLabel: string;
/** Accessible name of the legal links navigation. */
legalLabel: string;
};
export type PageFooter10Props = {
/** The one closing line. */
headline?: string;
/** Phrase inside the headline that gets the marker stroke. */
highlight?: string;
/** Italic aside in the host's voice under the headline. */
aside?: string;
/** Start of the live session as an ISO 8601 instant, e.g. "2027-03-09T17:00:00Z". */
startsAt?: string;
/** IANA time zone the host runs the event in, e.g. "America/New_York". */
hostTimeZone?: string;
/** Short zone label after the host time; defaults to the browser's short name (EST, GMT+1). */
hostZoneLabel?: string;
/** Forces the visitor's zone (previews); defaults to the browser's own zone. */
visitorTimeZone?: string;
locale?: string;
/** Supplied schedule note after the host time, e.g. "Free 3-day workshop". */
scheduleNote?: string;
hostName?: string;
hostRole?: string;
/** Host cut-out on a transparent background (slot "presenter-cutout"). */
hostImage?: string;
hostImageAlt?: string;
/** Register button text. */
label?: string;
/** One reassurance line under the button. */
reassurance?: string;
/** Navigation destination; without it the action is a <button>. */
href?: string;
onAction?: () => void;
/** The path from the click to the live room. */
steps?: PageFooter10Step[];
brandName?: string;
links?: PageFooter10Link[];
supportLabel?: string;
supportEmail?: string;
/** Supplied small print; hidden when empty. */
finePrint?: string[];
/** Named placeholders: {year} and {brand}. */
copyrightTemplate?: string;
/** Year in the copyright; defaults to the current year. */
year?: number | string;
copy?: Partial<PageFooter10Copy>;
/** Forced button state for previews. */
state?: PageFooter10State;
className?: string;
};
export function PageFooter10(props: PageFooter10Props) {
const {
headline = "Your seat is one click away",
highlight = "one click away",
aside,
startsAt,
hostTimeZone,
hostZoneLabel,
visitorTimeZone,
locale = "en-US",
scheduleNote,
hostName,
hostRole,
hostImage,
hostImageAlt,
label = "Yes! Save My Seat",
reassurance,
href,
onAction,
steps = DEFAULT_STEPS,
brandName = "Your Brand",
links = DEFAULT_LINKS,
supportLabel = "Questions? Email",
supportEmail,
finePrint = [],
copyrightTemplate = "© {year} {brand}. All rights reserved.",
year,
copy: copyProp,
state = "default",
className,
} = props;
const copy: PageFooter10Copy = { ...DEFAULT_COPY, ...copyProp };
const headingId = React.useId();
const disabled = state === "disabled";
const host = React.useMemo(() => readHost(startsAt, hostTimeZone, locale), [startsAt, hostTimeZone, locale]);
const [local, setLocal] = React.useState<LocalTime | null>(null);
const [swept, setSwept] = React.useState(false);
useIsoLayoutEffect(() => {
if (!host) {
setLocal(null);
return;
}
let zone = visitorTimeZone;
if (!zone) {
try {
zone = Intl.DateTimeFormat().resolvedOptions().timeZone;
} catch {
zone = undefined;
}
}
setLocal(zone ? readLocal(host, zone, locale) : null);
}, [host, visitorTimeZone, locale]);
React.useEffect(() => {
if (!local) {
setSwept(false);
return;
}
let inner = 0;
const outer = requestAnimationFrame(() => {
inner = requestAnimationFrame(() => setSwept(true));
});
return () => {
cancelAnimationFrame(outer);
cancelAnimationFrame(inner);
};
}, [local]);
const hostTime = host ? `${host.timeText} ${hostZoneLabel ?? host.zoneShort}`.trim() : "";
const tokens: Record<string, string> = {
date: host ? host.dateText : "",
time: hostTime,
zone: host ? host.zoneLong : "",
local: local ? local.timeText : hostTime,
};
const diff = local ? local.diff : 0;
const hourDeg = host ? host.minutes * 0.5 + (swept ? diff * 0.5 : 0) : 0;
const minuteDeg = host ? (host.minutes % 60) * 6 + (swept ? (((diff % 60) + 60) % 60) * 6 : 0) : 0;
let line: React.ReactNode = null;
let zoneLine: React.ReactNode = null;
if (host && local) {
const template = local.diff === 0 ? copy.localSameLine : local.dayShift ? copy.localDayLine : copy.localLine;
line = fill(template, { time: <strong>{local.timeText}</strong>, day: local.dayText });
zoneLine = fill(copy.localZone, { zone: local.zoneText });
} else if (host) {
line = fill(copy.hostLine, { time: <strong>{hostTime}</strong>, zone: host.zoneLong });
zoneLine = fill(copy.hostZone, { zone: host.zoneLong });
}
const copyright = fillText(copyrightTemplate, {
year: String(year ?? new Date().getFullYear()),
brand: brandName,
});
const shownSteps = (steps ?? []).filter((step) => Boolean(step && step.title));
const fine = (finePrint ?? []).filter(Boolean);
const hasWhen = Boolean(host || hostName);
const handleClick = (event: React.MouseEvent<HTMLElement>) => {
if (disabled) {
event.preventDefault();
return;
}
onAction?.();
};
const forced = state === "hover" || state === "active" ? state : undefined;
const button =
href && !disabled ? (
<a className="pf10-btn" href={href} data-state={forced} onClick={handleClick}>
{label}
</a>
) : href ? (
<a className="pf10-btn" role="link" aria-disabled="true" data-state="disabled">
{label}
</a>
) : (
<button
type="button"
className="pf10-btn"
data-state={forced ?? (disabled ? "disabled" : undefined)}
disabled={disabled}
onClick={handleClick}
>
{label}
</button>
);
return (
<footer className={className ? `cf-page-footer-10 ${className}` : "cf-page-footer-10"} style={FX_HOST}>
<style>{CSS}</style>
<Spotlight />
<section className="pf10-wrap pf10-stage" aria-labelledby={headingId} data-when={hasWhen ? "" : undefined}>
<div className="pf10-head pf10-in" style={delay(0)}>
<h2 id={headingId} className="pf10-headline">
{renderHeadline(headline, highlight)}
</h2>
{aside ? <p className="pf10-aside">{aside}</p> : null}
</div>
{hasWhen ? (
<div className="pf10-when pf10-in" style={delay(1)}>
{host ? (
<>
<div className="pf10-when-top">
<svg className="pf10-clock" viewBox="0 0 100 100" aria-hidden="true">
<circle className="pf10-face" cx="50" cy="50" r="46" />
{TICKS.map((tick) => (
<line
key={tick}
className={tick % 3 === 0 ? "pf10-tick pf10-tick--major" : "pf10-tick"}
x1="50"
y1={tick % 3 === 0 ? 10 : 11}
x2="50"
y2={tick % 3 === 0 ? 19 : 16}
transform={`rotate(${tick * 30} 50 50)`}
/>
))}
{local && diff !== 0 ? (
<line
className="pf10-ghost"
x1="50"
y1="50"
x2="50"
y2="29"
style={{ transform: `rotate(${host.minutes * 0.5}deg)` }}
/>
) : null}
<line
className="pf10-hand pf10-hand--hour"
x1="50"
y1="50"
x2="50"
y2="29"
style={{ transform: `rotate(${hourDeg}deg)` }}
/>
<line
className="pf10-hand pf10-hand--minute"
x1="50"
y1="50"
x2="50"
y2="17"
style={{ transform: `rotate(${minuteDeg}deg)` }}
/>
<circle className="pf10-pin" cx="50" cy="50" r="5" />
</svg>
<div className="pf10-when-text">
<p className="pf10-date">{host.dateText}</p>
<p className="pf10-time">
{hostTime}
{scheduleNote ? <span> · {scheduleNote}</span> : null}
</p>
</div>
</div>
<div className="pf10-local" data-resolved={local ? "" : undefined}>
<p className="pf10-local-line">
<Globe aria-hidden="true" size={18} strokeWidth={2.5} />
{line}
</p>
<p className="pf10-local-zone">{zoneLine}</p>
</div>
</>
) : null}
{hostName ? (
<div className={hostImage ? "pf10-host" : "pf10-host pf10-host--text"} data-solo={host ? undefined : ""}>
{hostImage ? (
<img src={hostImage} alt={hostImageAlt ?? hostName} width={72} height={84} loading="lazy" decoding="async" />
) : null}
<div>
<p className="pf10-host-by">{copy.hostedBy}</p>
<p className="pf10-host-name">{hostName}</p>
{hostRole ? <p className="pf10-host-role">{hostRole}</p> : null}
</div>
</div>
) : null}
</div>
) : null}
<div className="pf10-act pf10-in" style={delay(2)}>
<div className="pf10-cta">
{button}
{shownSteps.length || reassurance ? (
<div className="pf10-bridge">
{shownSteps.length ? <span className="pf10-stem" aria-hidden="true" /> : null}
{reassurance ? <p className="pf10-assure">{reassurance}</p> : null}
</div>
) : null}
</div>
{shownSteps.length ? (
<ol
className="pf10-path"
aria-label={copy.pathLabel}
style={{ "--pf10-n": shownSteps.length } as React.CSSProperties}
>
{shownSteps.map((step, index) => {
const Icon = STEP_ICONS[index % STEP_ICONS.length];
return (
<li key={`${step.title}-${index}`} className="pf10-stop" data-now={index === 0 ? "" : undefined}>
<span className="pf10-disc" aria-hidden="true">
<Icon size={20} strokeWidth={2.5} />
</span>
<div className="pf10-stop-body">
<h3 className="pf10-stop-title">{step.title}</h3>
{step.detail ? <p className="pf10-stop-detail">{fillText(step.detail, tokens)}</p> : null}
</div>
</li>
);
})}
</ol>
) : null}
</div>
</section>
<div className="pf10-base pf10-in" style={delay(3)}>
<div className="pf10-wrap pf10-base-in">
<p className="pf10-copyright">{copyright}</p>
{links.length ? (
<nav aria-label={copy.legalLabel}>
<ul className="pf10-links">
{links.map((link) => (
<li key={`${link.label}-${link.href}`}>
<a className="pf10-link" href={link.href}>
{link.label}
</a>
</li>
))}
</ul>
</nav>
) : null}
{supportEmail ? (
<p className="pf10-support">
<Mail aria-hidden="true" size={16} strokeWidth={2.5} />
{supportLabel}{" "}
<a className="pf10-link" href={`mailto:${supportEmail}`}>
{supportEmail}
</a>
</p>
) : null}
</div>
{fine.length ? (
<div className="pf10-wrap pf10-fine">
{fine.map((text, index) => (
<p key={index}>{text}</p>
))}
</div>
) : null}
</div>
</footer>
);
}
export default PageFooter10;
type HostTime = {
date: Date;
dateText: string;
timeText: string;
zoneShort: string;
zoneLong: string;
minutes: number;
day: number;
};
type LocalTime = {
timeText: string;
dayText: string;
zoneText: string;
diff: number;
dayShift: boolean;
};
const DEFAULT_COPY: PageFooter10Copy = {
hostLine: "Starts {time}",
hostZone: "Times shown in {zone}",
localLine: "That’s {time} where you are",
localDayLine: "That’s {time} on {day} where you are",
localSameLine: "That’s {time} your time too",
localZone: "Your time zone: {zone}",
hostedBy: "Hosted live by",
pathLabel: "How to join live",
legalLabel: "Legal",
};
const DEFAULT_STEPS: PageFooter10Step[] = [
{ title: "Register", detail: "Save your seat with the button above." },
{ title: "Get the link by email", detail: "Your join link arrives in your inbox." },
{ title: "Show up live", detail: "Open your link at start time and join in." },
];
const DEFAULT_LINKS: PageFooter10Link[] = [
{ label: "Privacy Policy", href: "#privacy" },
{ label: "Terms", href: "#terms" },
{ label: "Disclaimer", href: "#disclaimer" },
];
const STEP_ICONS = [MousePointerClick, MailCheck, Radio];
const TICKS = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11];
const useIsoLayoutEffect = typeof window !== "undefined" ? React.useLayoutEffect : React.useEffect;
function delay(index: number) {
return { "--pf10-d": index } as React.CSSProperties;
}
function renderHeadline(text: string, highlight?: string): React.ReactNode {
if (!highlight) return text;
const at = text.indexOf(highlight);
if (at < 0) return text;
return (
<>
{text.slice(0, at)}
<span className="pf10-mark">{highlight}</span>
{text.slice(at + highlight.length)}
</>
);
}
function fill(template: string, values: Record<string, React.ReactNode>): React.ReactNode[] {
return template.split(/([{][a-zA-Z]+[}])/).map((part, index) => {
const key = part.startsWith("{") && part.endsWith("}") ? part.slice(1, -1) : "";
if (key && key in values) return <React.Fragment key={index}>{values[key]}</React.Fragment>;
return part ? <React.Fragment key={index}>{part}</React.Fragment> : null;
});
}
function fillText(template: string, values: Record<string, string>): string {
return template.replace(/[{]([a-zA-Z]+)[}]/g, (match: string, key: string) => (key in values ? values[key] : match));
}
function clockIn(date: Date, timeZone: string) {
const parts = new Intl.DateTimeFormat("en-US", {
timeZone,
year: "numeric",
month: "numeric",
day: "numeric",
hour: "numeric",
minute: "numeric",
hourCycle: "h23",
}).formatToParts(date);
const get = (type: string) => Number(parts.find((part) => part.type === type)?.value ?? 0);
return {
minutes: (get("hour") % 24) * 60 + get("minute"),
day: Math.round(Date.UTC(get("year"), get("month") - 1, get("day")) / 86400000),
};
}
function zoneName(date: Date, timeZone: string, locale: string, style: "short" | "long") {
const part = new Intl.DateTimeFormat(locale, { timeZone, timeZoneName: style })
.formatToParts(date)
.find((item) => item.type === "timeZoneName");
return part ? part.value : timeZone;
}
function readHost(startsAt: string | undefined, timeZone: string | undefined, locale: string): HostTime | null {
if (!startsAt || !timeZone) return null;
const date = new Date(startsAt);
if (Number.isNaN(date.getTime())) return null;
try {
const clock = clockIn(date, timeZone);
return {
date,
dateText: new Intl.DateTimeFormat(locale, { weekday: "long", month: "long", day: "numeric", timeZone }).format(date),
timeText: new Intl.DateTimeFormat(locale, { hour: "numeric", minute: "2-digit", timeZone }).format(date),
zoneShort: zoneName(date, timeZone, locale, "short"),
zoneLong: zoneName(date, timeZone, locale, "long"),
minutes: clock.minutes,
day: clock.day,
};
} catch {
return null;
}
}
function readLocal(host: HostTime, timeZone: string, locale: string): LocalTime | null {
try {
const clock = clockIn(host.date, timeZone);
return {
timeText: new Intl.DateTimeFormat(locale, { hour: "numeric", minute: "2-digit", timeZone }).format(host.date),
dayText: new Intl.DateTimeFormat(locale, { weekday: "short", month: "short", day: "numeric", timeZone }).format(host.date),
zoneText: zoneName(host.date, timeZone, locale, "long"),
diff: (clock.day - host.day) * 1440 + clock.minutes - host.minutes,
dayShift: clock.day !== host.day,
};
} catch {
return null;
}
}
const CSS = `
.cf-page-footer-10{position:relative;isolation:isolate;overflow:hidden;background:var(--band);color:var(--band-ink);font-family:var(--font-body);font-size:clamp(1.0625rem,1.25vw,1.125rem);line-height:1.5;padding-bottom:clamp(24px,3vw,40px);--pf10-soft:color-mix(in oklch,var(--band-ink) 82%,var(--band));--pf10-faint:color-mix(in oklch,var(--band-ink) 74%,var(--band));--pf10-line:oklch(from var(--band-ink) l c h / .2);--pf10-shadow:var(--shadow,oklch(.22 .03 260))}
.cf-page-footer-10 *,.cf-page-footer-10 *::before,.cf-page-footer-10 *::after{box-sizing:border-box}
.cf-page-footer-10 .pf10-wrap{position:relative;z-index:1;width:100%;max-width:calc(1120px + 2 * clamp(16px,5vw,48px));margin-inline:auto;padding-inline:clamp(16px,5vw,48px)}
.pf10-stage{display:grid;grid-template-areas:"head" "when" "act";row-gap:32px;padding-top:clamp(56px,8vw,112px)}
.pf10-stage:not([data-when]){grid-template-areas:"head" "act"}
.pf10-head{grid-area:head;min-width:0}
.pf10-when{grid-area:when;min-width:0}
.pf10-act{grid-area:act;min-width:0}
@media (min-width:960px){
.pf10-stage{grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);grid-template-rows:auto 1fr;grid-template-areas:"head when" "act when";column-gap:clamp(32px,5vw,72px);align-items:start}
.pf10-stage:not([data-when]){grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto;grid-template-areas:"head" "act"}
.pf10-when{justify-self:end;width:100%;max-width:440px}
}
.pf10-headline{margin:0;font-family:var(--font-display);font-weight:var(--display-weight,800);letter-spacing:var(--display-tracking,-0.025em);text-transform:var(--display-case,none);font-size:clamp(2rem,3.6vw,3.25rem);line-height:1.06;color:var(--band-ink);text-wrap:balance}
.pf10-mark{color:var(--field-ink,#101828);background:linear-gradient(var(--marker,#fae37c),var(--marker,#fae37c)) 0 58%/100% 86% no-repeat,linear-gradient(var(--field,#ffffff),var(--field,#ffffff)) 0 58%/100% 86% no-repeat;padding:0 .14em;border-radius:.18em .32em .22em .28em;-webkit-box-decoration-break:clone;box-decoration-break:clone}
.pf10-aside{margin:16px 0 0;max-width:46ch;font-size:clamp(1.125rem,1.5vw,1.375rem);line-height:1.4;font-style:italic;font-weight:500;color:var(--pf10-soft);text-wrap:pretty}
.pf10-when{background:var(--card);color:var(--ink);border:1px solid var(--card-border,oklch(from var(--ink) l c h / .12));border-radius:var(--card-radius,var(--radius,14px));box-shadow:var(--card-shadow,var(--shadow-lg,0 2px 4px oklch(from var(--pf10-shadow) l c h / .22),0 12px 24px -8px oklch(from var(--pf10-shadow) l c h / .32)));padding:clamp(20px,3vw,32px)}
.pf10-when-top{display:grid;grid-template-columns:72px minmax(0,1fr);gap:16px;align-items:center}
.pf10-when-text{min-width:0}
.pf10-clock{display:block;width:72px;height:72px;overflow:visible}
.pf10-face{fill:color-mix(in oklch,var(--ink) 5%,var(--card));stroke:oklch(from var(--ink) l c h / .16);stroke-width:2}
.pf10-tick{stroke:oklch(from var(--ink) l c h / .38);stroke-width:2;stroke-linecap:round}
.pf10-tick--major{stroke:var(--ink);stroke-width:3}
.pf10-hand,.pf10-ghost{transform-box:view-box;transform-origin:50px 50px;stroke-linecap:round}
.pf10-hand--hour{stroke:var(--ink);stroke-width:6}
.pf10-hand--minute{stroke:var(--ink);stroke-width:4}
.pf10-ghost{stroke:oklch(from var(--ink) l c h / .22);stroke-width:6}
.pf10-pin{fill:var(--accent-fill,var(--accent));stroke:var(--card);stroke-width:2}
.pf10-date{margin:0;font-family:var(--font-display);font-weight:var(--display-weight,800);font-size:clamp(1.3125rem,1.8vw,1.625rem);line-height:1.15;letter-spacing:-.01em;color:var(--ink);text-wrap:balance}
.pf10-time{margin:8px 0 0;font-size:clamp(1.0625rem,1.25vw,1.125rem);line-height:1.4;font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums;text-wrap:pretty}
.pf10-time span{font-weight:500;color:var(--muted)}
.pf10-local{margin-top:20px;padding:16px;border-radius:10px;background:color-mix(in oklch,var(--accent) 10%,var(--card))}
.pf10-local-line{margin:0;font-family:var(--font-display);font-weight:var(--display-weight,800);font-size:clamp(1.3125rem,1.8vw,1.625rem);line-height:1.2;letter-spacing:-.01em;color:var(--ink);text-wrap:balance}
.pf10-local-line strong{color:var(--accent);font-weight:inherit;font-variant-numeric:tabular-nums;white-space:nowrap}
.pf10-local-line svg{display:inline-block;vertical-align:-.12em;margin-inline-end:.4em;color:var(--accent)}
.pf10-local-zone{margin:8px 0 0;font-size:.9375rem;line-height:1.4;font-weight:500;color:var(--ink);text-wrap:pretty}
.pf10-host{display:grid;grid-template-columns:72px minmax(0,1fr);gap:16px;align-items:end;margin-top:20px;padding-top:16px;border-top:1px solid oklch(from var(--ink) l c h / .12)}
.pf10-host[data-solo]{margin-top:0;padding-top:0;border-top:0}
.pf10-host--text{grid-template-columns:minmax(0,1fr)}
.pf10-host img{display:block;width:72px;height:84px;object-fit:contain;object-position:bottom center;filter:drop-shadow(0 2px 3px oklch(from var(--pf10-shadow) l c h / .3)) drop-shadow(0 8px 10px oklch(from var(--pf10-shadow) l c h / .18))}
.pf10-host-by{margin:0;font-size:.875rem;line-height:1.2;font-weight:800;color:var(--muted)}
.pf10-host-name{margin:6px 0 0;font-family:var(--font-display);font-size:1.125rem;line-height:1.2;font-weight:800;color:var(--ink)}
.pf10-host-role{margin:4px 0 0;font-size:.9375rem;line-height:1.4;font-weight:500;color:var(--muted);text-wrap:pretty}
.pf10-cta{width:100%;max-width:30rem}
.pf10-btn{display:flex;width:100%;min-height:72px;align-items:center;justify-content:center;margin:0;padding:12px 28px;border:0;border-radius:var(--button-radius,var(--radius,12px));background:linear-gradient(oklch(from var(--button-bg,var(--cta)) calc(l + .04) c h),oklch(from var(--button-bg-2,var(--cta-2,var(--cta))) 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);font-size:clamp(1.125rem,1.55vw,1.375rem);line-height:1.15;text-align:center;text-wrap:balance;text-decoration:none;text-shadow:var(--button-text-shadow,none);cursor:pointer;box-shadow:var(--button-shadow,inset 0 1px 0 oklch(from var(--button-bg,var(--cta)) calc(l + .14) c h / .7),inset 0 -3px 0 oklch(from var(--button-bg,var(--cta)) calc(l - .16) c h),0 1px 2px oklch(from var(--pf10-shadow) l c h / .45),0 8px 16px -6px oklch(from var(--pf10-shadow) l c h / .55))}
.pf10-btn:not(:disabled):not([aria-disabled="true"]):hover,.pf10-btn[data-state="hover"]{background:linear-gradient(oklch(from var(--button-bg,var(--cta)) calc(l - .01) c h),oklch(from var(--button-bg-2,var(--cta-2,var(--cta))) calc(l - .07) c h));box-shadow:inset 0 1px 0 oklch(from var(--button-bg,var(--cta)) calc(l + .1) c h / .7),inset 0 -3px 0 oklch(from var(--button-bg,var(--cta)) calc(l - .2) c h),0 1px 2px oklch(from var(--pf10-shadow) l c h / .5),0 12px 20px -6px oklch(from var(--pf10-shadow) l c h / .6)}
.pf10-btn:not(:disabled):not([aria-disabled="true"]):active,.pf10-btn[data-state="active"]{background:linear-gradient(oklch(from var(--button-bg,var(--cta)) calc(l - .06) c h),oklch(from var(--button-bg-2,var(--cta-2,var(--cta))) calc(l - .08) c h));box-shadow:inset 0 2px 4px oklch(from var(--button-bg,var(--cta)) calc(l - .22) c h / .6),inset 0 -2px 0 oklch(from var(--button-bg,var(--cta)) calc(l - .16) c h),0 1px 2px oklch(from var(--pf10-shadow) l c h / .45)}
.pf10-btn:focus-visible{outline:3px solid var(--band-ink);outline-offset:3px}
.pf10-btn:disabled,.pf10-btn[aria-disabled="true"]{cursor:not-allowed;background:color-mix(in oklch,var(--band-ink) 16%,var(--band));color:color-mix(in oklch,var(--band-ink) 78%,var(--band));box-shadow:none;text-shadow:none}
.pf10-bridge{display:flex;align-items:stretch;gap:4px;min-height:28px}
.pf10-stem{position:relative;flex:0 0 40px}
.pf10-stem::before{content:"";position:absolute;top:0;bottom:0;left:19px;width:2px;border-radius:2px;background:var(--band-ink)}
.pf10-assure{margin:0;padding-block:12px;font-size:.9375rem;line-height:1.4;font-weight:600;color:var(--pf10-soft);text-wrap:pretty}
.pf10-bridge:not(:has(.pf10-stem)) .pf10-assure{padding-inline-start:4px}
.pf10-path{list-style:none;margin:0;padding:0;display:grid}
.pf10-stop{position:relative;display:grid;grid-template-columns:40px minmax(0,1fr);column-gap:16px;padding-bottom:24px}
.pf10-stop:last-child{padding-bottom:0}
.pf10-stop:not(:last-child)::after{content:"";position:absolute;left:19px;top:48px;bottom:8px;width:2px;border-radius:2px;background:var(--pf10-line)}
.pf10-disc{position:relative;z-index:1;display:grid;place-items:center;width:40px;height:40px;border-radius:999px;border:2px solid oklch(from var(--band-ink) l c h / .42);color:var(--band-ink)}
.pf10-stop[data-now] .pf10-disc{background:var(--band-ink);border-color:var(--band-ink);color:var(--band)}
.pf10-stop-body{min-width:0}
.pf10-stop-title{margin:9px 0 0;font-family:var(--font-display);font-weight:800;font-size:1.125rem;line-height:1.25;letter-spacing:-.01em;color:var(--band-ink);text-wrap:balance}
.pf10-stop-detail{margin:4px 0 0;font-size:clamp(1.0625rem,1.25vw,1.125rem);line-height:1.45;color:var(--pf10-soft);text-wrap:pretty}
@media (min-width:720px){
.pf10-path{grid-template-columns:repeat(var(--pf10-n,3),minmax(0,1fr))}
.pf10-stop{grid-template-columns:minmax(0,1fr);row-gap:12px;padding:0 16px 0 0}
.pf10-stop:last-child{padding-right:0}
.pf10-stop:not(:last-child)::after{left:48px;right:8px;top:19px;bottom:auto;width:auto;height:2px}
.pf10-stop-title{margin:0}
}
.pf10-base{position:relative;z-index:1;margin-top:clamp(56px,7vw,88px);border-top:1px solid var(--pf10-line)}
.pf10-base-in{display:flex;flex-direction:column;align-items:flex-start;gap:4px;padding-block:16px}
@media (min-width:720px){.pf10-base-in{flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 32px}}
.pf10-copyright{margin:0;font-size:.9375rem;line-height:1.4;font-weight:500;color:var(--pf10-soft)}
.pf10-links{display:flex;flex-wrap:wrap;column-gap:20px;list-style:none;margin:0;padding:0}
.pf10-link{display:inline-flex;align-items:center;min-height:44px;border-radius:4px;font-size:.9375rem;font-weight:600;color:var(--band-ink);text-decoration:underline;text-decoration-color:oklch(from var(--band-ink) l c h / .45);text-underline-offset:.18em;transition:text-decoration-color .16s ease}
.pf10-link:hover{text-decoration-color:var(--band-ink);text-decoration-thickness:2px}
.pf10-link:focus-visible{outline:3px solid var(--band-ink);outline-offset:2px}
.pf10-support{margin:0;font-size:.9375rem;line-height:1.4;font-weight:500;color:var(--pf10-soft)}
.pf10-support svg{display:inline-block;vertical-align:-.15em;margin-inline-end:.4em;color:var(--band-ink)}
.pf10-fine{display:grid;gap:8px;padding-top:4px}
.pf10-fine p{margin:0;max-width:76ch;font-size:.875rem;line-height:1.5;color:var(--pf10-faint);text-wrap:pretty}
@keyframes pf10-rise{from{opacity:.82;transform:translateY(8px)}to{opacity:1;transform:none}}
@media (prefers-reduced-motion:no-preference){
.pf10-in{animation:pf10-rise .45s cubic-bezier(.2,.7,.2,1) both;animation-delay:min(calc(var(--pf10-d,0) * .07s),.28s)}
.pf10-local[data-resolved] .pf10-local-line{animation:pf10-rise .45s cubic-bezier(.2,.7,.2,1) .2s both}
.pf10-hand{transition:transform 1.2s cubic-bezier(.2,.7,.2,1)}
.pf10-btn{transition:transform .16s ease,box-shadow .16s ease,background .16s ease}
.pf10-btn:not(:disabled):not([aria-disabled="true"]):hover,.pf10-btn[data-state="hover"]{transform:translateY(-1px)}
.pf10-btn:not(:disabled):not([aria-disabled="true"]):active,.pf10-btn[data-state="active"]{transform:translateY(1px)}
}
`;
pieces/content/page-footer-10/specimen.tsx 47 lines
import __studioImaged083b9f4 from "../assets/ad97861848465992.webp";
// Specimen: the save-your-seat footer closing the fictional Scale Week Live registration page.
import { PageFooter10, type PageFooter10State } from "../page-footer-10";
import defaults from "../../studio-defaults.json";
import { slot } from "../../slots";
export const states = ["default", "hover", "active", "disabled"];
export default function PageFooter10Specimen({ state }: { state?: PageFooter10State }) {
return (
<PageFooter10
headline="Your seat at Scale Week Live is one click away"
highlight="one click away"
aside="(Bring your real store numbers. I’ll answer your questions live on all three days.)"
startsAt="2027-03-09T17:00:00Z"
hostTimeZone="America/New_York"
scheduleNote="Free 3-day workshop"
hostName="Maya Delgado"
hostRole="Your host for all three days"
hostImage={slot(
"presenter-cutout",
__studioImaged083b9f4
)}
hostImageAlt="Maya Delgado, host of Scale Week Live"
label="Yes! Save My Free Seat"
reassurance="Free live workshop for e-commerce store owners"
steps={[
{ title: "Register", detail: "Tap the button above to grab your free seat." },
{ title: "Get the link by email", detail: "We send your private join link and a reminder before day one." },
{ title: "Show up live", detail: "Open your link {date} at {time} and bring your questions." },
]}
brandName="Scale Week Live"
links={[
{ label: "Privacy Policy", href: "#privacy" },
{ label: "Terms", href: "#terms" },
{ label: "Earnings Disclaimer", href: "#disclaimer" },
]}
supportLabel="Questions? Email"
supportEmail="help@scaleweeklive.com"
finePrint={[
"Scale Week Live is a free educational workshop. Any results you get depend on your store, your offer and the work you put in.",
defaults.sample.registration.privacy,
]}
state={state}
/>
);
}
| Name | Type | Details |
|---|---|---|
headline OptionalPageFooter10 |
string |
|
highlight OptionalPageFooter10 |
string |
|
aside OptionalPageFooter10 |
string |
|
startsAt OptionalPageFooter10 |
string |
|
hostTimeZone OptionalPageFooter10 |
string |
|
hostZoneLabel OptionalPageFooter10 |
string |
|
visitorTimeZone OptionalPageFooter10 |
string |
|
locale OptionalPageFooter10 |
string |
|
scheduleNote OptionalPageFooter10 |
string |
|
hostName OptionalPageFooter10 |
string |
|
hostRole OptionalPageFooter10 |
string |
|
hostImage OptionalPageFooter10 |
string |
|
hostImageAlt OptionalPageFooter10 |
string |
|
label OptionalPageFooter10 |
string |
|
reassurance OptionalPageFooter10 |
string |
|
href OptionalPageFooter10 |
string |
|
onAction OptionalPageFooter10 |
() => void |
|
steps OptionalPageFooter10 |
PageFooter10Step[] |
|
brandName OptionalPageFooter10 |
string |
|
links OptionalPageFooter10 |
PageFooter10Link[] |
|
supportLabel OptionalPageFooter10 |
string |
|
supportEmail OptionalPageFooter10 |
string |
|
finePrint OptionalPageFooter10 |
string[] |
|
copyrightTemplate OptionalPageFooter10 |
string |
|
year OptionalPageFooter10 |
number | string |
|
copy OptionalPageFooter10 |
Partial<PageFooter10Copy> |
|
state OptionalPageFooter10 |
PageFooter10State |
|
className OptionalPageFooter10 |
string |
Theme roles it reads
Set by the theme bar, a preset or your brand. Colours come from the base tokens (--surface, --ink, --cta…) every piece uses.
--button-bg--button-bg-2--button-case--button-font--button-ink--button-radius--button-shadow--button-text-shadow--button-weight- Main CTA button: background, ink, font, weight, case, radius and shadow.
--card-border--card-radius--card-shadow- Cards and panels: radius, border and shadow.
--display-case--display-tracking--display-weight- Headlines: weight, letter case and tracking.
--field--field-ink- Form inputs: background, ink, border, radius and focus colour.
--marker- The highlighter colour behind key phrases.
Image slots
Filled from the brand’s images; the specimen ships its own defaults.
presenter-cutout- The presenter on a transparent background.
-
ad97861848465992.webp
image/webp · 148 KB
-
b77916eca54aa689.webp
image/webp · 8.32 KB
-
d435db6662febfcf.webp
image/webp · 10 KB
-
f0a5d3e1e61804ba.webp
image/webp · 11.6 KB