Launch Video Series 9
Launch video series set like a scoreboard: watched, watching-now and locked videos as big-numeral tiles, with the next video as the final action tile that moves the viewer on.
Use it in a prompt
Use content/launch-video-series-9 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-9.tsx. - Import it and pass your copy and images (Props tab):
import { LaunchVideoSeries9 } from "@/components/funneldna/content/launch-video-series-9"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/content/launch-video-series-9/component.tsx 548 lines
// layout: fact-scoreboard
// Launch video series set like a scoreboard: watched, watching-now and locked videos as big-numeral tiles, with the next video as the final action tile that moves the viewer on.
'use client'
import * as React from 'react'
import { AlertCircle, CheckCircle2, Loader2, Lock, LockOpen } from 'lucide-react'
export type SeriesVideo9 = {
title: string
/** One line on what the video covers; shown in the action tile when it is up next. */
detail?: string
/** Thumbnail src (slot it in the specimen or page, e.g. item-1). */
image?: string
imageAlt?: string
/** Page for this video; watched and opened videos link to it. */
href?: string
}
export type SeriesHeadline9 = {
lead?: React.ReactNode
/** Phrase set in the accent colour. */
mark?: React.ReactNode
after?: React.ReactNode
}
export type LaunchVideoSeries9State = 'default' | 'hover' | 'active' | 'disabled' | 'error'
export type LaunchVideoSeries9Copy = typeof DEFAULT_COPY
export type LaunchVideoSeries9Props = {
/** Videos in watch order; an empty list falls back to the default series. */
videos?: SeriesVideo9[]
/** Zero-based index of the video playing on this page. */
current?: number
/** Headline in three parts: lead, accent-coloured mark, after. */
headline?: SeriesHeadline9
/** Supporting line under the headline. */
lead?: string
/** Set true when the page's video ends: the current video turns watched and the next one opens. */
unlocked?: boolean
/** Keep the next-step button locked until unlocked is true. */
requireFinish?: boolean
/** Where the next-step button goes; it renders as a link when set. */
href?: string
/** Optional link for the quiet line under the button. */
secondaryHref?: string
/** Runs when the viewer presses the next-step button. A promise shows the loading label; false or a rejection shows the error note. */
onAction?: (nextIndex: number) => void | boolean | Promise<void | boolean>
/** Runs when the viewer picks a watched or opened video. */
onSelect?: (index: number) => void
/** Templates use {number}, {current}, {next}, {total}, {done}, {left} and {after}. */
copy?: Partial<LaunchVideoSeries9Copy>
/** Preview state for the next-step button and its error note. */
state?: LaunchVideoSeries9State
/** Placement class on the root section. */
className?: string
}
type Status = 'watched' | 'current' | 'open' | 'next' | 'locked'
type Phase = 'idle' | 'loading' | 'error'
export function LaunchVideoSeries9({
videos = DEFAULT_VIDEOS,
current = 1,
headline = DEFAULT_HEADLINE,
lead = DEFAULT_LEAD,
unlocked = false,
requireFinish = false,
href,
secondaryHref,
onAction,
onSelect,
copy,
state = 'default',
className,
}: LaunchVideoSeries9Props) {
const t = { ...DEFAULT_COPY, ...copy }
const headingId = React.useId()
const actionId = React.useId()
const errorId = React.useId()
const list = videos.length ? videos : DEFAULT_VIDEOS
const n = list.length
const cur = Math.min(Math.max(0, Math.round(current) || 0), n - 1)
const nextIndex = cur + 1 < n ? cur + 1 : -1
const hasNext = nextIndex >= 0
const done = hasNext && unlocked
const [phase, setPhase] = React.useState<Phase>(state === 'error' ? 'error' : 'idle')
const mounted = React.useRef(true)
React.useEffect(() => {
setPhase(state === 'error' ? 'error' : 'idle')
}, [state])
React.useEffect(() => {
mounted.current = true
return () => {
mounted.current = false
}
}, [])
const disabled = hasNext && !done && (state === 'disabled' || (requireFinish && !unlocked))
const loading = phase === 'loading'
const watchedCount = done ? cur + 1 : cur
const vars = { current: cur + 1, next: nextIndex + 1, total: n, done: watchedCount, left: n - watchedCount }
const f = (s: string) => fill(s, vars)
const statusOf = (i: number): Status => {
if (i < cur) return 'watched'
if (i === cur) return done ? 'watched' : 'current'
if (i === nextIndex) return done ? 'open' : 'next'
return 'locked'
}
const statusText = (status: Status, i: number) => {
if (status === 'watched') return t.watched
if (status === 'current') return t.current
if (status === 'open') return t.open
if (status === 'next') return t.nextLocked
return fill(t.locked, { after: i })
}
const settle = (ok: boolean) => {
if (mounted.current) setPhase(ok ? 'idle' : 'error')
}
const handleClick = (event: React.MouseEvent<HTMLElement>) => {
if (!hasNext || disabled || loading) {
event.preventDefault()
return
}
if (done) {
onSelect?.(nextIndex)
return
}
if (!onAction) {
settle(true)
return
}
let result: void | boolean | Promise<void | boolean>
try {
result = onAction(nextIndex)
} catch {
event.preventDefault()
settle(false)
return
}
if (result === false) {
event.preventDefault()
settle(false)
return
}
if (result instanceof Promise) {
setPhase('loading')
result.then((value) => settle(value !== false), () => settle(false))
return
}
settle(true)
}
const nextVideo = hasNext ? list[nextIndex] : null
const destination = done ? nextVideo?.href ?? href : href
const label = loading
? f(t.loadingLabel)
: done
? f(t.openLabel)
: disabled
? f(t.lockedLabel)
: f(t.continueLabel)
const quietText = done ? f(t.quietOpen) : disabled ? f(t.quietLocked) : f(t.quiet)
const showError = phase === 'error' && hasNext && !done
const btnClass = 'lvs9-btn' + (state === 'hover' ? ' is-hover' : '') + (state === 'active' ? ' is-active' : '')
const btnInner = (
<>
{loading ? <Loader2 className='lvs9-spin' aria-hidden='true' /> : disabled ? <Lock aria-hidden='true' /> : null}
<span>{label}</span>
</>
)
return (
<section
className={`cf-launch-video-series-9 lvs9${className ? ' ' + className : ''}`}
aria-labelledby={headingId}
data-state={state}
>
<style>{CSS}</style>
<div className='lvs9-wrap'>
<header className='lvs9-head'>
<h2 id={headingId} className='lvs9-h'>
{headline.lead}
{headline.mark ? <em className='lvs9-em'>{headline.mark}</em> : null}
{headline.after}
</h2>
{lead ? <p className='lvs9-lead'>{lead}</p> : null}
</header>
<ol
className='lvs9-list'
aria-label={t.listLabel}
style={{ '--lvs9-cols': Math.min(n, 4) } as React.CSSProperties}
>
{list.map((video, i) => {
const status = statusOf(i)
const linked = (status === 'watched' || status === 'open') && Boolean(video.href || onSelect)
const name = (
<>
<span className='lvs9-sr'>{fill(t.videoLabel, { number: i + 1 })}: </span>
{video.title}
</>
)
return (
<li
key={`${i}-${video.title}`}
className='lvs9-item lvs9-reveal'
style={{ '--i': i } as React.CSSProperties}
aria-current={status === 'current' ? 'step' : undefined}
>
<article className={`lvs9-tile s-${status}${linked ? ' is-linked' : ''}`}>
{video.image ? (
<div className='lvs9-thumb'>
<img
src={video.image}
alt={video.imageAlt ?? ''}
width={640}
height={440}
loading='lazy'
decoding='async'
/>
</div>
) : null}
<div className='lvs9-body'>
<span className='lvs9-num' aria-hidden='true'>{pad(i + 1)}</span>
<h3 className='lvs9-title'>
{linked ? (
video.href ? (
<a className='lvs9-stretch' href={video.href} onClick={() => onSelect?.(i)}>
{name}
</a>
) : (
<button type='button' className='lvs9-stretch' onClick={() => onSelect?.(i)}>
{name}
</button>
)
) : (
name
)}
</h3>
<div className='lvs9-foot'>
<StatusLine status={status} text={statusText(status, i)} />
</div>
</div>
</article>
</li>
)
})}
</ol>
<div className='lvs9-board'>
<div className='lvs9-score lvs9-reveal' style={{ '--i': Math.min(n, 4) } as React.CSSProperties}>
<p className='lvs9-sr'>
{f(t.scoreLabel)}. {f(t.scoreNote)}
</p>
<p className='lvs9-figure' aria-hidden='true'>
<span className='lvs9-big'>{pad(cur + 1)}</span>
<span className='lvs9-of'>/{pad(n)}</span>
</p>
<div className='lvs9-scorebar' aria-hidden='true'>
<div className='lvs9-segs'>
{list.map((video, i) => (
<i key={`${i}-${video.title}`} className={`g-${statusOf(i)}`} />
))}
</div>
<p className='lvs9-scorenote'>{f(t.scoreNote)}</p>
</div>
</div>
<div
className={`lvs9-act lvs9-reveal${hasNext ? '' : ' is-final'}`}
role='group'
aria-labelledby={actionId}
style={{ '--i': Math.min(n, 4) + 1 } as React.CSSProperties}
>
<span className='lvs9-act-num' aria-hidden='true'>
{pad(hasNext ? nextIndex + 1 : cur + 1)}
</span>
<div className='lvs9-act-copy'>
<h3 id={actionId} className='lvs9-act-title'>
{nextVideo ? (
<>
<span className='lvs9-sr'>{f(t.upNext)} </span>
{nextVideo.title}
</>
) : (
t.finalTitle
)}
</h3>
{nextVideo ? (
nextVideo.detail ? <p className='lvs9-act-detail'>{nextVideo.detail}</p> : null
) : (
<p className='lvs9-act-detail'>{f(t.finalNote)}</p>
)}
</div>
{hasNext ? (
<div className='lvs9-act-cta'>
{destination && !disabled && !loading ? (
<a
className={btnClass}
href={destination}
onClick={handleClick}
aria-describedby={showError ? errorId : undefined}
>
{btnInner}
</a>
) : (
<button
type='button'
className={btnClass}
disabled={disabled}
aria-busy={loading || undefined}
aria-describedby={showError ? errorId : undefined}
onClick={handleClick}
>
{btnInner}
</button>
)}
<p className='lvs9-quiet'>
{secondaryHref && !disabled ? (
<a className='lvs9-quiet-link' href={secondaryHref}>
{quietText}
</a>
) : (
quietText
)}
</p>
{showError ? (
<p id={errorId} className='lvs9-err' role='alert'>
<AlertCircle aria-hidden='true' />
<span>{f(t.errorNote)}</span>
</p>
) : null}
</div>
) : null}
</div>
</div>
</div>
</section>
)
}
export default LaunchVideoSeries9
function StatusLine({ status, text }: { status: Status; text: string }) {
return (
<p className={`lvs9-status st-${status}`}>
{status === 'watched' ? (
<CheckCircle2 aria-hidden='true' />
) : status === 'open' ? (
<LockOpen aria-hidden='true' />
) : status === 'current' ? (
<span className='lvs9-dot' aria-hidden='true' />
) : (
<Lock aria-hidden='true' />
)}
<span>{text}</span>
</p>
)
}
/** Replaces named {placeholders} with values; unknown placeholders stay as written. */
function fill(template: string, values: Record<string, string | number>) {
return template.replace(/{([a-zA-Z]+)}/g, (match, key: string) => (key in values ? String(values[key]) : match))
}
function pad(value: number) {
return String(value).padStart(2, '0')
}
const DEFAULT_COPY = {
videoLabel: 'Video {number}',
listLabel: 'Video series',
watched: 'Watched',
current: 'Watching now',
open: 'Ready to watch',
nextLocked: 'Locked · Unlocks next',
locked: 'Locked · Unlocks after Video {after}',
scoreLabel: 'Video {current} of {total}',
scoreNote: '{done} watched · {left} to go',
upNext: 'Up next: Video {next}.',
continueLabel: 'Continue to Video {next}',
openLabel: 'Watch Video {next} now',
lockedLabel: 'Finish Video {current} to unlock',
loadingLabel: 'Opening Video {next}…',
quiet: 'or keep watching Video {current} above',
quietOpen: 'or rewatch Video {current} first',
quietLocked: 'Video {next} opens as soon as Video {current} ends',
errorNote: 'We couldn’t open Video {next}. Please try again.',
finalTitle: 'You’re on the final video',
finalNote: 'Finish Video {current} to complete the series.',
}
const DEFAULT_HEADLINE: SeriesHeadline9 = { lead: 'Build your first funnel ', mark: 'with a clear plan' }
const DEFAULT_LEAD = 'Plan your funnel, write your page copy, and check every step before you launch.'
const DEFAULT_VIDEOS: SeriesVideo9[] = [
{ title: 'Plan your funnel', detail: 'Map your offer and the pages your funnel needs.' },
{ title: 'Write your page copy', detail: 'Draft your headline, offer, and call to action.' },
{ title: 'Check every step', detail: 'Review the links, forms, and next steps before launch.' },
{ title: 'Prepare to launch', detail: 'Put your plan, page copy, and checks together before you go live.' },
]
// Every descendant rule is prefixed with the root scope, so relative specificity (and the cascade) is unchanged.
const CSS = `
.cf-launch-video-series-9{
--lvs9-ink:var(--ink,#101828);
--lvs9-muted:var(--muted,#4a5565);
--lvs9-card:var(--card,#ffffff);
--lvs9-accent:var(--accent,#1d5fd1);
--lvs9-band:var(--band,#16233f);
--lvs9-band-ink:var(--band-ink,#ffffff);
--lvs9-glyph:var(--status-glyph,#ffffff);
--lvs9-r:var(--card-radius,var(--radius,14px));
--lvs9-line:var(--card-border,color-mix(in oklch,var(--lvs9-ink) 12%,transparent));
--lvs9-well:color-mix(in oklch,var(--lvs9-ink) 5%,var(--lvs9-card));
--lvs9-sh-sm:var(--shadow-sm,0 1px 1px oklch(0.22 0.03 260 / 0.18),0 1px 3px oklch(0.22 0.03 260 / 0.14));
--lvs9-sh-md: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));
--lvs9-sh-lg:var(--shadow-lg,0 2px 4px oklch(0.22 0.03 260 / 0.22),0 12px 24px -8px oklch(0.22 0.03 260 / 0.32));
--lvs9-gap:clamp(.75rem,1.4vw,1.125rem);
position:relative;isolation:isolate;width:100%;
padding:clamp(3rem,6vw,5.5rem) clamp(1rem,4vw,2.5rem);
background:var(--surface,#ffffff);color:var(--lvs9-ink);
font-family:var(--font-body,system-ui,sans-serif);line-height:1.5;
}
.cf-launch-video-series-9 *,.cf-launch-video-series-9 *::before,.cf-launch-video-series-9 *::after{box-sizing:border-box}
.cf-launch-video-series-9 :where(h2,h3,p,ol){margin:0}
.cf-launch-video-series-9 svg{flex:none}
.cf-launch-video-series-9 .lvs9-wrap{max-width:76rem;margin:0 auto}
.cf-launch-video-series-9 .lvs9-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.cf-launch-video-series-9 .lvs9-h{font-family:var(--font-display,system-ui,sans-serif);font-weight:var(--display-weight,800);text-transform:var(--display-case,none);letter-spacing:var(--display-tracking,-.035em);font-size:clamp(2.25rem,5.4vw,4.75rem);line-height:1.02;text-wrap:balance;color:var(--lvs9-ink)}
.cf-launch-video-series-9 .lvs9-em{font-style:normal;color:var(--lvs9-accent)}
.cf-launch-video-series-9 .lvs9-lead{margin-top:clamp(.95rem,1.6vw,1.4rem);max-width:60ch;color:var(--lvs9-muted);font-size:clamp(1.0625rem,1.5vw,1.3rem);font-weight:500;line-height:1.5;text-wrap:pretty}
.cf-launch-video-series-9 .lvs9-list{list-style:none;padding:0;margin:clamp(2rem,4vw,3.25rem) 0 0;display:grid;grid-template-columns:repeat(var(--lvs9-cols,4),minmax(0,1fr));gap:var(--lvs9-gap);align-items:stretch}
.cf-launch-video-series-9 .lvs9-item{display:flex;min-width:0}
.cf-launch-video-series-9 .lvs9-tile{position:relative;flex:1;min-width:0;display:flex;flex-direction:column;padding:.5rem;border:1px solid var(--lvs9-line);border-radius:var(--lvs9-r);background:var(--lvs9-card);box-shadow:var(--card-shadow,var(--lvs9-sh-sm));transition:translate .22s cubic-bezier(.16,1,.3,1),box-shadow .22s ease,border-color .22s ease}
.cf-launch-video-series-9 .lvs9-thumb{position:relative;overflow:hidden;aspect-ratio:16/11;border-radius:calc(var(--lvs9-r) - .25rem);background:var(--lvs9-well)}
.cf-launch-video-series-9 .lvs9-thumb img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .5s cubic-bezier(.16,1,.3,1),filter .3s ease}
.cf-launch-video-series-9 .s-next .lvs9-thumb img,.cf-launch-video-series-9 .s-locked .lvs9-thumb img{filter:grayscale(1) contrast(.9);opacity:.5}
.cf-launch-video-series-9 .lvs9-body{display:flex;flex:1;flex-direction:column;min-width:0;padding:1rem .7rem .55rem}
.cf-launch-video-series-9 .lvs9-num{display:block;font-family:var(--font-display,system-ui,sans-serif);font-weight:var(--display-weight,800);font-size:clamp(2rem,2.8vw,2.6rem);line-height:1;letter-spacing:-.04em;font-variant-numeric:tabular-nums;color:var(--lvs9-ink)}
.cf-launch-video-series-9 .s-next .lvs9-num,.cf-launch-video-series-9 .s-locked .lvs9-num{color:var(--lvs9-muted)}
.cf-launch-video-series-9 .s-current .lvs9-num{color:var(--lvs9-accent)}
.cf-launch-video-series-9 .lvs9-title{margin-top:.75rem;font-family:var(--font-display,system-ui,sans-serif);font-weight:var(--display-weight,800);text-transform:var(--display-case,none);font-size:clamp(1.2rem,1.6vw,1.45rem);line-height:1.15;letter-spacing:-.02em;text-wrap:balance;color:var(--lvs9-ink)}
.cf-launch-video-series-9 .lvs9-foot{margin-top:auto;padding-top:1rem}
.cf-launch-video-series-9 .lvs9-status{display:inline-flex;align-items:center;gap:.5rem;font-size:.9375rem;font-weight:700;line-height:1.3;text-wrap:pretty}
.cf-launch-video-series-9 .lvs9-status svg{width:1.15rem;height:1.15rem}
.cf-launch-video-series-9 .st-watched,.cf-launch-video-series-9 .st-open{color:var(--success,#1f7a3d)}
/* Solid status badge (theme contract): circle filled with --success, tick glyph in the white status glyph colour. */
.cf-launch-video-series-9 .st-watched svg > :first-child{fill:var(--success,#1f7a3d);stroke:var(--success,#1f7a3d)}
.cf-launch-video-series-9 .st-watched svg > :last-child{stroke:var(--lvs9-glyph);stroke-width:3}
.cf-launch-video-series-9 .st-next,.cf-launch-video-series-9 .st-locked{color:var(--lvs9-muted);font-weight:600}
.cf-launch-video-series-9 .st-current{padding:.4rem .85rem;border-radius:999px;background:color-mix(in oklch,var(--accent-fill,var(--lvs9-accent)) 10%,var(--lvs9-card));color:color-mix(in oklch,var(--lvs9-accent) 72%,var(--lvs9-ink))}
.cf-launch-video-series-9 .lvs9-dot{display:block;width:.55rem;height:.55rem;border-radius:50%;background:currentColor;flex:none}
.cf-launch-video-series-9 .s-current{border:2px solid var(--accent-fill, var(--lvs9-accent));padding:calc(.5rem - 1px);background:color-mix(in oklch,var(--accent-fill,var(--lvs9-accent)) 6%,var(--lvs9-card));box-shadow:var(--lvs9-sh-lg);translate:0 -6px}
.cf-launch-video-series-9 .lvs9-stretch{appearance:none;margin:0;padding:0;border:0;border-radius:var(--button-radius,var(--radius,12px));background:none;font:inherit;color:inherit;text-align:inherit;letter-spacing:inherit;text-transform:inherit;text-decoration:none;cursor:pointer}
.cf-launch-video-series-9 .lvs9-stretch::after{content:'';position:absolute;inset:0;z-index:1;border-radius:var(--lvs9-r)}
.cf-launch-video-series-9 .lvs9-stretch:focus{outline:none}
.cf-launch-video-series-9 .lvs9-stretch:focus-visible::after{outline:3px solid var(--field-focus,var(--lvs9-accent));outline-offset:3px}
.cf-launch-video-series-9 .is-linked:hover{translate:0 -3px;box-shadow:var(--lvs9-sh-md);border-color:color-mix(in oklch,var(--lvs9-ink) 22%,transparent)}
.cf-launch-video-series-9 .is-linked:hover .lvs9-title{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:.18em}
.cf-launch-video-series-9 .is-linked:active{translate:0 0}
.cf-launch-video-series-9 .lvs9-board{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:var(--lvs9-gap);margin-top:var(--lvs9-gap)}
.cf-launch-video-series-9 .lvs9-score{position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:1.25rem;padding:clamp(1.25rem,2vw,1.6rem);border:1px solid var(--lvs9-line);border-radius:var(--lvs9-r);background:var(--lvs9-card);box-shadow:var(--card-shadow,var(--lvs9-sh-sm))}
.cf-launch-video-series-9 .lvs9-figure{display:flex;align-items:baseline;gap:.15rem;font-family:var(--font-display,system-ui,sans-serif);font-weight:var(--display-weight,800);line-height:.9;letter-spacing:-.05em;font-variant-numeric:tabular-nums}
.cf-launch-video-series-9 .lvs9-big{font-size:clamp(3.5rem,6vw,5.25rem);color:var(--lvs9-ink)}
.cf-launch-video-series-9 .lvs9-of{font-size:clamp(1.5rem,2.4vw,2.1rem);color:var(--lvs9-muted)}
.cf-launch-video-series-9 .lvs9-segs{display:flex;gap:.3rem}
.cf-launch-video-series-9 .lvs9-segs i{flex:1;height:.55rem;border-radius:999px;background:color-mix(in oklch,var(--lvs9-ink) 12%,var(--lvs9-card))}
.cf-launch-video-series-9 .lvs9-segs .g-watched{background:var(--success,#1f7a3d)}
.cf-launch-video-series-9 .lvs9-segs .g-open{background:var(--success-soft,#e3f1e7);box-shadow:inset 0 0 0 1.5px var(--success,#1f7a3d)}
.cf-launch-video-series-9 .lvs9-segs .g-current{background:var(--accent-fill,var(--lvs9-accent))}
.cf-launch-video-series-9 .lvs9-scorenote{margin-top:.75rem;color:var(--lvs9-muted);font-size:.9375rem;font-weight:600;line-height:1.35;text-wrap:pretty}
.cf-launch-video-series-9 .lvs9-act{grid-column:span 3;position:relative;overflow:hidden;display:grid;grid-template-columns:auto minmax(0,1fr) minmax(15.5rem,19rem);align-items:center;gap:1.25rem clamp(1.25rem,2.6vw,2.25rem);padding:clamp(1.4rem,2.6vw,2.25rem);border-radius:var(--lvs9-r);background:var(--lvs9-band);color:var(--lvs9-band-ink);box-shadow:inset 0 1px 0 oklch(from var(--lvs9-band) calc(l + 0.08) c h),var(--lvs9-sh-md)}
.cf-launch-video-series-9 .lvs9-act.is-final{grid-template-columns:auto minmax(0,1fr)}
.cf-launch-video-series-9 .lvs9-act-num{font-family:var(--font-display,system-ui,sans-serif);font-weight:var(--display-weight,800);font-size:clamp(4rem,7vw,6.5rem);line-height:.82;letter-spacing:-.06em;font-variant-numeric:tabular-nums;color:var(--lvs9-band-ink)}
.cf-launch-video-series-9 .lvs9-act-copy{min-width:0}
.cf-launch-video-series-9 .lvs9-act-title{font-family:var(--font-display,system-ui,sans-serif);font-weight:var(--display-weight,800);text-transform:var(--display-case,none);font-size:clamp(1.5rem,2.4vw,2.125rem);line-height:1.08;letter-spacing:-.025em;text-wrap:balance;color:var(--lvs9-band-ink)}
.cf-launch-video-series-9 .lvs9-act-detail{margin-top:.65rem;max-width:44ch;font-size:1.0625rem;line-height:1.5;color:color-mix(in oklch,var(--lvs9-band-ink) 84%,var(--lvs9-band));text-wrap:pretty}
.cf-launch-video-series-9 .lvs9-act-cta{display:flex;flex-direction:column;align-items:stretch;min-width:0}
.cf-launch-video-series-9 .lvs9-btn{--lvs9-b:var(--button-bg,var(--cta,#d92d20));--lvs9-b2:var(--button-bg-2,var(--cta-2,#b42318));position:relative;display:inline-flex;align-items:center;justify-content:center;gap:.6rem;width:100%;min-height:3.75rem;padding:.95rem 1.4rem;border:0;border-radius:var(--button-radius,var(--radius,12px));background:linear-gradient(oklch(from var(--lvs9-b) calc(l + 0.04) c h),var(--lvs9-b2));color:var(--button-ink,var(--cta-ink,#ffffff));font-family:var(--button-font,var(--font-display,system-ui,sans-serif));font-weight:var(--button-weight,800);text-transform:var(--button-case,none);font-size:clamp(1.125rem,1.5vw,1.3rem);line-height:1.15;letter-spacing:-.01em;text-align:center;text-decoration:none;white-space:nowrap;text-shadow:var(--button-text-shadow,none);cursor:pointer;box-shadow:var(--button-shadow,inset 0 1px 0 oklch(from var(--lvs9-b) calc(l + 0.14) c h / .6),inset 0 -3px 0 oklch(from var(--lvs9-b) calc(l - 0.16) c h),0 1px 2px oklch(from var(--shadow,oklch(0.22 0.03 260)) calc(l - 0.08) c h / .55),0 6px 14px -4px oklch(from var(--shadow,oklch(0.22 0.03 260)) calc(l - 0.08) c h / .6));transition:translate .14s ease,background .18s ease,box-shadow .18s ease}
.cf-launch-video-series-9 .lvs9-btn svg{width:1.2em;height:1.2em}
.cf-launch-video-series-9 .lvs9-btn:hover,.cf-launch-video-series-9 .lvs9-btn.is-hover{translate:0 -1px;background:linear-gradient(oklch(from var(--lvs9-b) calc(l - 0.02) c h),oklch(from var(--lvs9-b2) calc(l - 0.06) c h))}
.cf-launch-video-series-9 .lvs9-btn:active,.cf-launch-video-series-9 .lvs9-btn.is-active{translate:0 1px;background:linear-gradient(oklch(from var(--lvs9-b) calc(l - 0.08) c h),oklch(from var(--lvs9-b2) calc(l - 0.08) c h));box-shadow:inset 0 2px 3px oklch(from var(--lvs9-b) calc(l - 0.25) c h / .55),0 1px 1px oklch(from var(--shadow,oklch(0.22 0.03 260)) calc(l - 0.08) c h / .45)}
.cf-launch-video-series-9 .lvs9-btn:focus-visible{outline:3px solid var(--lvs9-band-ink);outline-offset:3px}
.cf-launch-video-series-9 .lvs9-btn:disabled{cursor:not-allowed;translate:none;background:color-mix(in oklch,var(--lvs9-band-ink) 13%,var(--lvs9-band));color:color-mix(in oklch,var(--lvs9-band-ink) 82%,var(--lvs9-band));text-shadow:none;box-shadow:inset 0 0 0 1px color-mix(in oklch,var(--lvs9-band-ink) 24%,transparent)}
.cf-launch-video-series-9 .lvs9-btn[aria-busy='true']{cursor:progress}
.cf-launch-video-series-9 .lvs9-quiet{margin-top:.8rem;text-align:center;font-size:1rem;line-height:1.4;color:color-mix(in oklch,var(--lvs9-band-ink) 82%,var(--lvs9-band));text-wrap:pretty}
.cf-launch-video-series-9 .lvs9-quiet-link{color:var(--lvs9-band-ink);text-decoration:underline;text-decoration-color:oklch(from var(--lvs9-band-ink) l c h / .45);text-underline-offset:.18em}
.cf-launch-video-series-9 .lvs9-quiet-link:hover{text-decoration-color:currentColor}
.cf-launch-video-series-9 .lvs9-quiet-link:focus-visible{outline:2px solid var(--lvs9-band-ink);outline-offset:2px;border-radius:2px}
.cf-launch-video-series-9 .lvs9-err{display:flex;align-items:flex-start;gap:.5rem;margin-top:.75rem;padding:.6rem .8rem;border-radius:calc(var(--radius,12px) * .7);background:var(--danger-soft,#fbe9e7);color:var(--danger,#b42318);font-size:.9375rem;font-weight:600;line-height:1.35;text-align:left;text-wrap:pretty}
.cf-launch-video-series-9 .lvs9-err svg{width:1.1rem;height:1.1rem;margin-top:.1rem}
@media (prefers-reduced-motion:no-preference){
.cf-launch-video-series-9 .lvs9-reveal{animation:lvs9-in .5s cubic-bezier(.16,1,.3,1) both;animation-delay:calc(var(--i,0) * 70ms)}
.cf-launch-video-series-9 .st-current .lvs9-dot{animation:lvs9-blink 1.6s ease-in-out 3}
.cf-launch-video-series-9 .is-linked:hover .lvs9-thumb img{transform:scale(1.04)}
.cf-launch-video-series-9 .lvs9-spin{animation:lvs9-spin .8s linear infinite}
}
@media (prefers-reduced-motion:reduce){
.cf-launch-video-series-9 .lvs9-tile,.cf-launch-video-series-9 .lvs9-btn,.cf-launch-video-series-9 .lvs9-thumb img{transition:none}
}
@keyframes lvs9-in{from{opacity:.82;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes lvs9-blink{0%,100%{opacity:1}50%{opacity:.35}}
@keyframes lvs9-spin{to{transform:rotate(360deg)}}
@media (max-width:1100px){
.cf-launch-video-series-9 .lvs9-act{grid-template-columns:auto minmax(0,1fr)}
.cf-launch-video-series-9 .lvs9-act-cta{grid-column:2;max-width:24rem}
}
@media (max-width:1023px){
.cf-launch-video-series-9 .lvs9-list{grid-template-columns:repeat(2,minmax(0,1fr))}
.cf-launch-video-series-9 .lvs9-board{grid-template-columns:minmax(0,1fr)}
.cf-launch-video-series-9 .lvs9-act{grid-column:auto}
.cf-launch-video-series-9 .lvs9-score{flex-direction:row;align-items:center;gap:1.5rem}
.cf-launch-video-series-9 .lvs9-scorebar{flex:1;min-width:0}
}
@media (max-width:640px){
.cf-launch-video-series-9 .lvs9-list{grid-template-columns:minmax(0,1fr)}
.cf-launch-video-series-9 .lvs9-tile{flex-direction:row;align-items:flex-start;gap:.9rem}
.cf-launch-video-series-9 .lvs9-thumb{flex:0 0 6.75rem;aspect-ratio:1}
.cf-launch-video-series-9 .lvs9-body{padding:.2rem .25rem .2rem 0}
.cf-launch-video-series-9 .lvs9-num{font-size:1.5rem}
.cf-launch-video-series-9 .lvs9-title{margin-top:.35rem;font-size:1.15rem}
.cf-launch-video-series-9 .lvs9-foot{padding-top:.6rem}
.cf-launch-video-series-9 .s-current{translate:none}
.cf-launch-video-series-9 .lvs9-score{gap:1.1rem}
.cf-launch-video-series-9 .lvs9-big{font-size:3.25rem}
.cf-launch-video-series-9 .lvs9-act{grid-template-columns:auto minmax(0,1fr);gap:1.1rem 1rem}
.cf-launch-video-series-9 .lvs9-act-num{font-size:3.5rem}
.cf-launch-video-series-9 .lvs9-act-cta{grid-column:1 / -1;max-width:none}
.cf-launch-video-series-9 .lvs9-btn{white-space:normal;text-wrap:balance}
}
`
pieces/content/launch-video-series-9/specimen.tsx 30 lines
import launchDeskImage from '../assets/e4d4c0fdcc4557b9.webp'
import defaults from '../../studio-defaults.json'
import { slot } from '../../slots'
import { LaunchVideoSeries9, type LaunchVideoSeries9State } from '../launch-video-series-9'
export const states: LaunchVideoSeries9State[] = ['default', 'hover', 'active', 'disabled', 'error']
export default function LaunchVideoSeries9Specimen({ state = 'default' }: { state?: LaunchVideoSeries9State }) {
const sample = defaults.sample
const [plan, copy, check] = sample.items
return (
<LaunchVideoSeries9
videos={[
{ title: 'Plan your funnel', detail: plan.detail, image: slot('item-1', plan.image), imageAlt: plan.imageAlt, href: '#video-1' },
{ title: 'Write your page copy', detail: copy.detail, image: slot('item-2', copy.image), imageAlt: copy.imageAlt },
{ title: 'Check every step', detail: check.detail, image: slot('item-3', check.image), imageAlt: check.imageAlt },
{
title: 'Prepare to launch',
detail: 'Put your plan, page copy, and checks together before you go live.',
image: slot('scene', launchDeskImage),
imageAlt: 'A bright desk by a window with an open laptop and notebook, ready for launch day',
},
]}
current={1}
headline={{ lead: 'Build your first funnel ', mark: 'with a clear plan' }}
lead={sample.lead}
state={state}
/>
)
}
| Name | Type | Details |
|---|---|---|
videos OptionalLaunchVideoSeries9 |
SeriesVideo9[] |
Default DEFAULT_VIDEOS
|
current OptionalLaunchVideoSeries9 |
number |
Default 1
|
headline OptionalLaunchVideoSeries9 |
SeriesHeadline9 |
Default DEFAULT_HEADLINE
|
lead OptionalLaunchVideoSeries9 |
string |
Default DEFAULT_LEAD
|
unlocked OptionalLaunchVideoSeries9 |
boolean |
Default false
|
requireFinish OptionalLaunchVideoSeries9 |
boolean |
Default false
|
href OptionalLaunchVideoSeries9 |
string |
|
secondaryHref OptionalLaunchVideoSeries9 |
string |
|
onAction OptionalLaunchVideoSeries9 |
(nextIndex: number) => void | boolean | Promise<void | boolean> |
|
onSelect OptionalLaunchVideoSeries9 |
(index: number) => void |
|
copy OptionalLaunchVideoSeries9 |
Partial<LaunchVideoSeries9Copy> |
|
state OptionalLaunchVideoSeries9 |
LaunchVideoSeries9State |
Default 'default'
|
className OptionalLaunchVideoSeries9 |
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-focus- Form inputs: background, ink, border, radius and focus colour.
Image slots
Filled from the brand’s images; the specimen ships its own defaults.
item-1- One image per offer item (item-1, item-2…), shown in stacks and lists.
item-2- One image per offer item (item-1, item-2…), shown in stacks and lists.
item-3- One image per offer item (item-1, item-2…), shown in stacks and lists.
scene- A wide atmosphere photo behind or beside the copy.
-
b77916eca54aa689.webp
image/webp · 8.32 KB
-
d435db6662febfcf.webp
image/webp · 10 KB
-
e4d4c0fdcc4557b9.webp
image/webp · 79.4 KB
-
f0a5d3e1e61804ba.webp
image/webp · 11.6 KB