Launch Video Series 1
Guides viewers through an ordered video series and reveals the next lesson.
Use it in a prompt
Use content/launch-video-series 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/launch-video-series.tsx. - Import it and pass your copy and images (Props tab):
import { LaunchVideoSeries } from "@/components/funneldna/content/launch-video-series"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/content/launch-video-series/component.tsx 448 lines
// Guides viewers through an ordered video series and reveals the next lesson.
"use client"
import * as React from "react"
import { ArrowDown, ArrowUp, Check, CheckCircle2, Film, Lock, LockOpen, Unlock } from "lucide-react"
export type LaunchVideoSeriesProps = {
videos?: SeriesVideo[]
/** Zero-based index of the video playing on this page. */
current?: number
/** Call-to-action headline. One phrase gets the marker stroke. */
headline?: SeriesHeadline
/** Headline once the current video is finished and the next one is open. */
completeHeadline?: SeriesHeadline
lead?: string
completeLead?: string
/** Short line pointing down at the video below this block. */
cue?: string
completeCue?: string
/** Set true when the page's video ends: the current card turns watched and the next one opens. */
unlocked?: boolean
/** Called when the viewer picks an open video card. */
onAction?: (index: number) => void
/** Legacy alias for onAction. */
onSelect?: (index: number) => void
/** Optional subtle photo behind the headline area (sits under a solid scrim). */
sceneImage?: string
/** Legacy alias for sceneImage. */
backgroundImage?: string
/** Templates use {current}, {next}, {number}, {watched}, {total}, {title}, {status} and {detail}. */
copy?: Partial<LaunchVideoSeriesCopy>
state?: LaunchVideoSeriesState
className?: string
}
export function LaunchVideoSeries({
videos = DEFAULT_VIDEOS,
current = 1,
headline,
completeHeadline,
lead,
completeLead,
cue,
completeCue,
unlocked,
onAction,
onSelect,
copy,
sceneImage,
backgroundImage,
state = "default",
className,
}: LaunchVideoSeriesProps) {
const text = { ...DEFAULT_COPY, ...copy }
const select = onAction !== undefined ? onAction : onSelect
const background = sceneImage !== undefined ? sceneImage : backgroundImage
const n = Math.max(1, videos.length)
const cur = Math.min(Math.max(current, 0), n - 1)
const next = cur + 1 < n ? cur + 1 : null
const curNum = cur + 1
const nextNum = next === null ? null : next + 1
const done = unlocked ?? state === "success"
const watched = Math.min(n, cur + (done ? 1 : 0))
const headingId = React.useId()
const statusOf = (i: number): Status => {
if (i < cur) return "watched"
if (i === cur) return done ? "watched" : "current"
if (i === next) return done ? "ready" : "next"
return "locked"
}
const footOf = (st: Status, i: number): { cls: string; text: string; icon: React.ReactNode } => {
if (st === "watched") return { cls: "f-done", text: text.completeFoot, icon: <CheckCircle2 aria-hidden="true" /> }
if (st === "ready") return { cls: "f-done", text: text.readyFoot, icon: <LockOpen aria-hidden="true" /> }
if (st === "current")
return nextNum !== null
? { cls: "f-cur", text: formatCopy(text.currentFoot, { next: nextNum }), icon: <Unlock aria-hidden="true" /> }
: { cls: "f-cur", text: text.finalFoot, icon: <Check aria-hidden="true" /> }
if (st === "next") return { cls: "f-lock", text: formatCopy(text.lockedFoot, { number: curNum }), icon: <Lock aria-hidden="true" /> }
return { cls: "f-lock", text: formatCopy(text.lockedFoot, { number: i }), icon: <Lock aria-hidden="true" /> }
}
const h: SeriesHeadline = done
? completeHeadline ??
(nextNum !== null
? { lead: text.unlockedHeadingLead, mark: formatCopy(text.unlockedHeadingMark, { next: nextNum }) }
: { lead: text.finishedHeadingLead, mark: text.finishedHeadingMark })
: headline ??
(nextNum !== null
? { lead: formatCopy(text.headingLead, { current: curNum }), mark: formatCopy(text.headingMark, { next: nextNum }) }
: { lead: text.finalHeadingLead, mark: text.finalHeadingMark, after: text.finalHeadingAfter })
const leadText = done
? completeLead ??
(nextNum !== null
? formatCopy(text.unlockedLead, { next: nextNum })
: text.finishedLead)
: lead ?? text.lead
const cueText = done
? completeCue ?? (nextNum !== null ? formatCopy(text.unlockedCue, { next: nextNum }) : text.finishedCue)
: cue ?? formatCopy(text.cue, { current: curNum })
const cueDir = done ? (nextNum !== null ? "is-up" : "is-still") : "is-down"
const cueIcon = done ? (nextNum !== null ? <ArrowUp /> : <Check />) : <ArrowDown />
return (
<section
className={`cf-launch-video-series lvs${className ? ` ${className}` : ""}`}
aria-labelledby={headingId}
style={{ "--lvs-n": n } as React.CSSProperties}
>
<style>{CSS}</style>
{background ? (
<>
<img className="lvs-bg" src={background} alt="" aria-hidden="true" />
<div className="lvs-scrim" aria-hidden="true" />
</>
) : null}
<div className="lvs-top">
<div className="lvs-rail">
<div className="lvs-track" aria-hidden="true">
{videos.map((video, i) => (
<span key={`seg-${i}-${video.title}`} className={`lvs-seg g-${statusOf(i)}`}>
<i />
</span>
))}
</div>
<p className="lvs-sr">
{formatCopy(text.watchedLabel, { watched, total: n })}
</p>
<ol className="lvs-list" aria-label={text.listLabel}>
{videos.map((video, i) => {
const itemImage = video.itemImage !== undefined ? video.itemImage : video.image
const st = statusOf(i)
const num = i + 1
const closed = st === "next" || st === "locked"
const interactive = !closed && st !== "current" && Boolean(video.href || select)
const foot = footOf(st, i)
const aria = formatCopy(text.cardLabel, { number: num, title: video.title, status: text[st], detail: video.detail ? ` ${video.detail}` : "" })
return (
<li
key={`${num}-${video.title}`}
className={`lvs-item s-${st}`}
style={{ "--i": i } as React.CSSProperties}
aria-current={st === "current" ? "step" : undefined}
>
<div className={`lvs-card${interactive ? " is-link" : ""}`}>
<div className="lvs-thumb">
{itemImage ? (
<img
src={itemImage}
alt={closed ? "" : video.imageAlt ?? ""}
width={640}
height={360}
loading="lazy"
decoding="async"
/>
) : (
<span className="lvs-fallback" aria-hidden="true">
<Film />
</span>
)}
{closed || st === "ready" ? (
<span className="lvs-veil" aria-hidden="true">
<span className="lvs-lock">{st === "ready" ? <LockOpen /> : <Lock />}</span>
</span>
) : null}
{st === "watched" ? (
<span className="lvs-done" aria-hidden="true">
<Check />
</span>
) : null}
</div>
<div className="lvs-body">
<span className={`lvs-badge b-${st}`}>
{st === "current" ? (
<span className="lvs-eq" aria-hidden="true">
<i />
<i />
<i />
</span>
) : st === "watched" ? (
<Check aria-hidden="true" />
) : st === "ready" ? (
<LockOpen aria-hidden="true" />
) : (
<Lock aria-hidden="true" />
)}
{text[st]}
</span>
<h3 className="lvs-h3">
<span className="lvs-num">{formatCopy(text.numberLabel, { number: num })}</span> {video.title}
</h3>
<p className={`lvs-foot ${foot.cls}`}>
{foot.icon}
<span>{foot.text}</span>
</p>
</div>
{interactive ? (
video.href ? (
<a className="lvs-hit" href={video.href} aria-label={aria} />
) : (
<button type="button" className="lvs-hit" aria-label={aria} onClick={() => select?.(i)} />
)
) : null}
</div>
</li>
)
})}
</ol>
</div>
</div>
<div className="lvs-main">
<header className="lvs-head">
<h2 id={headingId} className="lvs-title">
{h.lead ? <>{h.lead} </> : null}
{h.mark ? <span className="lvs-mark">{h.mark}</span> : null}
{h.after ? <> {h.after}</> : null}
</h2>
{leadText ? <p className="lvs-lead">{leadText}</p> : null}
{cueText ? (
<p className={`lvs-cue ${cueDir}`} aria-live="polite">
<span className="lvs-cue-icon" aria-hidden="true">
{cueIcon}
</span>
<span>{cueText}</span>
</p>
) : null}
</header>
</div>
</section>
)
}
export default LaunchVideoSeries
export type SeriesVideo = {
title: string
/** Short summary, read to screen readers with the card. */
detail?: string
itemImage?: string
/** Legacy alias for itemImage. */
image?: string
imageAlt?: string
href?: string
}
export type SeriesHeadline = { lead?: string; mark?: string; after?: string }
export type LaunchVideoSeriesState = "default" | "success"
type Status = "watched" | "current" | "ready" | "next" | "locked"
const DEFAULT_VIDEOS: SeriesVideo[] = [
{ title: "The one idea this whole series is built on" },
{ title: "Put the idea to work on your own offer" },
{ title: "Build the path your buyer follows" },
{ title: "Check every step, then take action" },
]
type LaunchVideoSeriesCopy = Record<Status, string> & {
completeFoot: string
readyFoot: string
currentFoot: string
finalFoot: string
lockedFoot: string
unlockedHeadingLead: string
unlockedHeadingMark: string
finishedHeadingLead: string
finishedHeadingMark: string
headingLead: string
headingMark: string
finalHeadingLead: string
finalHeadingMark: string
finalHeadingAfter: string
unlockedLead: string
finishedLead: string
lead: string
unlockedCue: string
finishedCue: string
cue: string
watchedLabel: string
listLabel: string
cardLabel: string
numberLabel: string
}
const DEFAULT_COPY: LaunchVideoSeriesCopy = {
watched: "Watched",
current: "Watching now",
ready: "Unlocked",
next: "Unlocks next",
locked: "Locked",
completeFoot: "Complete",
readyFoot: "Ready to watch next",
currentFoot: "Finish to unlock Video {next}",
finalFoot: "Final video in the series",
lockedFoot: "Unlocks after Video {number}",
unlockedHeadingLead: "Nice work.",
unlockedHeadingMark: "Video {next} is unlocked",
finishedHeadingLead: "You've watched",
finishedHeadingMark: "the whole series",
headingLead: "Watch Video {current} below to",
headingMark: "unlock Video {next}",
finalHeadingLead: "Watch",
finalHeadingMark: "the final video",
finalHeadingAfter: "below",
unlockedLead: "Video {next} is open and ready. Pick it above and keep going.",
finishedLead: "Every video in the series is done. Your next step is on this page.",
lead: "Each video builds on the last. Finish this one and the next video opens on this page.",
unlockedCue: "Pick Video {next} above to keep going",
finishedCue: "Series complete",
cue: "Video {current} plays below",
watchedLabel: "{watched} of {total} videos watched",
listLabel: "Video series",
cardLabel: "Video {number}: {title}. {status}.{detail}",
numberLabel: "Video {number}:",
}
function formatCopy(template: string, values: Record<string, string | number>) {
return template.replace(/\{(\w+)\}/g, (match, key: string) => key in values ? String(values[key]) : match)
}
const CSS = `
.cf-launch-video-series{
--lvs-band:var(--band,#0f2747);
--lvs-band-ink:var(--band-ink,#ffffff);
--lvs-ink:var(--ink,#101828);
--lvs-card:var(--card,#ffffff);
--lvs-accent:var(--accent,#0f5fc2);
--lvs-marker:var(--marker,#fae37c);
--lvs-radius:var(--radius,16px);
--lvs-top:color-mix(in oklch,var(--lvs-band) 86%,var(--card));
--lvs-empty:oklch(from var(--lvs-band-ink) l c h / 0.2);
--lvs-pad:clamp(1rem,4vw,2.5rem);
position:relative;isolation:isolate;overflow:hidden;width:100%;
background:var(--lvs-band);color:var(--lvs-band-ink);
font-family:var(--font-body,Arial,sans-serif);line-height:1.5;
}
.cf-launch-video-series *,.cf-launch-video-series *::before,.cf-launch-video-series *::after{box-sizing:border-box}
.cf-launch-video-series :where(h2,h3,p,ol){margin:0}
.cf-launch-video-series svg{flex:none}
:where(.cf-launch-video-series) .lvs-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
:where(.cf-launch-video-series) .lvs-bg{position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;filter:grayscale(1);opacity:.5}
:where(.cf-launch-video-series) .lvs-scrim{position:absolute;inset:0;z-index:-1;background:var(--lvs-band);opacity:.9}
:where(.cf-launch-video-series) .lvs-top{position:relative;z-index:1;padding:clamp(1.25rem,2.5vw,2rem) var(--lvs-pad) clamp(1.5rem,3vw,2.25rem);background:var(--lvs-top)}
:where(.cf-launch-video-series) .lvs-top::after{content:"";position:absolute;left:0;right:0;top:calc(100% - 1px);height:clamp(1.25rem,3vw,2.5rem);background:var(--lvs-top);clip-path:polygon(0 0,100% 0,100% 0,0 100%);pointer-events:none}
:where(.cf-launch-video-series) .lvs-rail{position:relative;z-index:1;max-width:76rem;margin:0 auto}
:where(.cf-launch-video-series) .lvs-track{display:grid;grid-template-columns:repeat(var(--lvs-n),minmax(0,1fr));gap:.375rem;margin-bottom:1rem}
:where(.cf-launch-video-series) .lvs-seg{display:block;height:6px;overflow:hidden;border-radius:999px;background:var(--lvs-empty)}
:where(.cf-launch-video-series) .lvs-seg i{display:block;width:0;height:100%;border-radius:inherit}
:where(.cf-launch-video-series) .g-watched i{width:100%;background:var(--success)}
:where(.cf-launch-video-series) .g-current i{width:45%;background:var(--lvs-marker)}
:where(.cf-launch-video-series) .lvs-list{list-style:none;padding:0;display:grid;grid-template-columns:repeat(var(--lvs-n),minmax(0,1fr));gap:clamp(.75rem,1.4vw,1.25rem);align-items:stretch}
:where(.cf-launch-video-series) .lvs-item{display:flex;min-width:0}
:where(.cf-launch-video-series) .lvs-card{position:relative;flex:1;display:flex;flex-direction:column;min-width:0;padding:.4rem;border-radius:var(--card-radius,var(--lvs-radius));background:var(--lvs-card);color:var(--lvs-ink);border:1px solid oklch(from var(--ink) l c h / 0.18);box-shadow:var(--card-shadow,inset 0 0 0 3px oklch(from var(--accent-fill,var(--accent)) l c h / 0.05),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)));transition:transform .25s cubic-bezier(.2,.8,.2,1),box-shadow .25s ease;border-color:var(--card-border,oklch(from var(--ink) l c h / 0.18))}
:where(.cf-launch-video-series) .s-current .lvs-card{border-color:var(--card-border,var(--marker,#fae37c));box-shadow:var(--card-shadow,inset 0 0 0 3px oklch(from var(--marker,#fae37c) l c h / 0.22),0 0 0 3px var(--marker,#fae37c),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)))}
:where(.cf-launch-video-series) .lvs-card.is-link:hover{transform:translateY(-4px);box-shadow:var(--card-shadow,inset 0 0 0 3px oklch(from var(--accent-fill,var(--accent)) l c h / 0.05),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)))}
:where(.cf-launch-video-series) .lvs-hit{position:absolute;inset:0;z-index:3;border-radius:inherit;background:transparent;border:0;padding:0;cursor:pointer}
:where(.cf-launch-video-series) .lvs-hit:focus-visible{outline:3px solid var(--lvs-marker);outline-offset:4px;outline-color:var(--button-bg,var(--cta))}
:where(.cf-launch-video-series) .lvs-thumb{position:relative;overflow:hidden;aspect-ratio:16/9;border-radius:calc(var(--lvs-radius) - .3rem);background:var(--lvs-band)}
:where(.cf-launch-video-series) .lvs-thumb img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .5s cubic-bezier(.2,.8,.2,1),filter .8s ease}
:where(.cf-launch-video-series) .lvs-thumb::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,transparent 55%,oklch(from var(--band) l c h / 0.35))}
:where(.cf-launch-video-series) .lvs-card.is-link:hover .lvs-thumb img{transform:scale(1.05)}
:where(.cf-launch-video-series) .lvs-fallback{display:grid;place-items:center;width:100%;height:100%;color:oklch(from var(--lvs-band-ink) l c h / 0.62)}
:where(.cf-launch-video-series) .lvs-fallback svg{width:2rem;height:2rem}
:where(.cf-launch-video-series) .s-next .lvs-thumb img,:where(.cf-launch-video-series) .s-locked .lvs-thumb img{filter:blur(6px) saturate(.45);transform:scale(1.12)}
:where(.cf-launch-video-series) .lvs-veil{position:absolute;inset:0;z-index:1;display:grid;place-items:center;background:oklch(from var(--lvs-band) l c h / 0.55);transition:opacity .6s ease .3s}
:where(.cf-launch-video-series) .s-ready .lvs-veil{opacity:0}
:where(.cf-launch-video-series) .lvs-lock{display:grid;place-items:center;width:2.75rem;height:2.75rem;border-radius:50%;background:var(--card);color:var(--ink);box-shadow:0 2px 3px oklch(from var(--shadow, oklch(0.22 0.03 260)) l c h / .45)}
:where(.cf-launch-video-series) .lvs-lock svg{width:1.15rem;height:1.15rem;stroke-width:2.4}
:where(.cf-launch-video-series) .lvs-done{position:absolute;right:.5rem;bottom:.5rem;z-index:1;display:grid;place-items:center;width:1.75rem;height:1.75rem;border-radius:50%;background:var(--success);color:var(--card);box-shadow:0 2px 3px oklch(from var(--shadow, oklch(0.22 0.03 260)) l c h / .35)}
:where(.cf-launch-video-series) .lvs-done svg{width:.95rem;height:.95rem;stroke-width:3.2}
:where(.cf-launch-video-series) .lvs-body{flex:1;display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding:.875rem .625rem .5rem}
:where(.cf-launch-video-series) .lvs-badge{display:inline-flex;align-items:center;gap:.4rem;max-width:100%;margin-bottom:.625rem;padding:.28rem .7rem;border-radius:999px;font-size:.8125rem;font-weight:800;line-height:1.25;white-space:nowrap}
:where(.cf-launch-video-series) .lvs-badge svg{width:.85rem;height:.85rem;stroke-width:2.8}
:where(.cf-launch-video-series) .b-watched,:where(.cf-launch-video-series) .b-ready{background:var(--success-soft);color:var(--success)}
:where(.cf-launch-video-series) .b-current{background:var(--lvs-marker);color:var(--ink)}
:where(.cf-launch-video-series) .b-next,:where(.cf-launch-video-series) .b-locked{background:oklch(from var(--card) calc(l - 0.03) c h);color:var(--ink)}
:where(.cf-launch-video-series) .lvs-eq{display:inline-flex;align-items:flex-end;gap:2px;height:.75rem}
:where(.cf-launch-video-series) .lvs-eq i{display:block;width:3px;height:100%;border-radius:1px;background:currentColor;transform-origin:bottom}
:where(.cf-launch-video-series) .lvs-eq i:nth-child(1){transform:scaleY(.6)}
:where(.cf-launch-video-series) .lvs-eq i:nth-child(3){transform:scaleY(.45)}
:where(.cf-launch-video-series) .lvs-h3{font-family:var(--font-display,Arial,sans-serif);font-size:clamp(1rem,.9rem + .35vw,1.1875rem);font-weight:var(--display-weight,800);line-height:1.22;letter-spacing:var(--display-tracking,-.015em);color:var(--lvs-ink);text-wrap:balance;text-transform:var(--display-case,none)}
:where(.cf-launch-video-series) .lvs-num{color:var(--ink);white-space:nowrap}
:where(.cf-launch-video-series) .lvs-foot{display:flex;align-items:flex-start;gap:.45rem;margin-top:auto;padding-top:.75rem;font-size:.875rem;font-weight:700;line-height:1.3;text-wrap:pretty}
:where(.cf-launch-video-series) .lvs-foot svg{width:1rem;height:1rem;margin-top:.05rem;stroke-width:2.6}
:where(.cf-launch-video-series) .f-done{color:var(--success)}
:where(.cf-launch-video-series) .f-cur{color:var(--ink)}
:where(.cf-launch-video-series) .f-lock{color:var(--muted)}
:where(.cf-launch-video-series) .lvs-main{position:relative;padding:clamp(3.5rem,6.5vw,5rem) var(--lvs-pad) clamp(3rem,6vw,4.5rem)}
:where(.cf-launch-video-series) .lvs-head{display:flex;flex-direction:column;align-items:center;max-width:58rem;margin:0 auto;text-align:center}
:where(.cf-launch-video-series) .lvs-title{margin:0 auto;font-family:var(--font-display,Arial,sans-serif);font-weight:var(--display-weight,900);font-size:clamp(2.25rem,1rem + 4.4vw,4.75rem);line-height:1.02;letter-spacing:var(--display-tracking,-.035em);color:var(--lvs-band-ink);text-wrap:balance;text-transform:var(--display-case,none)}
:where(.cf-launch-video-series) .lvs-mark{display:inline-block;white-space:nowrap;color:var(--ink);padding:.04em .16em .02em;margin:.04em -.04em;background:linear-gradient(176deg,transparent 0 6%,var(--lvs-marker) 6% 94%,transparent 94%);border-radius:.18em .5em .22em .6em/.6em .22em .5em .2em}
:where(.cf-launch-video-series) .lvs-lead{max-width:46ch;margin:clamp(1.125rem,2vw,1.5rem) auto 0;font-size:clamp(1.0625rem,1rem + .35vw,1.25rem);font-weight:500;line-height:1.55;color:var(--band-ink);text-wrap:pretty}
:where(.cf-launch-video-series) .lvs-cue{display:inline-flex;align-items:center;gap:.625rem;max-width:100%;margin-top:1.75rem;padding:.4375rem 1.125rem .4375rem .4375rem;border-radius:999px;background:var(--band);border:1px solid oklch(from var(--lvs-band) l c h / 0.6);font-size:1rem;font-weight:700;line-height:1.3;color:var(--lvs-band-ink);text-align:left;text-wrap:pretty;box-shadow:inset 0 1px 0 oklch(from var(--card) calc(l + 0.04) c h / .12),0 2px 3px oklch(from var(--shadow, oklch(0.22 0.03 260)) l c h / .7)}
:where(.cf-launch-video-series) .lvs-cue-icon{display:grid;place-items:center;flex:none;width:2.125rem;height:2.125rem;border-radius:50%;background:var(--lvs-marker);color:var(--ink);box-shadow:inset 0 -2px 0 oklch(from var(--shadow, oklch(0.22 0.03 260)) l c h / .12)}
:where(.cf-launch-video-series) .lvs-cue.is-still,:where(.cf-launch-video-series) .lvs-cue.is-still .lvs-cue-icon{background:var(--success-soft);color:var(--success)}
:where(.cf-launch-video-series) .f-cur .lucide-check{color:var(--success)}
:where(.cf-launch-video-series) .lvs-cue-icon svg{width:1.1rem;height:1.1rem;stroke-width:2.8}
@media (min-width:48rem){
:where(.cf-launch-video-series) .s-current .lvs-card{transform:translateY(-.375rem)}
:where(.cf-launch-video-series) .s-current .lvs-card.is-link:hover{transform:translateY(-.625rem)}
}
@media (max-width:47.99rem){
:where(.cf-launch-video-series) .lvs-list{grid-template-columns:repeat(2,minmax(0,1fr))}
:where(.cf-launch-video-series) .lvs-body{padding:.75rem .5rem .375rem}
:where(.cf-launch-video-series) .lvs-badge{padding:.25rem .6rem;margin-bottom:.5rem}
:where(.cf-launch-video-series) .lvs-lock{width:2.25rem;height:2.25rem}
:where(.cf-launch-video-series) .lvs-lock svg{width:1rem;height:1rem}
:where(.cf-launch-video-series) .lvs-cue{font-size:.9375rem;background:var(--band)}
}
@media (max-width:22rem){
:where(.cf-launch-video-series) .lvs-badge{white-space:normal}
}
@media (prefers-reduced-motion:no-preference){
:where(.cf-launch-video-series) .lvs-item{animation:lvs-in .45s cubic-bezier(.2,.8,.2,1) both;animation-delay:calc(var(--i) * 70ms)}
:where(.cf-launch-video-series) .g-current i{animation:lvs-fill 1.1s cubic-bezier(.2,.8,.2,1) .35s both}
:where(.cf-launch-video-series) .lvs-eq i{animation:lvs-eq .9s ease-in-out 6 alternate}
:where(.cf-launch-video-series) .lvs-eq i:nth-child(2){animation-duration:.7s}
:where(.cf-launch-video-series) .lvs-eq i:nth-child(3){animation-duration:1.1s}
:where(.cf-launch-video-series) .lvs-cue.is-down .lvs-cue-icon svg{animation:lvs-nudge 1.8s ease-in-out infinite}
:where(.cf-launch-video-series) .lvs-cue.is-up .lvs-cue-icon svg{animation:lvs-nudge-up 1.8s ease-in-out infinite}
}
@media (prefers-reduced-motion:reduce){
:where(.cf-launch-video-series) .lvs-card,:where(.cf-launch-video-series) .lvs-thumb img,:where(.cf-launch-video-series) .lvs-veil{transition:none}
:where(.cf-launch-video-series) .lvs-card.is-link:hover,:where(.cf-launch-video-series) .s-current .lvs-card.is-link:hover{transform:none}
:where(.cf-launch-video-series) .lvs-card.is-link:hover .lvs-thumb img{transform:none}
}
@keyframes lvs-in{from{opacity:.82;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes lvs-fill{from{width:0}}
@keyframes lvs-eq{from{transform:scaleY(.3)}to{transform:scaleY(1)}}
@keyframes lvs-nudge{0%,100%{transform:translateY(-2px)}50%{transform:translateY(3px)}}
@keyframes lvs-nudge-up{0%,100%{transform:translateY(2px)}50%{transform:translateY(-3px)}}
`
pieces/content/launch-video-series/specimen.tsx 53 lines
import __studioImage8a556880 from "../assets/40c1458409424dcb.webp";
import __studioImage4ce4297e from "../assets/b8283329c86ec840.webp";
import __studioImagede5563e8 from "../assets/b945f05952213179.webp";
import { slot } from "../../slots"
import LaunchVideoSeries from "../launch-video-series"
import defaults from "../../studio-defaults.json"
export const states = ["default", "success"]
const sample = defaults.sample
const workshop = sample.registration
const checklist = sample.items[2]
const videos = [
{
title: "Find the offer your funnel is built on",
detail: sample.items[0].detail,
image: __studioImage8a556880,
imageAlt: "Hands arranging sticky notes into a simple four-step funnel plan on a desk",
},
{
title: "Write page copy that gets the click",
detail: sample.items[1].detail,
image: __studioImage4ce4297e,
imageAlt: "A woman drafting her page copy in a notebook at a bright desk",
},
{
title: "Build your pages in the right order",
detail: "Turn your plan into pages, one step at a time.",
image: __studioImagede5563e8,
imageAlt: "A laptop showing a simple page layout being built",
},
{
title: "Check every step before you launch",
detail: "Test the links, forms, and next steps so nothing breaks.",
image: checklist.image,
imageAlt: checklist.imageAlt,
},
]
export default function LaunchVideoSeriesSpecimen({ state = "default" }: { state?: string }) {
return (
<div>
<LaunchVideoSeries
videos={videos.map((video, i) => ({ ...video, itemImage: slot(`item-${i + 1}`, video.image) }))}
current={1}
headline={{ lead: "Watch Video 2 below to", mark: "unlock Video 3" }}
lead={`Four short videos from the ${workshop.name}. Each one builds on the last, so finish this one and Video 3 opens on this page.`}
state={state === "success" ? "success" : "default"}
/>
</div>
)
}
| Name | Type | Details |
|---|---|---|
videos OptionalLaunchVideoSeries |
SeriesVideo[] |
Default DEFAULT_VIDEOS
|
current OptionalLaunchVideoSeries |
number |
Default 1
|
headline OptionalLaunchVideoSeries |
SeriesHeadline |
|
completeHeadline OptionalLaunchVideoSeries |
SeriesHeadline |
|
lead OptionalLaunchVideoSeries |
string |
|
completeLead OptionalLaunchVideoSeries |
string |
|
cue OptionalLaunchVideoSeries |
string |
|
completeCue OptionalLaunchVideoSeries |
string |
|
unlocked OptionalLaunchVideoSeries |
boolean |
|
onAction OptionalLaunchVideoSeries |
(index: number) => void |
|
onSelect OptionalLaunchVideoSeries |
(index: number) => void |
|
sceneImage OptionalLaunchVideoSeries |
string |
|
backgroundImage OptionalLaunchVideoSeries |
string |
|
copy OptionalLaunchVideoSeries |
Partial<LaunchVideoSeriesCopy> |
|
state OptionalLaunchVideoSeries |
LaunchVideoSeriesState |
Default "default"
|
className OptionalLaunchVideoSeries |
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- 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.
--marker- The highlighter colour behind key phrases.
Image slots
Filled from the brand’s images; the specimen ships its own defaults.
item-*- One image per offer item (item-1, item-2…), shown in stacks and lists.
-
40c1458409424dcb.webp
image/webp · 97.7 KB
-
b77916eca54aa689.webp
image/webp · 8.32 KB
-
b8283329c86ec840.webp
image/webp · 79.2 KB
-
b945f05952213179.webp
image/webp · 62.5 KB
-
d435db6662febfcf.webp
image/webp · 10 KB
-
f0a5d3e1e61804ba.webp
image/webp · 11.6 KB