Summit Schedule 2
Summit schedule block: walks the visitor through their event day stop by stop (future pacing), each stop opening to its speaker and takeaway, and ends the route at the ticket button.
Use it in a prompt
Use content/summit-schedule-2 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/summit-schedule-2.tsx. - Import it and pass your copy and images (Props tab):
import { SummitSchedule2 } from "@/components/funneldna/content/summit-schedule-2"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/content/summit-schedule-2/component.tsx 576 lines
// layout: route-map
// Summit schedule block: walks the visitor through their event day stop by stop (future pacing), each stop opening to its speaker and takeaway, and ends the route at the ticket button.
import * as React from "react";
import { CalendarDays, ChevronDown, Clock, DoorOpen, Flag, MapPin, Mic, PenLine, ShieldCheck, Ticket, Users, Utensils } from "lucide-react";
import { Backdrop, FX_HOST } from "../fx/fx";
import seminar from "../fx/backdrops/seminar";
export type SummitStopKind = "doors" | "keynote" | "breakout" | "lunch" | "workshop" | "close";
export type SummitStop = {
time: string;
title: string;
/** One line on what they walk out of this stop with. */
outcome: string;
/** Picks the route-node icon. */
kind?: SummitStopKind;
/** Room or area inside the venue. */
room?: string;
speaker?: string;
speakerRole?: string;
/** Speaker portrait (presenter slot), src string. */
speakerImage?: string;
speakerImageAlt?: string;
/** Shown when the stop is opened: the takeaway in a sentence or two. */
takeaway?: string;
};
export type SummitSchedule2Props = {
headline?: string;
/** Phrase inside the headline that gets the marker stroke. */
highlight?: string;
lead?: string;
eventName?: string;
date?: string;
venue?: string;
/** Doors-to-close hours line, e.g. "8:30 AM – 5:00 PM". */
hours?: string;
stops?: SummitStop[];
/** Index of the stop open on load; -1 for none. */
defaultOpen?: number;
ticketHeadline?: string;
price?: string;
priceNote?: string;
label?: string;
reassurance?: string;
/** P.S. line under the action; a leading "P.S." is set in bold. */
ps?: string;
href?: string;
onAction?: () => void;
disabled?: boolean;
/** Scene photo behind the band; defaults to the fx seminar backdrop (which also reads the scene slot). */
backdropImage?: string;
state?: "default" | "hover" | "active" | "disabled";
copy?: {
routeLabel?: string;
/** Alt text template for speaker portraits: {name} is replaced. */
speakerAlt?: string;
};
className?: string;
};
export function SummitSchedule2(props: SummitSchedule2Props) {
const {
headline = "Here's your whole day, hour by hour",
highlight = "hour by hour",
lead = "Tap any stop to see who's teaching it and what you take home.",
eventName = "",
date = "",
venue = "",
hours = "",
stops = DEFAULT_STOPS,
defaultOpen = 1,
ticketHeadline = "Save your seat for the whole day",
price = "",
priceNote = "",
label = "Save my seat",
reassurance = "Secure checkout",
ps = "",
href,
onAction,
disabled = false,
backdropImage,
state = "default",
copy,
className = "",
} = props;
const routeLabel = copy?.routeLabel ?? "Event day schedule";
const speakerAlt = copy?.speakerAlt ?? "Portrait of {name}";
const uid = React.useId().replace(/[^a-zA-Z0-9_-]/g, "");
const [open, setOpen] = React.useState<number>(defaultOpen);
const isDisabled = disabled || state === "disabled";
const ctaClass = "cf-ss2-cta" + (state === "hover" ? " is-hover" : "") + (state === "active" ? " is-active" : "");
const cta =
href && !isDisabled ? (
<a className={ctaClass} href={href} onClick={onAction}>
{label}
</a>
) : (
<button type="button" className={ctaClass} disabled={isDisabled} onClick={onAction}>
{label}
</button>
);
return (
<section className={`cf-ss2 ${className}`.trim()} aria-labelledby={`${uid}-h`}>
<style>{CSS}</style>
<div className="cf-ss2-bgwrap" aria-hidden="true">
<div className="cf-ss2-bghost" style={FX_HOST}>
<Backdrop src={backdropImage ?? seminar} treatment="scrim-light" side="left" position="center 40%" />
</div>
</div>
<div className="cf-ss2-inner">
<div className="cf-ss2-grid">
<header className="cf-ss2-head">
<h2 id={`${uid}-h`} className="cf-ss2-h2">
{marked(headline, highlight)}
</h2>
{lead && <p className="cf-ss2-lead">{lead}</p>}
{(eventName || date || venue || hours) && (
<ul className="cf-ss2-chips">
{eventName && (
<li className="cf-ss2-chip cf-ss2-chip--event">
<Ticket size={16} strokeWidth={2.5} aria-hidden="true" />
{eventName}
</li>
)}
{date && (
<li className="cf-ss2-chip">
<CalendarDays size={16} strokeWidth={2.5} aria-hidden="true" />
{date}
</li>
)}
{venue && (
<li className="cf-ss2-chip">
<MapPin size={16} strokeWidth={2.5} aria-hidden="true" />
{venue}
</li>
)}
{hours && (
<li className="cf-ss2-chip">
<Clock size={16} strokeWidth={2.5} aria-hidden="true" />
{hours}
</li>
)}
</ul>
)}
</header>
<ol className="cf-ss2-route" aria-label={routeLabel}>
{stops.map((stop, i) => {
const isOpen = open === i;
const Icon = (stop.kind && KIND_ICONS[stop.kind]) || Clock;
const btnId = `${uid}-b${i}`;
const panelId = `${uid}-p${i}`;
const hasDetail = Boolean(stop.speaker || stop.takeaway || stop.room);
const stopState = open > i ? "past" : isOpen ? "current" : "next";
return (
<li
key={`${stop.time}-${i}`}
className="cf-ss2-stop"
data-state={stopState}
style={{ ["--i" as string]: i } as React.CSSProperties}
>
<span className="cf-ss2-seg" aria-hidden="true">
<span className="cf-ss2-seg-fill" />
</span>
<span className="cf-ss2-node" aria-hidden="true">
<Icon size={20} strokeWidth={2.5} />
</span>
<div className="cf-ss2-card" data-open={isOpen && hasDetail ? "true" : "false"}>
<h3 className="cf-ss2-h3">
<button
type="button"
id={btnId}
className="cf-ss2-btn"
aria-expanded={hasDetail ? isOpen : undefined}
aria-controls={hasDetail ? panelId : undefined}
onClick={() => setOpen((o) => (o === i ? -1 : i))}
>
<span className="cf-ss2-time">{stop.time}</span>
<span className="cf-ss2-title">{keepWhole(stop.title)}</span>
<span className="cf-ss2-outcome">{stop.outcome}</span>
{hasDetail && (
<span className="cf-ss2-chev" aria-hidden="true">
<ChevronDown size={20} strokeWidth={2.5} />
</span>
)}
</button>
</h3>
{hasDetail && (
<div
id={panelId}
role="region"
aria-labelledby={btnId}
className="cf-ss2-panel"
hidden={!isOpen}
>
<div className="cf-ss2-well">
{stop.speaker && (
<div className="cf-ss2-speaker">
{stop.speakerImage && (
<img
src={stop.speakerImage}
alt={stop.speakerImageAlt ?? speakerAlt.replace("{name}", stop.speaker)}
width={56}
height={56}
decoding="async"
/>
)}
<div>
<span className="cf-ss2-name">{stop.speaker}</span>
{stop.speakerRole && <span className="cf-ss2-role">{stop.speakerRole}</span>}
</div>
</div>
)}
{stop.takeaway && <p className="cf-ss2-take">{stop.takeaway}</p>}
{stop.room && (
<p className="cf-ss2-room">
<MapPin size={16} strokeWidth={2.5} aria-hidden="true" />
{stop.room}
</p>
)}
</div>
</div>
)}
</div>
</li>
);
})}
<li className="cf-ss2-stop cf-ss2-stop--ticket" style={{ ["--i" as string]: stops.length } as React.CSSProperties}>
<span className="cf-ss2-node" aria-hidden="true">
<Ticket size={20} strokeWidth={2.5} />
</span>
<div className="cf-ss2-ticket">
<h3 className="cf-ss2-ticket-h">{keepWhole(ticketHeadline)}</h3>
{price && (
<p className="cf-ss2-price">
<span className="cf-ss2-price-num">{price}</span>
{priceNote && <span className="cf-ss2-price-note">{priceNote}</span>}
</p>
)}
{cta}
{reassurance && (
<p className="cf-ss2-reassure">
<ShieldCheck size={16} strokeWidth={2.5} aria-hidden="true" />
{reassurance}
</p>
)}
{ps && <p className="cf-ss2-ps">{renderPs(ps)}</p>}
</div>
</li>
</ol>
</div>
</div>
</section>
);
}
export default SummitSchedule2;
const KIND_ICONS: Record<SummitStopKind, typeof Clock> = {
doors: DoorOpen,
keynote: Mic,
breakout: Users,
lunch: Utensils,
workshop: PenLine,
close: Flag,
};
const DEFAULT_STOPS: SummitStop[] = [
{ kind: "doors", time: "8:30 AM", title: "Doors open", outcome: "Check in, pick up your materials and find your table." },
{ kind: "keynote", time: "9:15 AM", title: "Opening keynote", outcome: "Leave with the one plan the whole day builds on." },
{ kind: "breakout", time: "10:45 AM", title: "Breakout sessions", outcome: "Pick the track that fits the problem you came to fix." },
{ kind: "lunch", time: "12:30 PM", title: "Lunch", outcome: "Trade notes with the people at your table." },
{ kind: "workshop", time: "1:30 PM", title: "Hands-on workshop", outcome: "Build your own version while help is in the room." },
{ kind: "close", time: "4:30 PM", title: "Closing session", outcome: "Walk out with your next 30 days on one page." },
];
function marked(text: string, phrase?: string): React.ReactNode {
if (!phrase) return text;
const at = text.indexOf(phrase);
if (at < 0) return text;
return (
<>
{text.slice(0, at)}
<span className="cf-ss2-mark">{phrase}</span>
{text.slice(at + phrase.length)}
</>
);
}
function renderPs(text: string): React.ReactNode {
if (!text.startsWith("P.S.")) return keepWhole(text);
return (
<>
<strong>P.S.</strong>
{keepWhole(text.slice(4))}
</>
);
}
/** Keeps hyphenated words ("three-day", "money-back") on one line so titles never break at the hyphen. */
function keepWhole(text: string): React.ReactNode {
if (!text.includes("-")) return text;
return text.split(/(\S*\w-\w\S*)/).map((part, i) =>
i % 2 ? (
<span key={i} className="cf-ss2-nobr">
{part}
</span>
) : (
part
)
);
}
const CSS = `
.cf-ss2 {
--cf-ss2-sh: var(--shadow, oklch(0.22 0.03 260));
--cf-ss2-sm: var(--shadow-sm, 0 1px 1px oklch(from var(--cf-ss2-sh) l c h / .18), 0 1px 3px oklch(from var(--cf-ss2-sh) l c h / .14));
--cf-ss2-md: var(--shadow-md, 0 1px 2px oklch(from var(--cf-ss2-sh) l c h / .22), 0 4px 10px -2px oklch(from var(--cf-ss2-sh) l c h / .2));
--cf-ss2-lg: var(--shadow-lg, 0 2px 4px oklch(from var(--cf-ss2-sh) l c h / .22), 0 12px 24px -8px oklch(from var(--cf-ss2-sh) l c h / .32));
--cf-ss2-rail: 56px;
--cf-ss2-node: 40px;
--cf-ss2-node-top: 20px;
--cf-ss2-gap: 16px;
--cf-ss2-strip: clamp(176px, 44vw, 240px);
position: relative;
isolation: isolate;
overflow: clip;
background: var(--surface);
color: var(--ink);
font-family: var(--font-body);
padding: clamp(56px, 8vw, 112px) clamp(16px, 5vw, 48px) clamp(64px, 8.5vw, 120px);
}
.cf-ss2 *, .cf-ss2 *::before, .cf-ss2 *::after { box-sizing: border-box; }
.cf-ss2-bgwrap { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.cf-ss2-bghost { width: 100%; height: 100%; }
.cf-ss2-inner { position: relative; z-index: 1; max-width: 1120px; margin: 0 auto; }
.cf-ss2-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.cf-ss2-head { position: sticky; top: 32px; }
.cf-ss2-h2 {
margin: 0;
font-family: var(--font-display);
font-size: clamp(2rem, 3.6vw, 3.25rem);
line-height: 1.06;
font-weight: var(--display-weight, 800);
letter-spacing: var(--display-tracking, -0.025em);
text-transform: var(--display-case, none);
text-wrap: balance;
color: var(--ink);
}
.cf-ss2-mark {
--cf-ss2-marker: var(--marker, #fae37c);
--cf-ss2-marker-solid: oklch(from var(--cf-ss2-marker) l c h / 1);
color: oklch(from var(--cf-ss2-marker) 0.21 0.03 h);
background: linear-gradient(transparent 14%, var(--cf-ss2-marker-solid) 14%, var(--cf-ss2-marker-solid) 96%, transparent 96%);
border-radius: .12em .3em .2em .28em;
-webkit-box-decoration-break: clone;
box-decoration-break: clone;
padding: 0 .1em;
}
.cf-ss2-nobr { white-space: nowrap; }
.cf-ss2-lead { margin: 16px 0 0; max-width: 46ch; font-size: clamp(1.125rem, 1.5vw, 1.375rem); line-height: 1.4; font-weight: 500; color: var(--ink); text-wrap: pretty; }
.cf-ss2-chips { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cf-ss2-chip {
display: inline-flex; align-items: center; gap: 6px;
min-height: 32px; padding: 4px 12px; border-radius: 999px;
background: color-mix(in oklch, var(--ink) 6%, var(--card));
border: 1px solid oklch(from var(--ink) l c h / .1);
color: var(--ink); font-size: .875rem; font-weight: 800; line-height: 1.2;
}
.cf-ss2-chip svg { flex: none; }
.cf-ss2-chip--event { background: var(--accent-fill, var(--accent)); color: var(--accent-fill-ink, var(--card)); border-color: transparent; }
.cf-ss2-route { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--cf-ss2-gap); }
.cf-ss2-stop {
position: relative;
display: grid;
grid-template-columns: var(--cf-ss2-rail) minmax(0, 1fr);
animation: cf-ss2-rise .45s cubic-bezier(.2,.7,.2,1) both;
animation-delay: min(calc(var(--i, 0) * .07s), .28s);
}
.cf-ss2-seg {
position: absolute; z-index: 0;
left: calc(var(--cf-ss2-rail) / 2 - 1.5px);
top: calc(var(--cf-ss2-node-top) + var(--cf-ss2-node) / 2);
height: calc(100% + var(--cf-ss2-gap));
width: 3px; border-radius: 3px; overflow: hidden;
background: oklch(from var(--ink) l c h / .18);
}
.cf-ss2-seg-fill {
display: block; width: 100%; height: 100%;
background: var(--accent-fill, var(--accent));
transform: scaleY(0); transform-origin: top;
transition: transform .45s cubic-bezier(.2,.7,.2,1);
}
.cf-ss2-stop[data-state="past"] .cf-ss2-seg-fill { transform: scaleY(1); }
.cf-ss2-node {
position: absolute; z-index: 1;
left: calc(var(--cf-ss2-rail) / 2 - var(--cf-ss2-node) / 2);
top: var(--cf-ss2-node-top);
width: var(--cf-ss2-node); height: var(--cf-ss2-node); border-radius: 999px;
display: grid; place-items: center;
background: var(--card); color: var(--ink);
box-shadow: inset 0 0 0 2px oklch(from var(--ink) l c h / .2), var(--cf-ss2-sm);
transition: background .16s ease, color .16s ease, box-shadow .16s ease;
}
.cf-ss2-stop[data-state="past"] .cf-ss2-node,
.cf-ss2-stop[data-state="current"] .cf-ss2-node,
.cf-ss2-stop--ticket .cf-ss2-node {
background: var(--accent-fill, var(--accent));
color: var(--accent-fill-ink, var(--card));
box-shadow: var(--cf-ss2-sm);
}
.cf-ss2-stop[data-state="current"] .cf-ss2-node {
outline: 3px solid oklch(from var(--accent-fill, var(--accent)) l c h / .45);
outline-offset: 3px;
animation: cf-ss2-pop .3s ease-out both;
}
.cf-ss2-card {
grid-column: 2;
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(--cf-ss2-md));
transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.cf-ss2-card:hover { transform: translateY(-1px); border-color: oklch(from var(--ink) l c h / .26); box-shadow: var(--cf-ss2-lg); }
.cf-ss2-card[data-open="true"] {
border-color: oklch(from var(--accent) l c h / .6);
box-shadow: inset 0 0 0 1px oklch(from var(--accent) l c h / .6), var(--cf-ss2-md);
}
.cf-ss2-card[data-open="true"]:hover { transform: none; }
.cf-ss2-h3 { margin: 0; font-size: inherit; font-weight: inherit; }
.cf-ss2-btn {
display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px;
width: 100%; margin: 0;
padding: 20px clamp(20px, 3vw, 32px);
border: 0; border-radius: inherit; background: transparent;
color: inherit; font: inherit; text-align: left; cursor: pointer;
-webkit-tap-highlight-color: transparent;
}
.cf-ss2-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.cf-ss2-time { grid-column: 1; font-family: var(--font-display); font-weight: 800; font-size: 1rem; line-height: 1.2; letter-spacing: .01em; color: var(--accent); font-variant-numeric: tabular-nums; }
.cf-ss2-title {
grid-column: 1; margin-top: 8px;
font-family: var(--font-display);
font-size: clamp(1.3125rem, 1.8vw, 1.625rem); line-height: 1.15;
font-weight: var(--display-weight, 800); letter-spacing: -0.01em;
text-transform: var(--display-case, none);
text-wrap: balance; color: var(--ink);
}
.cf-ss2-outcome { grid-column: 1 / -1; margin-top: 8px; max-width: 64ch; font-size: clamp(1.0625rem, 1.25vw, 1.125rem); line-height: 1.5; color: var(--muted); text-wrap: pretty; }
.cf-ss2-chev {
grid-column: 2; grid-row: 1 / span 2; align-self: start;
width: 36px; height: 36px; border-radius: 999px;
display: grid; place-items: center;
background: color-mix(in oklch, var(--ink) 6%, var(--card)); color: var(--ink);
transition: transform .3s cubic-bezier(.2,.7,.2,1), background .16s ease, color .16s ease;
}
.cf-ss2-btn:hover .cf-ss2-chev { background: color-mix(in oklch, var(--ink) 12%, var(--card)); }
.cf-ss2-card[data-open="true"] .cf-ss2-chev { transform: rotate(180deg); background: var(--accent-fill, var(--accent)); color: var(--accent-fill-ink, var(--card)); }
/* Open = content in normal flow, always painted; closed = removed from layout (no reserved height). */
.cf-ss2-panel { display: block; }
.cf-ss2 .cf-ss2-panel[hidden] { display: none; }
.cf-ss2-well {
display: grid; gap: 12px;
margin: 0 clamp(20px, 3vw, 32px) clamp(20px, 3vw, 32px);
padding: 16px; border-radius: 10px;
background: color-mix(in oklch, var(--ink) 4%, var(--card));
animation: cf-ss2-open .3s cubic-bezier(.2,.7,.2,1) both;
}
.cf-ss2-speaker { display: flex; align-items: center; gap: 12px; }
.cf-ss2-speaker img { width: 56px; height: 56px; flex: none; border-radius: 8px; object-fit: cover; object-position: center 25%; }
.cf-ss2-name { display: block; font-size: 1.0625rem; font-weight: 800; line-height: 1.25; color: var(--ink); }
.cf-ss2-role { display: block; margin-top: 4px; font-size: .9375rem; font-weight: 500; line-height: 1.4; color: var(--muted); }
.cf-ss2-take { margin: 0; font-size: clamp(1.0625rem, 1.25vw, 1.125rem); line-height: 1.5; color: var(--ink); text-wrap: pretty; }
.cf-ss2-room { margin: 0; font-size: .9375rem; font-weight: 600; line-height: 1.4; color: var(--ink); }
.cf-ss2-room svg, .cf-ss2-reassure svg { display: inline-block; vertical-align: -0.15em; margin-inline-end: .4em; }
.cf-ss2-ticket {
grid-column: 2;
background: var(--band); color: var(--band-ink);
border: 1px solid oklch(from var(--band-ink) l c h / .1);
border-radius: var(--card-radius, var(--radius, 14px));
box-shadow: var(--cf-ss2-lg);
padding: clamp(24px, 3.4vw, 36px);
}
.cf-ss2-ticket-h {
margin: 0;
font-family: var(--font-display);
font-size: clamp(1.3125rem, 1.8vw, 1.625rem); line-height: 1.15;
font-weight: var(--display-weight, 800); letter-spacing: -0.01em;
text-transform: var(--display-case, none);
text-wrap: balance; color: var(--band-ink);
}
.cf-ss2-price { margin: 16px 0 0; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 12px; row-gap: 12px; }
.cf-ss2-price-num { font-family: var(--font-display); font-size: clamp(2.5rem, 4.2vw, 3.75rem); line-height: 1; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--band-ink); }
.cf-ss2-price-note { font-size: .9375rem; font-weight: 600; line-height: 1.4; color: var(--band-ink); text-wrap: pretty; }
.cf-ss2-cta {
display: flex; align-items: center; justify-content: center;
width: 100%; min-height: 72px; margin-top: 24px; padding: 12px 28px;
border: 0;
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.125rem, 1.55vw, 1.375rem); line-height: 1.15;
text-align: center; text-wrap: balance; text-decoration: none;
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 + .04) c h), oklch(from var(--button-bg-2, var(--cta-2)) calc(l - .02) c h));
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(--cf-ss2-sh) l c h / .35), 0 8px 16px -6px oklch(from var(--cf-ss2-sh) l c h / .5));
cursor: pointer;
transition: transform .16s ease, box-shadow .16s ease, background .16s ease;
}
.cf-ss2-cta:hover:not(:disabled), .cf-ss2-cta.is-hover:not(:disabled) {
transform: translateY(-1px);
background: linear-gradient(oklch(from var(--button-bg, var(--cta)) calc(l - .01) c h), oklch(from var(--button-bg-2, var(--cta-2)) calc(l - .07) c h));
box-shadow: var(--button-shadow, inset 0 1px 0 oklch(from var(--button-bg, var(--cta)) calc(l + .12) 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(--cf-ss2-sh) l c h / .4), 0 10px 18px -6px oklch(from var(--cf-ss2-sh) l c h / .6));
}
.cf-ss2-cta:active:not(:disabled), .cf-ss2-cta.is-active:not(:disabled) {
transform: translateY(1px);
background: linear-gradient(oklch(from var(--button-bg, var(--cta)) calc(l - .05) c h), oklch(from var(--button-bg-2, var(--cta-2)) calc(l - .08) c h));
box-shadow: inset 0 2px 4px oklch(from var(--button-bg, var(--cta)) calc(l - .24) c h / .55), inset 0 -2px 0 oklch(from var(--button-bg, var(--cta)) calc(l - .16) c h), 0 1px 2px oklch(from var(--cf-ss2-sh) l c h / .3);
}
.cf-ss2-cta:focus-visible { outline: 3px solid var(--band-ink); outline-offset: 3px; }
.cf-ss2-cta:disabled {
cursor: not-allowed;
background: var(--button-2-bg, var(--secondary));
color: var(--button-2-ink, var(--secondary-ink));
text-shadow: none;
box-shadow: var(--button-2-shadow, var(--shadow-sm));
}
.cf-ss2-reassure { margin: 12px 0 0; font-size: .9375rem; font-weight: 600; line-height: 1.4; text-align: center; text-wrap: pretty; color: var(--band-ink); }
.cf-ss2-ps { margin: 20px 0 0; font-size: clamp(1.0625rem, 1.25vw, 1.125rem); line-height: 1.5; text-wrap: pretty; color: var(--band-ink); }
.cf-ss2-ps strong { font-weight: 800; }
@keyframes cf-ss2-rise { from { opacity: .82; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes cf-ss2-pop { from { transform: scale(.9); } to { transform: scale(1); } }
@keyframes cf-ss2-open { from { opacity: .82; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
.cf-ss2 { --cf-ss2-rail: 52px; padding-top: calc(var(--cf-ss2-strip) + 40px); }
.cf-ss2-bgwrap {
bottom: auto; height: var(--cf-ss2-strip);
-webkit-mask-image: linear-gradient(to bottom, black 55%, transparent);
mask-image: linear-gradient(to bottom, black 55%, transparent);
}
.cf-ss2-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
.cf-ss2-head { position: static; }
.cf-ss2-stop[data-state="current"] .cf-ss2-node { outline-width: 2px; outline-offset: 2px; }
}
@media (max-width: 520px) {
.cf-ss2 { --cf-ss2-rail: 46px; --cf-ss2-node: 36px; }
.cf-ss2-btn { padding: 18px 16px 18px 18px; }
.cf-ss2-chev { width: 32px; height: 32px; }
.cf-ss2-well { margin: 0 16px 16px; }
.cf-ss2-stop--ticket { grid-template-columns: minmax(0, 1fr); }
.cf-ss2-stop--ticket .cf-ss2-node { top: 0; }
.cf-ss2-ticket { grid-column: 1; margin-top: 18px; padding: 34px 20px 24px; }
.cf-ss2-cta { padding: 12px 16px; }
}
@media (prefers-reduced-motion: reduce) {
.cf-ss2 .cf-ss2-stop, .cf-ss2 .cf-ss2-stop .cf-ss2-node, .cf-ss2 .cf-ss2-well { animation: none; }
.cf-ss2 .cf-ss2-seg-fill, .cf-ss2 .cf-ss2-card, .cf-ss2 .cf-ss2-chev, .cf-ss2 .cf-ss2-node, .cf-ss2 .cf-ss2-cta { transition: none; }
.cf-ss2 .cf-ss2-card:hover { transform: none; }
.cf-ss2 .cf-ss2-cta:hover:not(:disabled), .cf-ss2 .cf-ss2-cta.is-hover:not(:disabled),
.cf-ss2 .cf-ss2-cta:active:not(:disabled), .cf-ss2 .cf-ss2-cta.is-active:not(:disabled) { transform: none; }
}
`;
pieces/content/summit-schedule-2/specimen.tsx 100 lines
import __studioImage65ac70a7 from "../assets/e8350c19a848e1e3.webp";
import __studioImage62640702 from "../assets/911dd488c9eddb36.webp";
import __studioImage311ddd46 from "../assets/a6a4e1abc38d5124.webp";
import { SummitSchedule2, type SummitSchedule2Props } from "../summit-schedule-2";
import defaults from "../../studio-defaults.json";
import { slot } from "../../slots";
export const states = ["default", "hover", "active", "disabled"];
export default function SummitSchedule2Specimen({ state = "default" }: { state?: SummitSchedule2Props["state"] }) {
const maya = slot(
"presenter",
__studioImage65ac70a7
);
const dev = __studioImage62640702;
const renee = __studioImage311ddd46;
return (
<SummitSchedule2
state={state}
headline="Spend one Saturday here. Run a cleaner close every month."
highlight="a cleaner close"
lead="Here's your day at Ledger Live, stop by stop. Tap any stop to meet the speaker and see what goes home with you."
eventName="Ledger Live"
date="Saturday, March 14"
venue="Harbor Hall, Portland"
hours="8:30 AM – 5:00 PM"
defaultOpen={1}
stops={[
{
kind: "doors",
time: "8:30 AM",
title: "Doors open, coffee's on",
outcome: "Your workbook, your badge and a table of bookkeepers who run books like yours.",
takeaway: "Tables are grouped by client count, so the people beside you are fighting the same month-end you are.",
room: "Harbor Hall foyer",
},
{
kind: "keynote",
time: "9:15 AM",
title: "Keynote: the three-day month-end close",
outcome: "Walk out with a close calendar you can run next month.",
speaker: "Maya Ortiz",
speakerRole: "Founder, Ortiz & Co. Bookkeeping",
speakerImage: maya,
takeaway: "Maya walks through her close calendar day by day. You fill in your own with your client list open in front of you.",
room: "Main stage",
},
{
kind: "breakout",
time: "10:45 AM",
title: "Breakouts: pick the mess you came to fix",
outcome: "Leave with a reconciliation checklist for your messiest client.",
speaker: "Dev Raman",
speakerRole: "Payroll and reconciliations lead",
speakerImage: dev,
takeaway: "Choose payroll, catch-up books or bank feeds. Each room ends with a checklist you'll use on Monday.",
room: "Rooms A, B and C",
},
{
kind: "lunch",
time: "12:30 PM",
title: "Lunch with your table",
outcome: "Compare pricing and software notes with five peers.",
takeaway: "Lunch is included. Every table gets one question card on pricing, so nobody eats in silence.",
room: "Harbor Hall terrace",
},
{
kind: "workshop",
time: "1:30 PM",
title: "Workshop: write your client SOP",
outcome: "Finish a written SOP your next hire could follow on day one.",
speaker: "Renée Laurent",
speakerRole: "Workflow coach",
speakerImage: renee,
takeaway: "Renée hands you the template, then works the room while you write. You leave with a finished draft, not notes.",
room: "Main stage",
},
{
kind: "close",
time: "4:30 PM",
title: "Close: your next 30 days on one page",
outcome: "Leave with your first month mapped, client by client.",
speaker: "Maya Ortiz",
speakerRole: "Founder, Ortiz & Co. Bookkeeping",
speakerImage: maya,
takeaway: "Maya turns everything you built today into a 30-day plan you can pin above your desk.",
room: "Main stage",
},
]}
ticketHeadline="End the day with a close you can run on Monday"
price="$149"
priceNote="One-day pass · lunch and workbook included"
label="Save my bootcamp seat"
reassurance={`Secure checkout · ${defaults.sample.guarantee}`}
ps={`P.S. Lunch, the workbook and every template from the day go home with you, and your ticket carries a ${defaults.sample.guarantee}.`}
href="#checkout"
/>
);
}
| Name | Type | Details |
|---|---|---|
headline OptionalSummitSchedule2 |
string |
|
highlight OptionalSummitSchedule2 |
string |
|
lead OptionalSummitSchedule2 |
string |
|
eventName OptionalSummitSchedule2 |
string |
|
date OptionalSummitSchedule2 |
string |
|
venue OptionalSummitSchedule2 |
string |
|
hours OptionalSummitSchedule2 |
string |
|
stops OptionalSummitSchedule2 |
SummitStop[] |
|
defaultOpen OptionalSummitSchedule2 |
number |
|
ticketHeadline OptionalSummitSchedule2 |
string |
|
price OptionalSummitSchedule2 |
string |
|
priceNote OptionalSummitSchedule2 |
string |
|
label OptionalSummitSchedule2 |
string |
|
reassurance OptionalSummitSchedule2 |
string |
|
ps OptionalSummitSchedule2 |
string |
|
href OptionalSummitSchedule2 |
string |
|
onAction OptionalSummitSchedule2 |
() => void |
|
disabled OptionalSummitSchedule2 |
boolean |
|
backdropImage OptionalSummitSchedule2 |
string |
|
state OptionalSummitSchedule2 |
"default" | "hover" | "active" | "disabled" |
|
copy OptionalSummitSchedule2 |
{
routeLabel?: string;
/** Alt text template for speaker portraits: {name} is replaced. */
speakerAlt?: string;
} |
|
className OptionalSummitSchedule2 |
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.
--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.
--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.
-
43adf3b56422e1e1.webp
image/webp · 58.2 KB
-
911dd488c9eddb36.webp
image/webp · 57 KB
-
a6a4e1abc38d5124.webp
image/webp · 68.1 KB
-
b77916eca54aa689.webp
image/webp · 8.32 KB
-
d435db6662febfcf.webp
image/webp · 10 KB
-
e8350c19a848e1e3.webp
image/webp · 52.5 KB
-
f0a5d3e1e61804ba.webp
image/webp · 11.6 KB