Launch Video Series 6
Moves viewers through the launch lessons with a gated next-video action.
Use it in a prompt
Use content/launch-video-series-6 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-6.tsx. - Import it and pass your copy and images (Props tab):
import { LaunchVideoSeries6 } from "@/components/funneldna/content/launch-video-series-6"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/content/launch-video-series-6/component.tsx 485 lines
// Moves viewers through the launch lessons with a gated next-video action.
"use client"
import * as React from 'react'
import { AlertCircle, Check, Film, Loader2, Lock, LockOpen } from 'lucide-react'
export type LaunchVideoSeries6Props = {
videos?: FanVideo[]
/** Zero-based index of the video playing on this page. */
current?: number
/** Call-to-action headline. One phrase gets the marker stroke. */
headline?: FanHeadline
subhead?: string
/** Line beside the button. Defaults to: After you watch Video 2, continue to Video 3. */
note?: string
/** Quiet sign-off after the note, such as the series or product name. */
signoff?: string
continueLabel?: string
openLabel?: string
successNote?: string
errorNote?: string
finalNote?: string
/** Where the continue button goes; it renders as a link when set. */
href?: string
/** Legacy alias for href. */
nextHref?: string
/** Set true when the page's video ends: the current card turns watched and the next one opens. */
unlocked?: boolean
/** Keep the button locked until unlocked is true. */
requireFinish?: boolean
/** Runs when the viewer presses continue. A returned promise shows the loading label; false (or a rejection) shows the error state. The page sets `unlocked` to open the next video. */
onAction?: (nextIndex: number) => void | boolean | Promise<void | boolean>
/** Legacy alias for onAction. */
onContinue?: (nextIndex: number) => void | boolean | Promise<void | boolean>
/** Runs when the viewer picks an open card or the opened next video. */
onSelect?: (index: number) => void
/** Optional texture photo (texture slot) laid under the band at low strength. */
textureImage?: string
/** Legacy alias for textureImage. */
paperImage?: string
/** Optional seal or badge art (transparent) on the top card's corner. */
sealGuaranteeImage?: string
/** Legacy alias for sealGuaranteeImage. */
stampImage?: string
/** Knock near-white pixels out of the seal image (art on a white backdrop). Off by default: it also erases white parts of the art. */
matteWhite?: boolean
/** Templates use {number}, {nextVideo}, {currentVideo}, {title}, {status} and {detail}. */
copy?: Partial<LaunchVideoSeries6Copy>
/** "success" is accepted for older callers and renders as default; pass `unlocked` to show the opened next video. */
state?: LaunchVideoSeries6State
className?: string
}
export function LaunchVideoSeries6({
videos = DEFAULT_VIDEOS,
current = 0,
headline = { lead: 'Four short videos. ', mark: 'One clear plan.' },
subhead = 'Watch them in order. Each video opens when you finish the one before it.',
note,
signoff,
continueLabel,
openLabel,
successNote,
errorNote,
finalNote,
href,
nextHref,
unlocked = false,
requireFinish = false,
onAction,
onContinue,
onSelect,
textureImage,
paperImage,
sealGuaranteeImage,
matteWhite = false,
copy,
stampImage,
state = 'default',
className,
}: LaunchVideoSeries6Props) {
const text = { ...DEFAULT_COPY, ...copy }
const action = onAction !== undefined ? onAction : onContinue
const destination = href !== undefined ? href : nextHref
const texture = textureImage !== undefined ? textureImage : paperImage
const seal = sealGuaranteeImage !== undefined ? sealGuaranteeImage : stampImage
const titleId = React.useId()
const list = videos.length ? videos : DEFAULT_VIDEOS
const n = list.length
const cur = Math.min(Math.max(0, current), n - 1)
const nextIndex = cur + 1 < n ? cur + 1 : -1
const hasNext = nextIndex >= 0
const [phase, setPhase] = React.useState<Phase>(() => phaseFor(state))
const mounted = React.useRef(true)
React.useEffect(() => {
setPhase(phaseFor(state))
}, [state])
React.useEffect(() => {
mounted.current = true
return () => { mounted.current = false }
}, [])
const done = hasNext && unlocked
const disabled = hasNext && !done && (state === 'disabled' || (requireFinish && !unlocked))
const loading = phase === 'loading'
const top = done ? nextIndex : cur
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 handleContinue = (e: React.MouseEvent<HTMLElement>) => {
if (!hasNext || disabled || loading) { e.preventDefault(); return }
if (done) {
onSelect?.(nextIndex)
return
}
if (!action) return
const finish = (ok: boolean) => { if (mounted.current) setPhase(ok ? 'idle' : 'error') }
let result: ReturnType<typeof action>
try {
result = action(nextIndex)
} catch {
e.preventDefault()
finish(false)
return
}
if (result === false) { e.preventDefault(); finish(false); return }
if (!result || result === true) { finish(true); return }
setPhase('loading')
result.then((value) => finish(value !== false), () => finish(false))
}
const vNext = formatCopy(text.videoLabel, { number: nextIndex + 1 })
const vCur = formatCopy(text.videoLabel, { number: cur + 1 })
const values = { nextVideo: vNext, currentVideo: vCur }
const ctaLabel = loading
? formatCopy(text.loadingLabel, values)
: done
? openLabel ?? formatCopy(text.openLabel, values)
: disabled
? formatCopy(text.lockedLabel, values)
: continueLabel ?? formatCopy(text.continueLabel, values)
const noteText = !hasNext
? finalNote ?? text.finalNote
: phase === 'error'
? errorNote ?? formatCopy(text.errorNote, values)
: done
? successNote ?? formatCopy(text.successNote, values)
: disabled
? formatCopy(text.lockedNote, values)
: note ?? formatCopy(text.note, values)
const mid = (n - 1) / 2
const step = n > 4 ? 2 : 2.6
const tightMark = (headline.mark ?? '').length <= 22
const forced = state === 'hover' || state === 'active' ? state : undefined
const ctaInner = (
<>
{disabled && <Lock className='lvs6-ico' aria-hidden='true' />}
<span>{ctaLabel}</span>
{loading ? <Loader2 className='lvs6-ico lvs6-spin' aria-hidden='true' /> : null}
</>
)
const noteClass = 'lvs6-note' + (phase === 'error' ? ' is-error' : done ? ' is-done' : '')
return (
<section className={'cf-launch-video-series-6 lvs6' + (className ? ' ' + className : '')} aria-labelledby={titleId}>
<style>{CSS}</style>
{texture && <img className='lvs6-texture' src={texture} alt='' aria-hidden='true' />}
<div className='lvs6-inner'>
<header className='lvs6-head'>
<h2 className='lvs6-h' id={titleId}>
{headline.lead}
{headline.mark && <span className={'lvs6-mark' + (tightMark ? ' is-tight' : '')}>{headline.mark}</span>}
{headline.after}
</h2>
{subhead && <p className='lvs6-sub'>{subhead}</p>}
</header>
<ol className='lvs6-fan' aria-label={text.listLabel}>
{list.map((v, i) => {
const itemImage = v.itemImage !== undefined ? v.itemImage : v.image
const status = statusOf(i)
const isTop = i === top
const off = i - mid
const rot = isTop ? off * step * 0.4 : off * step
const lift = isTop ? -16 : Math.round(off * off * 6)
const z = isTop ? 30 : 20 - Math.round(Math.abs(i - top) * 2)
const canOpen = status === 'watched' || status === 'current' || status === 'open'
const hitLabel =
formatCopy(text.cardLabel, { number: i + 1, title: v.title, status: text[status].toLowerCase(), detail: v.detail ? '. ' + v.detail : '' })
const style = {
'--rot': rot.toFixed(2) + 'deg',
'--lift': lift + 'px',
'--z': z,
'--i': i,
} as React.CSSProperties
return (
<li key={i} className={'lvs6-slot s-' + status + (isTop ? ' is-top' : '')} style={style}>
<article className='lvs6-card'>
<div className='lvs6-photo'>
{itemImage ? (
<img src={itemImage} alt={v.imageAlt ?? ''} width={640} height={480} loading='lazy' decoding='async' />
) : (
<span className='lvs6-fallback' aria-hidden='true'>
<Film />
</span>
)}
{(status === 'next' || status === 'locked' || status === 'open') && (
<span className='lvs6-veil' aria-hidden='true'>
<span className='lvs6-medal'>{status === 'open' ? <LockOpen /> : <Lock />}</span>
</span>
)}
</div>
{isTop && seal && <img key={'seal-' + top} className='lvs6-seal' src={seal} alt='' aria-hidden='true' data-matte={matteWhite ? '' : undefined} />}
<div className='lvs6-body'>
<p className='lvs6-num'>{formatCopy(text.videoLabel, { number: i + 1 })}</p>
<h3 className='lvs6-title'>{v.title}</h3>
<span className='lvs6-chip'>
<StatusIcon status={status} />
{text[status]}
</span>
</div>
{canOpen && v.href ? (
<a className='lvs6-hit' href={v.href} aria-label={hitLabel} aria-current={status === 'current' ? 'true' : undefined} onClick={() => onSelect?.(i)} />
) : canOpen && onSelect ? (
<button type='button' className='lvs6-hit' aria-label={hitLabel} aria-current={status === 'current' ? 'true' : undefined} onClick={() => onSelect(i)} />
) : null}
</article>
</li>
)
})}
</ol>
<div className='lvs6-reply'>
<p className={noteClass} role='status' aria-live='polite'>
<span className='lvs6-msg'>
{phase === 'error' ? (
<AlertCircle className='lvs6-msg-ico' aria-hidden='true' />
) : done ? (
<span className='lvs6-ok' aria-hidden='true'>
<Check />
</span>
) : null}
{noteText}
</span>
{signoff && (
<>
<span className='lvs6-sep' aria-hidden='true' />
<span className='lvs6-sign'>{signoff}</span>
</>
)}
</p>
{hasNext &&
(destination && !disabled ? (
<a className='lvs6-cta' data-force={forced} href={destination} aria-busy={loading || undefined} onClick={handleContinue}>
{ctaInner}
</a>
) : (
<button type='button' className='lvs6-cta' data-force={forced} disabled={disabled} aria-busy={loading || undefined} onClick={handleContinue}>
{ctaInner}
</button>
))}
</div>
</div>
</section>
)
}
export default LaunchVideoSeries6
export type FanVideo = {
title: string
/** One-line summary, read to screen readers with the card link. */
detail?: string
itemImage?: string
/** Legacy alias for itemImage. */
image?: string
imageAlt?: string
/** Page for this video, linked once the video is open. */
href?: string
}
export type FanHeadline = { lead?: string; mark?: string; after?: string }
export type LaunchVideoSeries6State = 'default' | 'hover' | 'active' | 'disabled' | 'error' | 'success'
type Status = 'watched' | 'current' | 'open' | 'next' | 'locked'
type Phase = 'idle' | 'loading' | 'error'
const DEFAULT_VIDEOS: FanVideo[] = [
{ title: 'The one idea the series is built on' },
{ title: 'Put the idea to work on your offer' },
{ title: 'Build the path your buyer follows' },
{ title: 'Check every step, then take action' },
]
type LaunchVideoSeries6Copy = Record<Status, string> & {
videoLabel: string
loadingLabel: string
openLabel: string
lockedLabel: string
continueLabel: string
finalNote: string
errorNote: string
successNote: string
lockedNote: string
note: string
listLabel: string
cardLabel: string
}
const DEFAULT_COPY: LaunchVideoSeries6Copy = {
watched: 'Watched',
current: 'Watching now',
open: 'Open now',
next: 'Unlocks next',
locked: 'Locked',
videoLabel: 'Video {number}',
loadingLabel: 'Opening {nextVideo}…',
openLabel: 'Watch {nextVideo} now',
lockedLabel: '{nextVideo} is locked',
continueLabel: 'Continue to {nextVideo}',
finalNote: 'This is the final video in the series.',
errorNote: 'We couldn’t open {nextVideo}. Please try again.',
successNote: '{nextVideo} is open. Press play when you’re ready.',
lockedNote: 'Finish {currentVideo} to unlock {nextVideo}.',
note: 'After you watch {currentVideo}, continue to {nextVideo}.',
listLabel: 'Videos in this series',
cardLabel: 'Watch Video {number}: {title} ({status}){detail}',
}
function phaseFor(state?: LaunchVideoSeries6State): Phase {
return state === 'error' ? 'error' : 'idle'
}
function StatusIcon({ status }: { status: Status }) {
if (status === 'watched') return <Check aria-hidden='true' />
if (status === 'current') return <span className='lvs6-dot' aria-hidden='true' />
if (status === 'open') return <LockOpen aria-hidden='true' />
return <Lock aria-hidden='true' />
}
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-6{
--lvs6-ink:var(--ink,#101828);
--lvs6-muted:var(--muted,#4a5565);
--lvs6-card:var(--card,#ffffff);
--lvs6-accent:var(--accent,#0f5fc2);
--lvs6-marker:var(--marker,#fae37c);
--lvs6-shade:var(--shadow,oklch(0.22 0.03 260));
--lvs6-grey:color-mix(in oklch,var(--lvs6-ink) 6%,var(--lvs6-card));
--lvs6-hair:oklch(from var(--lvs6-ink) l c h / 0.14);
position:relative;isolation:isolate;overflow:clip;width:100%;
padding:clamp(56px,8vw,112px) clamp(16px,5vw,48px) clamp(64px,8.5vw,120px);
background:var(--surface,#ffffff);color:var(--lvs6-ink);
font-family:var(--font-body,Arial,sans-serif);line-height:1.5;
}
.cf-launch-video-series-6 *,.cf-launch-video-series-6 *::before,.cf-launch-video-series-6 *::after{box-sizing:border-box}
.cf-launch-video-series-6 :where(h2,h3,p,ol){margin:0}
.cf-launch-video-series-6 svg{flex:none}
:where(.cf-launch-video-series-6) .lvs6-texture{position:absolute;inset:0;z-index:0;width:100%;height:100%;object-fit:cover;opacity:.06;pointer-events:none}
:where(.cf-launch-video-series-6) .lvs6-inner{position:relative;z-index:1;max-width:70rem;margin:0 auto}
:where(.cf-launch-video-series-6) .lvs6-head{max-width:46rem;margin:0 auto;text-align:center}
:where(.cf-launch-video-series-6) .lvs6-h{margin:0 auto;font-family:var(--font-display,Arial,sans-serif);font-size:clamp(2rem,3.6vw,3.25rem);font-weight:var(--display-weight,800);line-height:1.06;letter-spacing:var(--display-tracking,-0.025em);text-wrap:balance;text-transform:var(--display-case,none)}
:where(.cf-launch-video-series-6) .lvs6-mark{color:inherit;background-color:transparent;background-image:linear-gradient(oklch(from var(--lvs6-marker) l c h / 0.84),oklch(from var(--lvs6-marker) l c h / 0.84));background-repeat:no-repeat;background-size:100% 62%;background-position:0 90%;padding:0 .12em;margin:0 -.03em;border-radius:.18em .5em .28em .42em / .45em .3em .45em .25em;-webkit-box-decoration-break:clone;box-decoration-break:clone}
:where(.cf-launch-video-series-6) .lvs6-mark.is-tight{white-space:nowrap}
:where(.cf-launch-video-series-6) .lvs6-sub{max-width:40rem;margin:16px auto 0;color:var(--lvs6-muted);font-size:clamp(1.125rem,1.5vw,1.375rem);font-weight:500;line-height:1.4;text-wrap:pretty}
:where(.cf-launch-video-series-6) .lvs6-fan{list-style:none;margin:clamp(32px,4vw,48px) auto 0;padding:24px 0 16px;display:flex;justify-content:center;align-items:stretch}
:where(.cf-launch-video-series-6) .lvs6-slot{position:relative;z-index:var(--z);display:flex;flex:0 1 17.5rem;min-width:0;transform:translateY(var(--lift)) rotate(var(--rot));transform-origin:50% 100%;transition:transform .2s cubic-bezier(.2,.7,.2,1)}
:where(.cf-launch-video-series-6) .lvs6-slot+.lvs6-slot{margin-left:-12px}
:where(.cf-launch-video-series-6) .lvs6-slot:hover,:where(.cf-launch-video-series-6) .lvs6-slot:focus-within{z-index:40;transform:translateY(-24px) rotate(0deg)}
:where(.cf-launch-video-series-6) .lvs6-card{position:relative;flex:1;display:flex;flex-direction:column;min-width:0;background:var(--lvs6-card);border:1px solid var(--card-border,oklch(from var(--lvs6-ink) l c h / 0.12));border-radius:var(--card-radius,var(--radius,14px));box-shadow:var(--card-shadow,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:box-shadow .16s ease,border-color .16s ease}
:where(.cf-launch-video-series-6) .lvs6-slot.is-top .lvs6-card{background:var(--card,#ffffff);border-color:var(--accent-fill,var(--lvs6-accent));box-shadow:0 0 0 1px var(--accent-fill, var(--lvs6-accent)),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))}
:where(.cf-launch-video-series-6) .lvs6-photo{position:relative;margin:12px 12px 0;aspect-ratio:4/3;overflow:hidden;border-radius:8px;background:color-mix(in oklch,var(--lvs6-ink) 4%,var(--lvs6-card))}
:where(.cf-launch-video-series-6) .lvs6-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .3s cubic-bezier(.2,.7,.2,1),filter .3s ease}
:where(.cf-launch-video-series-6) .lvs6-slot:hover .lvs6-photo img{transform:scale(1.03)}
:where(.cf-launch-video-series-6) .s-next .lvs6-photo img{filter:grayscale(.6) contrast(.95)}
:where(.cf-launch-video-series-6) .s-locked .lvs6-photo img{filter:grayscale(1) contrast(.9)}
:where(.cf-launch-video-series-6) .lvs6-fallback{display:grid;place-items:center;width:100%;height:100%;color:var(--lvs6-muted)}
:where(.cf-launch-video-series-6) .lvs6-fallback svg{width:24px;height:24px;stroke-width:2.5}
:where(.cf-launch-video-series-6) .lvs6-veil{position:absolute;inset:0;display:grid;place-items:center;background:oklch(from var(--lvs6-card) l c h / 0.3);transition:opacity .3s ease}
:where(.cf-launch-video-series-6) .s-open .lvs6-veil{opacity:0}
:where(.cf-launch-video-series-6) .lvs6-medal{display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--lvs6-card);color:var(--lvs6-ink);box-shadow: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))}
:where(.cf-launch-video-series-6) .lvs6-medal svg{width:20px;height:20px;stroke-width:2.5}
:where(.cf-launch-video-series-6) .lvs6-seal{position:absolute;z-index:4;top:6px;right:6px;width:clamp(3rem,4.5vw,4rem);height:auto;pointer-events:none;filter:drop-shadow(0 2px 3px oklch(from var(--lvs6-shade) l c h / 0.3))}
:where(.cf-launch-video-series-6) .lvs6-seal[data-matte]{filter:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='matte' color-interpolation-filters='sRGB'%3E%3CfeColorMatrix type='matrix' values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 -100 -100 -100 298 0'/%3E%3C/filter%3E%3C/svg%3E#matte")}
:where(.cf-launch-video-series-6) .lvs6-body{display:flex;flex:1;flex-direction:column;align-items:flex-start;padding:16px 20px 20px}
:where(.cf-launch-video-series-6) .lvs6-num{margin:0 0 8px;color:var(--lvs6-accent);font-size:.875rem;font-weight:800;letter-spacing:.08em;line-height:1.2;text-transform:uppercase}
:where(.cf-launch-video-series-6) .lvs6-title{min-height:2.3em;margin:0 0 16px;font-family:var(--font-display,Arial,sans-serif);font-size:clamp(1.3125rem,1.8vw,1.625rem);font-weight:var(--display-weight,800);line-height:1.15;letter-spacing:-0.01em;text-wrap:balance;text-transform:var(--display-case,none)}
:where(.cf-launch-video-series-6) .lvs6-chip{display:inline-flex;align-items:center;gap:6px;min-height:30px;margin-top:auto;padding:4px 12px;border-radius:999px;background:var(--lvs6-grey);color:var(--lvs6-muted);font-size:.875rem;font-weight:800;line-height:1.2;white-space:nowrap}
:where(.cf-launch-video-series-6) .lvs6-chip svg{width:16px;height:16px;stroke-width:2.5}
:where(.cf-launch-video-series-6) .s-watched .lvs6-chip{background:var(--success-soft);color:var(--success)}
:where(.cf-launch-video-series-6) .s-current .lvs6-chip{background:color-mix(in oklch,var(--accent-fill,var(--lvs6-accent)) 12%,var(--lvs6-card));color:var(--lvs6-ink)}
:where(.cf-launch-video-series-6) .s-open .lvs6-chip{background:var(--accent-fill,var(--lvs6-accent));color:var(--accent-fill-ink,var(--lvs6-card))}
:where(.cf-launch-video-series-6) .s-next .lvs6-chip{color:var(--lvs6-ink)}
:where(.cf-launch-video-series-6) .lvs6-dot{display:block;width:8px;height:8px;border-radius:50%;background:var(--accent-fill,var(--lvs6-accent))}
:where(.cf-launch-video-series-6) .lvs6-hit{position:absolute;inset:0;z-index:5;margin:0;padding:0;border:0;border-radius:inherit;background:transparent;color:var(--button-2-ink,var(--secondary-ink,inherit));cursor:pointer}
:where(.cf-launch-video-series-6) .lvs6-hit:focus-visible{outline:3px solid oklch(from var(--lvs6-accent) l c h / 0.6);outline-offset:3px}
:where(.cf-launch-video-series-6) .lvs6-reply{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 32px;margin:clamp(32px,4vw,48px) auto 0}
:where(.cf-launch-video-series-6) .lvs6-note{display:flex;flex:1 1 22rem;flex-wrap:wrap;align-items:baseline;gap:8px 16px;min-width:0;margin:0;color:var(--lvs6-ink);font-size:clamp(1.125rem,1.5vw,1.375rem);font-weight:600;line-height:1.4;text-wrap:pretty}
:where(.cf-launch-video-series-6) .lvs6-msg{min-width:0;text-wrap:pretty}
:where(.cf-launch-video-series-6) .lvs6-msg-ico{display:inline-block;width:20px;height:20px;vertical-align:-0.2em;margin-inline-end:.4em;stroke-width:2.5}
:where(.cf-launch-video-series-6) .lvs6-note.is-error .lvs6-msg{color:var(--danger)}
:where(.cf-launch-video-series-6) .lvs6-note.is-done .lvs6-msg{color:var(--success)}
:where(.cf-launch-video-series-6) .lvs6-ok{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;vertical-align:-0.25em;margin-inline-end:.45em;border-radius:50%;background:var(--success);color:var(--lvs6-on-status,#fff)}
:where(.cf-launch-video-series-6) .lvs6-ok svg{width:14px;height:14px;stroke-width:3}
:where(.cf-launch-video-series-6) .lvs6-sep{align-self:center;display:block;width:1px;height:1.2em;background:var(--lvs6-hair)}
:where(.cf-launch-video-series-6) .lvs6-sign{color:var(--lvs6-muted);font-size:.9375rem;font-weight:600;line-height:1.4}
:where(.cf-launch-video-series-6) .lvs6-cta{
--lvs6-bg:var(--button-bg,var(--cta,#d92d20));
--lvs6-bg2:var(--button-bg-2,var(--cta-2,#b42318));
position:relative;display:inline-flex;flex:none;align-items:center;justify-content:center;gap:10px;min-height:72px;padding:0 28px;border:0;border-radius:var(--button-radius,var(--radius,12px));
background:linear-gradient(180deg,oklch(from var(--lvs6-bg) calc(l + 0.04) c h),oklch(from var(--lvs6-bg2) calc(l - 0.02) c h));
color:var(--button-ink,var(--cta-ink,#ffffff));text-shadow:var(--button-text-shadow,none);
font-family:var(--button-font,var(--font-display,Arial,sans-serif));font-size:clamp(1.125rem,1.55vw,1.375rem);font-weight:var(--button-weight,800);line-height:1.15;text-transform:var(--button-case,none);text-decoration:none;text-align:center;white-space:nowrap;cursor:pointer;
box-shadow:var(--button-shadow,inset 0 1px 0 oklch(from var(--lvs6-bg) calc(l + 0.14) c h / 0.7),inset 0 -3px 0 oklch(from var(--lvs6-bg) calc(l - 0.16) c h),0 1px 2px oklch(from var(--lvs6-shade) l c h / 0.3),0 8px 16px -6px oklch(from var(--lvs6-shade) l c h / 0.45));
transition:transform .16s ease,box-shadow .16s ease,background .16s ease;
}
:where(.cf-launch-video-series-6) .lvs6-cta:hover,:where(.cf-launch-video-series-6) .lvs6-cta[data-force='hover']{transform:translateY(-1px);background:linear-gradient(180deg,oklch(from var(--lvs6-bg) calc(l - 0.01) c h),oklch(from var(--lvs6-bg2) calc(l - 0.07) c h));box-shadow:var(--button-shadow,inset 0 1px 0 oklch(from var(--lvs6-bg) calc(l + 0.14) c h / 0.7),inset 0 -3px 0 oklch(from var(--lvs6-bg) calc(l - 0.16) c h),0 1px 2px oklch(from var(--lvs6-shade) l c h / 0.32),0 10px 20px -6px oklch(from var(--lvs6-shade) l c h / 0.55))}
:where(.cf-launch-video-series-6) .lvs6-cta:active,:where(.cf-launch-video-series-6) .lvs6-cta[data-force='active']{transform:translateY(1px);background:linear-gradient(180deg,oklch(from var(--lvs6-bg) calc(l - 0.04) c h),oklch(from var(--lvs6-bg2) calc(l - 0.08) c h));box-shadow:var(--button-shadow,inset 0 2px 4px oklch(from var(--lvs6-bg) calc(l - 0.22) c h / 0.5),inset 0 -2px 0 oklch(from var(--lvs6-bg) calc(l - 0.16) c h),0 1px 2px oklch(from var(--lvs6-shade) l c h / 0.3))}
:where(.cf-launch-video-series-6) .lvs6-cta:focus-visible{outline:3px solid oklch(from var(--lvs6-accent) l c h / 0.6);outline-offset:3px}
:where(.cf-launch-video-series-6) .lvs6-cta[aria-busy='true']{cursor:progress}
:where(.cf-launch-video-series-6) .lvs6-cta:disabled{cursor:not-allowed;transform:none;background:var(--button-2-bg,var(--secondary,#e9edf3));color:var(--button-2-ink,var(--secondary-ink,#101828));border:1px solid var(--button-2-border,transparent);text-shadow:none;box-shadow:var(--button-2-shadow, var(--shadow-sm))}
:where(.cf-launch-video-series-6) .lvs6-ico{width:20px;height:20px;stroke-width:2.5}
@media (max-width:64rem){
:where(.cf-launch-video-series-6) .lvs6-body{padding:14px 16px 18px}
:where(.cf-launch-video-series-6) .lvs6-title{font-size:1.3125rem}
}
@media (max-width:56rem){
:where(.cf-launch-video-series-6) .lvs6-fan{flex-direction:column;align-items:stretch;gap:12px;max-width:34rem;padding:0}
:where(.cf-launch-video-series-6) .lvs6-slot{flex:none;transform:none}
:where(.cf-launch-video-series-6) .lvs6-slot+.lvs6-slot{margin-left:0}
:where(.cf-launch-video-series-6) .lvs6-slot:hover,:where(.cf-launch-video-series-6) .lvs6-slot:focus-within{transform:translateY(-2px)}
:where(.cf-launch-video-series-6) .lvs6-card{display:grid;grid-template-columns:minmax(0,38%) minmax(0,1fr);align-items:start}
:where(.cf-launch-video-series-6) .lvs6-photo{margin:12px 0 12px 12px}
:where(.cf-launch-video-series-6) .lvs6-body{align-self:stretch;padding:12px 16px 14px}
:where(.cf-launch-video-series-6) .lvs6-title{min-height:0;margin-bottom:12px}
:where(.cf-launch-video-series-6) .lvs6-seal{width:2.75rem}
}
@media (max-width:40rem){
:where(.cf-launch-video-series-6) .lvs6-reply{flex-direction:column;align-items:stretch;text-align:center}
:where(.cf-launch-video-series-6) .lvs6-note{flex:none;justify-content:center;text-wrap:balance}
:where(.cf-launch-video-series-6) .lvs6-msg{text-wrap:balance}
:where(.cf-launch-video-series-6) .lvs6-sep{display:none}
:where(.cf-launch-video-series-6) .lvs6-sign{flex-basis:100%}
:where(.cf-launch-video-series-6) .lvs6-cta{width:100%;min-height:64px;padding:0 20px;white-space:normal;text-wrap:balance}
}
@media (prefers-reduced-motion:no-preference){
:where(.cf-launch-video-series-6) .lvs6-head{animation:lvs6-in .45s cubic-bezier(.2,.7,.2,1) both}
:where(.cf-launch-video-series-6) .lvs6-card{animation:lvs6-in .45s cubic-bezier(.2,.7,.2,1) both;animation-delay:min(calc(var(--i) * 0.07s + 0.07s),0.28s)}
:where(.cf-launch-video-series-6) .lvs6-seal{animation:lvs6-pop .3s cubic-bezier(.2,.7,.2,1) .3s both}
:where(.cf-launch-video-series-6) .lvs6-spin{animation:lvs6-spin .8s linear infinite}
}
@media (prefers-reduced-motion:reduce){
:where(.cf-launch-video-series-6) .lvs6-slot,:where(.cf-launch-video-series-6) .lvs6-card,:where(.cf-launch-video-series-6) .lvs6-photo img,:where(.cf-launch-video-series-6) .lvs6-veil,:where(.cf-launch-video-series-6) .lvs6-cta{transition:none}
:where(.cf-launch-video-series-6) .lvs6-slot:hover .lvs6-photo img{transform:none}
}
@keyframes lvs6-in{from{opacity:.82;translate:0 8px}}
@keyframes lvs6-pop{from{scale:.9}}
@keyframes lvs6-spin{to{transform:rotate(360deg)}}
`
pieces/content/launch-video-series-6/specimen.tsx 36 lines
import __studioImage56fd49cf from "../assets/05202332fbd77ebc.webp";
import * as React from 'react'
import { LaunchVideoSeries6, type LaunchVideoSeries6State } from '../launch-video-series-6'
import { slot } from '../../slots'
import defaults from '../../studio-defaults.json'
export const states = ['default', 'hover', 'active', 'disabled', 'error']
export default function LaunchVideoSeries6Specimen({ state = 'default' }: { state?: LaunchVideoSeries6State }) {
const s = defaults.sample
const [guide, workbook, checklist] = s.items
const videos = [
{ title: 'Map your offer', detail: guide.detail, image: guide.image, imageAlt: guide.imageAlt },
{ title: 'Write your page copy', detail: workbook.detail, image: workbook.image, imageAlt: workbook.imageAlt },
{ title: 'Check every step', detail: checklist.detail, image: checklist.image, imageAlt: checklist.imageAlt },
{
title: 'Get ready to launch',
detail: 'Put your plan, your page copy, and your checklist together.',
image: __studioImage56fd49cf,
imageAlt: 'The planning guide, workbook and checklist laid out together on a desk',
},
]
return (
<LaunchVideoSeries6
videos={videos.map((video, i) => ({ ...video, itemImage: slot(`item-${i + 1}`, video.image) }))}
current={1}
headline={{ lead: 'Build your first funnel with ', mark: 'a clear plan' }}
subhead={s.lead}
signoff={s.name}
textureImage={slot('texture', '')}
state={state}
/>
)
}
| Name | Type | Details |
|---|---|---|
videos OptionalLaunchVideoSeries6 |
FanVideo[] |
Default DEFAULT_VIDEOS
|
current OptionalLaunchVideoSeries6 |
number |
Default 0
|
headline OptionalLaunchVideoSeries6 |
FanHeadline |
Default { lead: 'Four short videos. ', mark: 'One clear plan.' }
|
subhead OptionalLaunchVideoSeries6 |
string |
Default 'Watch them in order. Each video opens when you finish the one before it.'
|
note OptionalLaunchVideoSeries6 |
string |
|
signoff OptionalLaunchVideoSeries6 |
string |
|
continueLabel OptionalLaunchVideoSeries6 |
string |
|
openLabel OptionalLaunchVideoSeries6 |
string |
|
successNote OptionalLaunchVideoSeries6 |
string |
|
errorNote OptionalLaunchVideoSeries6 |
string |
|
finalNote OptionalLaunchVideoSeries6 |
string |
|
href OptionalLaunchVideoSeries6 |
string |
|
nextHref OptionalLaunchVideoSeries6 |
string |
|
unlocked OptionalLaunchVideoSeries6 |
boolean |
Default false
|
requireFinish OptionalLaunchVideoSeries6 |
boolean |
Default false
|
onAction OptionalLaunchVideoSeries6 |
(nextIndex: number) => void | boolean | Promise<void | boolean> |
|
onContinue OptionalLaunchVideoSeries6 |
(nextIndex: number) => void | boolean | Promise<void | boolean> |
|
onSelect OptionalLaunchVideoSeries6 |
(index: number) => void |
|
textureImage OptionalLaunchVideoSeries6 |
string |
|
paperImage OptionalLaunchVideoSeries6 |
string |
|
sealGuaranteeImage OptionalLaunchVideoSeries6 |
string |
|
stampImage OptionalLaunchVideoSeries6 |
string |
|
matteWhite OptionalLaunchVideoSeries6 |
boolean |
Default false
|
copy OptionalLaunchVideoSeries6 |
Partial<LaunchVideoSeries6Copy> |
|
state OptionalLaunchVideoSeries6 |
LaunchVideoSeries6State |
Default 'default'
|
className OptionalLaunchVideoSeries6 |
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-border--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.
item-*- One image per offer item (item-1, item-2…), shown in stacks and lists.
texture- A subtle background texture.
-
05202332fbd77ebc.webp
image/webp · 117 KB
-
b77916eca54aa689.webp
image/webp · 8.32 KB
-
d435db6662febfcf.webp
image/webp · 10 KB
-
f0a5d3e1e61804ba.webp
image/webp · 11.6 KB