Photo Essay Story 1
Photo essay story: tells the story in large captioned photographs on a dark gallery stage, turns on one big pull sentence, then closes on a spotlit, signed offer document with one clear action.
Use it in a prompt
Use content/photo-essay-story 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/photo-essay-story.tsx. - Import it and pass your copy and images (Props tab):
import { PhotoEssayStory } from "@/components/funneldna/content/photo-essay-story"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/content/photo-essay-story/component.tsx 339 lines
// layout: certificate-document
// Photo essay story: tells the story in large captioned photographs on a dark gallery stage, turns on one big pull sentence, then closes on a spotlit, signed offer document with one clear action.
import * as React from "react";
import { Lock } from "lucide-react";
import { motion, useMotionTemplate, useReducedMotion, useScroll, useTransform } from "motion/react";
import { Backdrop, Divider, FX_HOST, Spotlight } from "../fx/fx";
import nature from "../fx/backdrops/nature";
import torn from "../fx/dividers/torn";
export type PhotoEssayFrame = {
// photo URL; the page passes it through slot()
image: string;
imageAlt: string;
// one to three sentences set beside or under the photo
caption: React.ReactNode;
// date or place line, shown only when supplied
meta?: string;
// photo placement; cycles left, right, full when omitted
width?: "full" | "left" | "right";
};
export type PhotoEssayStoryProps = {
headline?: React.ReactNode;
lead?: React.ReactNode;
// who tells the story, set small under the lead
byline?: React.ReactNode;
frames?: PhotoEssayFrame[];
// the one big sentence at the turning point
pull?: React.ReactNode;
pullAttribution?: React.ReactNode;
// how many frames come before the pull sentence (default: half of them)
pullAfter?: number;
// fx backdrop photo behind the pull sentence; null for a plain band
pullBackdrop?: string | null;
offerTitle?: React.ReactNode;
offerBody?: React.ReactNode;
// supplied price only, e.g. "$47"; the price block hides when empty
price?: string;
priceNote?: React.ReactNode;
instruction?: React.ReactNode;
label?: React.ReactNode;
// one reassurance line under the button
sublabel?: React.ReactNode;
href?: string;
onAction?: () => void;
disabled?: boolean;
// name written in the script signature face
signature?: string;
signerName?: React.ReactNode;
signerRole?: React.ReactNode;
// transparent seal or emblem image (slot "seal-guarantee")
sealImage?: string;
sealAlt?: string;
ps?: React.ReactNode;
psLabel?: React.ReactNode;
state?: "default" | "hover" | "active" | "disabled";
className?: string;
};
const CYCLE = ["left", "right", "full"] as const;
export function PhotoEssayStory(props: PhotoEssayStoryProps) {
const {
headline = "Here’s how it started, one photo at a time",
lead = "Scroll through the moments that led here. Then start your own.",
byline,
frames = [],
pull,
pullAttribution,
pullAfter,
pullBackdrop = nature,
offerTitle = "Start your own story today",
offerBody = "Everything this story taught us, set out so you can follow it step by step.",
price,
priceNote = "one-time payment",
instruction = "Click the button below to get instant access",
label = "Order now",
sublabel,
href,
onAction,
disabled = false,
signature,
signerName,
signerRole,
sealImage,
sealAlt = "",
ps,
psLabel = "P.S.",
state = "default",
className,
} = props;
const uid = React.useId();
const headId = `${uid}-head`;
const offerId = `${uid}-offer`;
const shown = frames.filter((f) => f && f.image);
const count = shown.length;
const pullAt = pull ? clampInt(pullAfter ?? Math.ceil(count / 2), 0, count) : -1;
const isDisabled = disabled || state === "disabled";
const priceParts = price ? splitPrice(price) : null;
const pullNode = pull ? (
<figure
key="pull"
className={`cf-pes__pull${pullBackdrop ? " has-backdrop" : ""}`}
style={pullBackdrop ? FX_HOST : undefined}
>
{pullBackdrop ? <Backdrop src={pullBackdrop} treatment="duotone" slot={null} /> : null}
{pullBackdrop ? <div className="cf-pes__pullShade" aria-hidden="true" /> : null}
<div className="cf-pes__pullInner">
<blockquote className="cf-pes__pullQuote">
<p className="cf-pes__pullText">{pull}</p>
</blockquote>
{pullAttribution ? <figcaption className="cf-pes__pullBy">{pullAttribution}</figcaption> : null}
</div>
</figure>
) : null;
const sequence: React.ReactNode[] = [];
if (pullNode && pullAt === 0) sequence.push(pullNode);
shown.forEach((frame, i) => {
const width = frame.width ?? CYCLE[i % CYCLE.length];
sequence.push(<EssayFrame key={`f${i}`} frame={frame} index={i} width={width} />);
if (pullNode && i + 1 === pullAt) sequence.push(pullNode);
});
const btnClass = `cf-pes__btn${state === "hover" ? " is-hover" : ""}${state === "active" ? " is-active" : ""}`;
const action =
href && !isDisabled ? (
<a className={btnClass} href={href} onClick={onAction ? () => onAction() : undefined}>
{label}
</a>
) : (
<button type="button" className={btnClass} disabled={isDisabled} onClick={() => onAction?.()}>
{label}
</button>
);
return (
<section className={`cf-pes${className ? ` ${className}` : ""}`} aria-labelledby={headId} data-state={state}>
<style>{CSS}</style>
{signature ? (
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Mrs+Saint+Delafield&display=swap" />
) : null}
<header className="cf-pes__wrap cf-pes__head">
<h2 id={headId} className="cf-pes__title">{headline}</h2>
{lead ? <p className="cf-pes__lead">{lead}</p> : null}
{byline ? <p className="cf-pes__byline">{byline}</p> : null}
</header>
{sequence.length ? <div className="cf-pes__essay">{sequence}</div> : null}
<div className="cf-pes__stage" style={FX_HOST}>
<Spotlight />
<div className="cf-pes__plinth">
<div className="cf-pes__floor" aria-hidden="true" />
<article className={`cf-pes__doc${sealImage ? " has-seal" : ""}`} aria-labelledby={offerId}>
{sealImage ? <img className="cf-pes__seal" src={sealImage} alt={sealAlt} loading="eager" /> : null}
<h3 id={offerId} className="cf-pes__docTitle">{offerTitle}</h3>
{offerBody ? <p className="cf-pes__docBody">{offerBody}</p> : null}
{signature || signerName ? (
<div className="cf-pes__sign">
{signature ? <p className="cf-pes__sigScript" aria-hidden={signerName ? "true" : undefined}>{signature}</p> : null}
{signerName ? <p className="cf-pes__sigName">{signerName}</p> : null}
{signerRole ? <p className="cf-pes__sigRole">{signerRole}</p> : null}
</div>
) : null}
<div className="cf-pes__well">
{priceParts ? (
<p className="cf-pes__price">
<span className="cf-pes__fig">
{priceParts.symbol ? <span className="cf-pes__sup">{priceParts.symbol}</span> : null}
{priceParts.amount}
</span>
{priceNote ? <span className="cf-pes__priceNote">{priceNote}</span> : null}
</p>
) : null}
{instruction ? <p className="cf-pes__instr">{instruction}</p> : null}
{action}
{sublabel ? (
<p className="cf-pes__sub">
<Lock className="cf-pes__inl" size={16} strokeWidth={2.5} aria-hidden="true" />
{sublabel}
</p>
) : null}
</div>
{ps ? (
<p className="cf-pes__ps">
<strong>{psLabel}</strong> {ps}
</p>
) : null}
</article>
</div>
</div>
<div className="cf-pes__edge" aria-hidden="true">
<Divider shape="torn" src={torn} tone="surface" height={56} />
</div>
</section>
);
}
export default PhotoEssayStory;
function EssayFrame({ frame, index, width }: { frame: PhotoEssayFrame; index: number; width: "full" | "left" | "right" }) {
const isFull = width === "full";
return (
<figure className={`cf-pes__frame cf-pes__frame--${width}${isFull ? "" : " cf-pes__frame--inset"}`}>
<EssayPhoto src={frame.image} alt={frame.imageAlt} first={index === 0} wide={isFull} />
<figcaption className="cf-pes__cap">
<div className="cf-pes__capHead">
<span className="cf-pes__num" aria-hidden="true">{String(index + 1).padStart(2, "0")}</span>
{frame.meta ? <span className="cf-pes__meta">{frame.meta}</span> : null}
</div>
<p className="cf-pes__capText">{frame.caption}</p>
</figcaption>
</figure>
);
}
// Signature motion: the photo eases from a slightly desaturated, slightly scaled state to full colour as it reaches the centre of the screen.
// Visibility never depends on scroll: every photo loads eagerly and paints at once (a static frame or full-page capture shows it in colour-muted form at worst).
function EssayPhoto({ src, alt, first, wide }: { src: string; alt: string; first: boolean; wide: boolean }) {
const ref = React.useRef<HTMLDivElement>(null);
const reduce = useReducedMotion();
const { scrollYProgress } = useScroll({ target: ref, offset: ["start end", "center center"] });
const sat = useTransform(scrollYProgress, [0, 1], [0.45, 1]);
const bright = useTransform(scrollYProgress, [0, 1], [0.92, 1]);
const scale = useTransform(scrollYProgress, [0, 1], [1.06, 1]);
const filter = useMotionTemplate`saturate(${sat}) brightness(${bright})`;
return (
<div ref={ref} className="cf-pes__photo">
<motion.img
src={src}
alt={alt}
width={wide ? 2100 : 1500}
height={wide ? 900 : 1000}
loading="eager"
decoding="auto"
fetchPriority={first ? "high" : "auto"}
style={reduce ? undefined : { filter, scale }}
/>
</div>
);
}
function clampInt(n: number, min: number, max: number) {
const v = Math.round(Number.isFinite(n) ? n : min);
return Math.min(max, Math.max(min, v));
}
function splitPrice(price: string) {
const t = price.trim();
let i = 0;
while (i < t.length && !/[0-9]/.test(t[i])) i++;
if (i >= t.length) return { symbol: "", amount: t };
return { symbol: t.slice(0, i).trim(), amount: t.slice(i) };
}
const CSS = `
.cf-pes{--pes-gutter:clamp(16px,5vw,48px);--pes-ink:var(--band-ink,#fff);--pes-soft:color-mix(in oklab,var(--band-ink,#fff) 80%,var(--band,#1b2a4a));--pes-shadow:var(--shadow,oklch(0.22 0.03 260));--signature-ink:var(--ink,#101828);--signature-font:var(--signature-face,"Mrs Saint Delafield",var(--font-display));position:relative;overflow:hidden;background:var(--band,#1b2a4a);color:var(--pes-ink);font-family:var(--font-body);padding:clamp(56px,8vw,112px) 0 calc(clamp(40px,6vw,88px) + 56px)}
.cf-pes *,.cf-pes *::before,.cf-pes *::after{box-sizing:border-box}
.cf-pes__wrap{width:min(1120px,100% - 2*var(--pes-gutter));margin-inline:auto}
.cf-pes__head{max-width:none}
.cf-pes__head > *{max-width:48rem}
.cf-pes__title{margin:0 0 24px;font-family:var(--font-display);font-weight:var(--display-weight,800);letter-spacing:var(--display-tracking,-0.025em);text-transform:var(--display-case,none);font-size:clamp(2rem,3.6vw,3.25rem);line-height:1.06;text-wrap:balance;color:var(--pes-ink)}
.cf-pes__lead{margin:0;font-size:clamp(1.125rem,1.5vw,1.375rem);line-height:1.4;font-weight:500;color:var(--pes-soft);text-wrap:pretty}
.cf-pes__byline{margin:24px 0 0;font-size:.9375rem;line-height:1.4;font-weight:600;color:var(--pes-soft)}
.cf-pes__essay{display:flex;flex-direction:column;gap:clamp(56px,9vw,128px);margin-top:clamp(48px,7vw,96px)}
.cf-pes__frame{margin:0}
.cf-pes__frame--inset{width:min(1120px,100% - 2*var(--pes-gutter));margin-inline:auto;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:clamp(24px,3vw,40px);align-items:start}
.cf-pes__frame--left .cf-pes__photo{grid-column:1/span 8;grid-row:1}
.cf-pes__frame--left .cf-pes__cap{grid-column:9/span 4;grid-row:1}
.cf-pes__frame--right .cf-pes__photo{grid-column:5/span 8;grid-row:1}
.cf-pes__frame--right .cf-pes__cap{grid-column:1/span 4;grid-row:1}
.cf-pes__photo{position:relative;overflow:hidden;border-radius:12px;aspect-ratio:3/2;background:color-mix(in oklab,var(--band-ink,#fff) 8%,var(--band,#1b2a4a))}
.cf-pes__photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 50%;transform-origin:50% 50%}
.cf-pes__frame--full .cf-pes__photo{border-radius:0;aspect-ratio:21/9}
.cf-pes__frame--inset .cf-pes__cap{padding-top:4px}
.cf-pes__frame--full .cf-pes__cap{width:min(1120px,100% - 2*var(--pes-gutter));margin:24px auto 0;display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:clamp(24px,3vw,40px)}
.cf-pes__frame--full .cf-pes__capHead{grid-column:1/span 4}
.cf-pes__frame--full .cf-pes__capText{grid-column:5/span 8}
.cf-pes__capHead{display:flex;flex-direction:column;gap:8px;margin-bottom:12px}
.cf-pes__num{font-family:var(--font-display);font-weight:var(--display-weight,800);font-size:clamp(1.3125rem,1.8vw,1.625rem);line-height:1.15;letter-spacing:-0.01em;font-variant-numeric:tabular-nums;color:var(--pes-ink)}
.cf-pes__meta{font-size:.9375rem;line-height:1.4;font-weight:600;color:var(--pes-soft);text-wrap:pretty}
.cf-pes__capText{margin:0;font-size:clamp(1.0625rem,1.25vw,1.125rem);line-height:1.5;font-weight:400;color:var(--pes-ink);text-wrap:pretty;max-width:60ch}
.cf-pes__pull{position:relative;isolation:isolate;margin:0;padding:clamp(72px,11vw,160px) 0}
.cf-pes__pullShade{position:absolute;inset:0;z-index:1;background:oklch(from var(--band,#1b2a4a) l c h / .6);pointer-events:none}
.cf-pes__pullInner{position:relative;z-index:2;width:min(1000px,100% - 2*var(--pes-gutter));margin-inline:auto;text-align:center}
.cf-pes__pullQuote{margin:0}
.cf-pes__pullText{margin:0;font-family:var(--font-display);font-weight:var(--display-weight,800);letter-spacing:var(--display-tracking,-0.025em);text-transform:var(--display-case,none);font-size:clamp(2.5rem,5.4vw,4.875rem);line-height:1.04;text-wrap:balance;color:var(--pes-ink)}
.cf-pes__pullBy{margin:40px 0 0;font-size:.9375rem;line-height:1.4;font-weight:600;color:var(--pes-soft)}
.cf-pes__stage{position:relative;margin-top:clamp(64px,10vw,144px);padding:clamp(56px,8vw,112px) 0 48px}
.cf-pes__plinth{position:relative;z-index:2;width:min(46rem,100% - 2*var(--pes-gutter));margin-inline:auto}
.cf-pes__floor{position:absolute;z-index:0;left:50%;bottom:-32px;width:92%;height:64px;transform:translateX(-50%);background:radial-gradient(closest-side,oklch(from var(--pes-shadow) calc(l - .08) c h / .75),oklch(from var(--pes-shadow) l c h / 0));pointer-events:none}
.cf-pes__doc{position:relative;z-index:1;background:var(--card,#fff);color:var(--ink,#101828);border:1px solid var(--card-border,oklch(from var(--ink,#101828) l c h / .12));border-radius:var(--card-radius,var(--radius,14px));box-shadow:var(--card-shadow,var(--shadow-lg,0 2px 4px oklch(0.22 0.03 260 / .22),0 12px 24px -8px oklch(0.22 0.03 260 / .32)));padding:clamp(36px,5vw,64px) clamp(24px,5vw,64px);text-align:center}
.cf-pes__doc::before{content:"";position:absolute;inset:10px;border:1px solid oklch(from var(--ink,#101828) l c h / .16);border-radius:calc(var(--card-radius,var(--radius,14px)) - 6px);box-shadow:inset 0 0 0 3px var(--card,#fff),inset 0 0 0 4px oklch(from var(--ink,#101828) l c h / .09);pointer-events:none}
.cf-pes__doc.has-seal{padding-top:clamp(72px,8vw,88px)}
.cf-pes__seal{position:absolute;z-index:3;top:calc(-1 * clamp(36px,4vw,52px));right:clamp(12px,3vw,32px);width:clamp(84px,10vw,128px);height:auto;aspect-ratio:1;object-fit:contain;filter:drop-shadow(0 2px 3px oklch(from var(--pes-shadow) l c h / .35)) drop-shadow(0 10px 14px oklch(from var(--pes-shadow) l c h / .3))}
.cf-pes__docTitle{position:relative;margin:0 0 24px;font-family:var(--font-display);font-weight:var(--display-weight,800);letter-spacing:var(--display-tracking,-0.025em);text-transform:var(--display-case,none);font-size:clamp(2rem,3.6vw,3.25rem);line-height:1.06;text-wrap:balance;color:var(--ink,#101828)}
.cf-pes__docBody{position:relative;margin:0 auto;max-width:56ch;font-size:clamp(1.0625rem,1.25vw,1.125rem);line-height:1.5;color:var(--ink,#101828);text-wrap:pretty}
.cf-pes__sign{position:relative;margin-top:28px}
.cf-pes__sigScript{margin:0 0 4px;font-family:var(--signature-font);font-weight:400;font-size:clamp(2.5rem,4vw,3.25rem);line-height:1.1;color:var(--signature-ink)}
.cf-pes__sigName{margin:0;font-size:.9375rem;line-height:1.4;font-weight:700;color:var(--ink,#101828)}
.cf-pes__sigRole{margin:0;font-size:.9375rem;line-height:1.4;font-weight:500;color:var(--muted,#475467)}
.cf-pes__well{position:relative;margin-top:32px;padding:clamp(24px,4vw,36px) clamp(16px,4vw,32px);border-radius:10px;background:color-mix(in oklch,var(--ink,#101828) 4%,var(--card,#fff))}
.cf-pes__price{margin:0 0 24px;display:flex;flex-direction:column;align-items:center}
.cf-pes__fig{display:block;font-family:var(--font-display);font-weight:var(--display-weight,800);font-size:clamp(3.5rem,6vw,4.875rem);line-height:1.1;letter-spacing:-0.03em;font-variant-numeric:tabular-nums;color:var(--ink,#101828)}
.cf-pes__sup{display:inline-block;vertical-align:top;font-size:.45em;line-height:1;margin:.12em .04em 0 0;letter-spacing:0}
.cf-pes__priceNote{margin-top:24px;font-size:.9375rem;line-height:1.4;font-weight:700;letter-spacing:.02em;color:var(--muted,#475467)}
.cf-pes__instr{margin:0 auto 16px;max-width:40ch;font-size:clamp(1.0625rem,1.25vw,1.125rem);line-height:1.5;font-weight:700;color:var(--ink,#101828);text-wrap:pretty}
.cf-pes__btn{display:inline-flex;align-items:center;justify-content:center;min-height:72px;min-width:min(100%,340px);padding:0 40px;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;white-space:nowrap;text-decoration:none;cursor:pointer;color:var(--button-ink,var(--cta-ink,#fff));text-shadow:var(--button-text-shadow,none);background:linear-gradient(oklch(from var(--button-bg,var(--cta,#d8352a)) calc(l + .04) c h),oklch(from var(--button-bg-2,var(--cta-2,#b52a20)) calc(l - .02) c h));box-shadow:var(--button-shadow,inset 0 1px 0 oklch(from var(--button-bg,var(--cta,#d8352a)) calc(l + .14) c h / .7),inset 0 -3px 0 oklch(from var(--button-bg,var(--cta,#d8352a)) calc(l - .16) c h),0 1px 2px oklch(from var(--pes-shadow) l c h / .3),0 8px 16px -6px oklch(from var(--pes-shadow) l c h / .45));transition:transform .16s ease,box-shadow .16s ease,background .16s ease}
.cf-pes__btn:hover,.cf-pes__btn.is-hover{background:linear-gradient(oklch(from var(--button-bg,var(--cta,#d8352a)) calc(l - .01) c h),oklch(from var(--button-bg-2,var(--cta-2,#b52a20)) calc(l - .07) c h));box-shadow:var(--button-shadow,inset 0 1px 0 oklch(from var(--button-bg,var(--cta,#d8352a)) calc(l + .1) c h / .7),inset 0 -3px 0 oklch(from var(--button-bg,var(--cta,#d8352a)) calc(l - .2) c h),0 1px 2px oklch(from var(--pes-shadow) l c h / .34),0 10px 18px -6px oklch(from var(--pes-shadow) l c h / .55))}
.cf-pes__btn:active,.cf-pes__btn.is-active{transform:translateY(1px);box-shadow:inset 0 2px 4px oklch(from var(--button-bg,var(--cta,#d8352a)) calc(l - .22) c h / .55),inset 0 -2px 0 oklch(from var(--button-bg,var(--cta,#d8352a)) calc(l - .16) c h),0 1px 1px oklch(from var(--pes-shadow) l c h / .3)}
.cf-pes__btn:focus-visible{outline:3px solid var(--field-focus,var(--accent,#2f6fdb));outline-offset:3px}
.cf-pes__btn:disabled{cursor:not-allowed;transform:none;background:var(--button-2-bg,var(--secondary,#e6e9f0));color:var(--button-2-ink,var(--secondary-ink,#101828));text-shadow:none;box-shadow:var(--button-2-shadow,var(--shadow-sm,0 1px 2px oklch(0.22 0.03 260 / .2)))}
.cf-pes__sub{margin:16px 0 0;font-size:.9375rem;line-height:1.4;font-weight:500;color:var(--muted,#475467);text-wrap:pretty}
.cf-pes__inl{display:inline-block;vertical-align:-0.15em;margin-inline-end:.4em}
.cf-pes__ps{position:relative;margin:24px auto 0;max-width:56ch;font-size:clamp(1.0625rem,1.25vw,1.125rem);line-height:1.5;color:var(--ink,#101828);text-wrap:pretty}
.cf-pes__ps strong{font-weight:800}
.cf-pes__edge{position:absolute;left:0;right:0;bottom:0;height:56px;z-index:3;pointer-events:none}
@media (max-width:760px){
.cf-pes__frame--inset{grid-template-columns:minmax(0,1fr)}
.cf-pes__frame--inset .cf-pes__photo,.cf-pes__frame--inset .cf-pes__cap{grid-column:1;grid-row:auto}
.cf-pes__frame--inset .cf-pes__cap{margin-top:16px;padding-top:0}
.cf-pes__photo,.cf-pes__frame--full .cf-pes__photo{aspect-ratio:4/3}
.cf-pes__frame--full .cf-pes__cap{display:block;margin-top:16px}
.cf-pes__capHead{flex-direction:row;flex-wrap:wrap;align-items:baseline;column-gap:12px;row-gap:4px;margin-bottom:8px}
.cf-pes__btn{width:100%;padding:0 24px}
}
@media (prefers-reduced-motion:reduce){
.cf-pes__btn{transition:none}
.cf-pes__btn:active,.cf-pes__btn.is-active{transform:none}
}
`;
pieces/content/photo-essay-story/specimen.tsx 58 lines
import __studioImage9d49e29d from "../assets/f0c02ee46a085ae6.webp";
import __studioImage9ea8d6e9 from "../assets/f7322ec2d559b84b.webp";
import __studioImage412e1854 from "../assets/bfa117cf02f20856.webp";
import * as React from "react";
import PhotoEssayStory from "../photo-essay-story";
import defaults from "../../studio-defaults.json";
import { slot } from "../../slots";
export const states = ["default", "hover", "active", "disabled"];
export default function PhotoEssayStorySpecimen({ state }: { state?: "default" | "hover" | "active" | "disabled" }) {
const s = defaults.sample;
return (
<PhotoEssayStory
state={state}
headline="The Saturday I stopped waiting for someone else to clean the river"
lead="I walked down to Alder Creek with two trash bags and a pair of borrowed waders. Here’s what that first morning looked like, and the plan it turned into."
byline="Told by Maya Ellison, founder of Riverkeep Collective"
frames={[
{
image: slot("scene", __studioImage9d49e29d),
imageAlt: "A woman in waders stands in a misty creek at dawn holding an open trash bag, litter caught in the reeds around her",
meta: "6:40 a.m. · Alder Creek, east bank",
caption: "I went alone. Two contractor bags, gloves from the hardware store, and no plan beyond the next bend in the river.",
width: "left",
},
{
image: slot("scene-2", __studioImage9ea8d6e9),
imageAlt: "Gloved hands pull a muddy bottle and fishing line from shallow water under a concrete bridge, full trash bags on the bank",
meta: "Mid-morning · Under the Route 9 bridge",
caption: "The bridge was the worst of it. Both bags were full before ten, and the bank still looked untouched.",
width: "right",
},
{
image: slot("scene-3", __studioImage412e1854),
imageAlt: "Seven neighbours in boots and gloves walk a grassy creek bank in late-afternoon light, filled bags lined up by the water",
meta: "Two weeks later · Back at Alder Creek",
caption: "So I wrote it all down: who to call for the permit, the sign-up sheet, the gear list. Then I asked six neighbours to come back with me.",
width: "full",
},
]}
pull="One bag was never going to be enough. A plan was."
pullAttribution="Maya Ellison"
pullAfter={2}
offerTitle="Plan your first river cleanup this weekend"
offerBody="The First Cleanup Field Kit is the plan I wrote after that morning: the permit call script, the volunteer sign-up sheet and the gear checklist, in one download."
signature="Maya Ellison"
signerName="Maya Ellison"
signerRole="Founder, Riverkeep Collective"
price={s.price}
priceNote="one-time payment"
instruction="Click the button below to get instant access"
label="Order now"
sublabel={s.sublabel}
ps={`Take the kit to your own stretch of river. If it isn’t the plan you needed, you’re covered by our ${s.guarantee}.`}
/>
);
}
| Name | Type | Details |
|---|---|---|
headline OptionalPhotoEssayStory |
React.ReactNode |
|
lead OptionalPhotoEssayStory |
React.ReactNode |
|
byline OptionalPhotoEssayStory |
React.ReactNode |
|
frames OptionalPhotoEssayStory |
PhotoEssayFrame[] |
|
pull OptionalPhotoEssayStory |
React.ReactNode |
|
pullAttribution OptionalPhotoEssayStory |
React.ReactNode |
|
pullAfter OptionalPhotoEssayStory |
number |
|
pullBackdrop OptionalPhotoEssayStory |
string | null |
|
offerTitle OptionalPhotoEssayStory |
React.ReactNode |
|
offerBody OptionalPhotoEssayStory |
React.ReactNode |
|
price OptionalPhotoEssayStory |
string |
|
priceNote OptionalPhotoEssayStory |
React.ReactNode |
|
instruction OptionalPhotoEssayStory |
React.ReactNode |
|
label OptionalPhotoEssayStory |
React.ReactNode |
|
sublabel OptionalPhotoEssayStory |
React.ReactNode |
|
href OptionalPhotoEssayStory |
string |
|
onAction OptionalPhotoEssayStory |
() => void |
|
disabled OptionalPhotoEssayStory |
boolean |
|
signature OptionalPhotoEssayStory |
string |
|
signerName OptionalPhotoEssayStory |
React.ReactNode |
|
signerRole OptionalPhotoEssayStory |
React.ReactNode |
|
sealImage OptionalPhotoEssayStory |
string |
|
sealAlt OptionalPhotoEssayStory |
string |
|
ps OptionalPhotoEssayStory |
React.ReactNode |
|
psLabel OptionalPhotoEssayStory |
React.ReactNode |
|
state OptionalPhotoEssayStory |
"default" | "hover" | "active" | "disabled" |
|
className OptionalPhotoEssayStory |
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.
--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.
scene- A wide atmosphere photo behind or beside the copy.
scene-2- An image this piece places.
scene-3- An image this piece places.
-
8276864f4b8e6ac1.webp
image/webp · 47 KB
-
9a2ebdab5ff4fcc4.webp
image/webp · 3.64 KB
-
b77916eca54aa689.webp
image/webp · 8.32 KB
-
bfa117cf02f20856.webp
image/webp · 137 KB
-
d435db6662febfcf.webp
image/webp · 10 KB
-
f0a5d3e1e61804ba.webp
image/webp · 11.6 KB
-
f0c02ee46a085ae6.webp
image/webp · 229 KB
-
f7322ec2d559b84b.webp
image/webp · 226 KB