Split Photo Panel 1
Half photo, half solid brand panel with the promise set huge; a cold big-promise ad that drives free-estimate requests.
The sample's post copy
Sample brand, fictional copy: the pattern to follow, written for the person's real offer.
- Platform 4 characters
- meta
- Primary text 212 characters
- Your kitchen remodel, priced in writing before the first cabinet comes off.
One price.
Written.
Before demo day. Brenwick Builders remodels kitchens, baths and additions within 25 miles.
Get your free estimate. - Headline 33 characters
- One written price before demo day
- Description 21 characters
- Free in-home estimate
- Button 9 characters
- Get Quote
What it is for
- Angle
- big promise
- Temperature
- cold
- Archetype
- split panel
- Sends people to
- free estimate
- Words on the image
- At most 20
Use it in a prompt
Make the ads/split-photo-panel ad from the FunnelDNA library in my brand, at every size (square, portrait, story, landscape), with post copy written the way the sample's is. Follow the ads skill. Ask me for the offer, images and facts 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/ads/split-photo-panel.tsx. - Import it and pass your copy and images (Props tab):
import { SplitPhotoPanel } from "@/components/funneldna/ads/split-photo-panel"
It restyles from the theme tokens on any wrapper (Theme tab). The specimen source is a complete working example.
pieces/ads/split-photo-panel/component.tsx 139 lines
// archetype: split-panel
// When to use: Half photo, half solid brand panel with the promise set huge; a cold big-promise ad that drives free-estimate requests.
// Cold big-promise ad: a scene photo and a flat brand panel meet on a hard diagonal with an accent stripe, the promise set huge on the panel and one cue to the free-estimate page.
import * as React from "react";
import { AdFrame, AdHeadline, Cue, LogoMark, type AdFormat } from "../fx/ad-kit";
export type SplitPhotoPanelProps = {
format?: AdFormat;
/** The promise, 12 words or fewer; "\n" forces an authored line break. */
headline?: string;
/** One phrase inside the headline set on the accent block (empty: no emphasis). */
highlight?: string;
/** One support line, such as the service area. Supplied fact only; not drawn when empty. */
support?: string;
/** The landing page button's exact words. */
cue?: string;
/** Optional short line under the cue label (two-line button). Not drawn when empty. */
cueNote?: string;
/** Scene photo; the specimen passes slot("scene", designed). */
photo?: string;
photoAlt?: string;
/** object-position for the photo crop, e.g. "50% 40%". */
photoPosition?: string;
/** Logo image (slot "logo"), knocked out to the panel's text colour. Empty: the brand name is set as a wordmark. */
logo?: string;
/** Brand name: the logo's alt text, or the wordmark when no logo image is given. */
brand?: string;
/** Swap sides: panel on the right in square and landscape; diagonal mirrored in portrait and story (panel stays on top for the safe zone, cue moves to the deep side). */
flip?: boolean;
className?: string;
};
export const formats: AdFormat[] = ["square", "portrait", "story", "landscape"];
export const lead: AdFormat = "portrait";
export const wordCap = 20;
export function SplitPhotoPanel(props: SplitPhotoPanelProps) {
const {
format = "portrait",
headline = "Start your remodel with one clear plan.",
highlight = "",
support = "",
cue = "Get my estimate",
cueNote = "",
photo = "",
photoAlt = "",
photoPosition = "50% 50%",
logo = "",
brand = "",
flip = false,
className,
} = props;
const axis = format === "square" || format === "landscape" ? "x" : "y";
return (
<AdFrame format={format} className={className}>
<style href="cf-split-photo-panel" precedence="default">{CSS}</style>
<div
className="cf-split-photo-panel"
data-layout={format}
data-axis={axis}
data-flip={flip ? "true" : "false"}
>
<div className="sp-stripe" aria-hidden="true" />
<div className="sp-photo">
<div className="sp-clip">
{photo ? <img src={photo} alt={photoAlt} style={{ objectPosition: photoPosition }} /> : null}
</div>
</div>
<LogoMark src={logo || undefined} brand={brand} className="sp-logo" />
<div className="sp-copy">
<AdHeadline as="h1" text={headline} highlight={highlight} mark="block" className="sp-headline" />
{support ? <p className="sp-support">{support}</p> : null}
<div className="sp-cue">
<Cue note={cueNote}>{cue}</Cue>
</div>
</div>
</div>
</AdFrame>
);
}
export default SplitPhotoPanel;
// Geometry per format: --a0/--a1 are the stripe edge at the start/end of the split axis, --g the stripe width,
// --imgs where the photo's crop box begins, --hs/--ss/--cs headline, support and cue sizes in stage px.
// Text sits on the flat band only, never on the photo; the copy is bottom-anchored so the cue's position is fixed
// and its far end keeps at least 40px of panel before the stripe, while the headline grows upward toward the logo.
const CSS = `
.cf-split-photo-panel{--px:calc(var(--u,1)*1px);--m:calc(64*var(--px));--sh:var(--shadow,oklch(0.22 0.03 260));--sp-well:color-mix(in oklch,var(--ink) 10%,var(--card,#ffffff));position:absolute;inset:0;overflow:hidden;background:var(--band,oklch(0.26 0.05 260));color:var(--band-ink,oklch(0.97 0.01 260));font-family:var(--font-body);}
.cf-split-photo-panel .sp-stripe{position:absolute;inset:0;background:var(--accent-fill,var(--accent));}
.cf-split-photo-panel .sp-photo{position:absolute;inset:0;}
.cf-split-photo-panel .sp-clip{position:absolute;inset:0;overflow:hidden;background:var(--sp-well);}
.cf-split-photo-panel .sp-clip img{position:absolute;display:block;object-fit:cover;}
.cf-split-photo-panel .sp-logo{position:absolute;top:var(--logo-top,var(--m));left:var(--m);color:var(--band-ink,oklch(0.97 0.01 260));}
.cf-split-photo-panel .sp-copy{position:absolute;left:var(--m);bottom:var(--copy-bottom,var(--m));width:var(--copy-w);display:flex;flex-direction:column;align-items:flex-start;}
.cf-split-photo-panel .sp-headline{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:calc(var(--hs)*var(--px));line-height:1.03;color:var(--band-ink,oklch(0.97 0.01 260));text-wrap:balance;}
.cf-split-photo-panel .sp-headline .fd-ad-mark[data-style=block]{padding:0 0.08em;margin:0 -0.02em;border-radius:calc(6*var(--px));}
.cf-split-photo-panel .sp-support{margin:calc(var(--sup-gap,32)*var(--px)) 0 0;max-width:var(--support-w,100%);font-family:var(--font-body);font-size:calc(var(--ss)*var(--px));line-height:1.3;font-weight:500;color:var(--band-ink,oklch(0.97 0.01 260));text-wrap:pretty;}
.cf-split-photo-panel .sp-cue{margin-top:calc(var(--cue-gap,40)*var(--px));--cue-fs:calc(var(--cs,40)*var(--px));}
/* split left/right: panel left, photo right */
.cf-split-photo-panel[data-axis=x] .sp-stripe{clip-path:polygon(var(--a0) 0,100% 0,100% 100%,var(--a1) 100%);}
.cf-split-photo-panel[data-axis=x] .sp-clip{clip-path:polygon(calc(var(--a0) + var(--g)) 0,100% 0,100% 100%,calc(var(--a1) + var(--g)) 100%);}
.cf-split-photo-panel[data-axis=x] .sp-clip img{top:0;height:100%;left:var(--imgs);width:calc(100% - var(--imgs));}
.cf-split-photo-panel[data-axis=x] .sp-photo{filter:drop-shadow(calc(-4*var(--px)) 0 calc(2*var(--px)) oklch(from var(--sh) l c h / 0.45)) drop-shadow(calc(-12*var(--px)) 0 calc(16*var(--px)) oklch(from var(--sh) l c h / 0.22));}
/* flipped left/right: photo left, panel right (point-mirrored diagonal) */
.cf-split-photo-panel[data-axis=x][data-flip=true] .sp-stripe{clip-path:polygon(0 0,var(--a0) 0,var(--a1) 100%,0 100%);}
.cf-split-photo-panel[data-axis=x][data-flip=true] .sp-clip{clip-path:polygon(0 0,calc(var(--a0) - var(--g)) 0,calc(var(--a1) - var(--g)) 100%,0 100%);}
.cf-split-photo-panel[data-axis=x][data-flip=true] .sp-clip img{left:0;width:var(--imgs);}
.cf-split-photo-panel[data-axis=x][data-flip=true] .sp-photo{filter:drop-shadow(calc(4*var(--px)) 0 calc(2*var(--px)) oklch(from var(--sh) l c h / 0.45)) drop-shadow(calc(12*var(--px)) 0 calc(16*var(--px)) oklch(from var(--sh) l c h / 0.22));}
.cf-split-photo-panel[data-axis=x][data-flip=true] .sp-logo{left:auto;right:var(--m);}
.cf-split-photo-panel[data-axis=x][data-flip=true] .sp-copy{left:auto;right:var(--m);}
/* split top/bottom: panel on top, photo below */
.cf-split-photo-panel[data-axis=y] .sp-stripe{clip-path:polygon(0 var(--a0),100% var(--a1),100% 100%,0 100%);}
.cf-split-photo-panel[data-axis=y] .sp-clip{clip-path:polygon(0 calc(var(--a0) + var(--g)),100% calc(var(--a1) + var(--g)),100% 100%,0 100%);}
.cf-split-photo-panel[data-axis=y] .sp-clip img{left:0;width:100%;top:var(--imgs);height:calc(100% - var(--imgs));}
.cf-split-photo-panel[data-axis=y] .sp-photo{filter:drop-shadow(0 calc(-4*var(--px)) calc(2*var(--px)) oklch(from var(--sh) l c h / 0.45)) drop-shadow(0 calc(-12*var(--px)) calc(16*var(--px)) oklch(from var(--sh) l c h / 0.22));}
/* flipped top/bottom: the panel is deep on the right, so the cue moves to that side */
.cf-split-photo-panel[data-axis=y][data-flip=true] .sp-cue{align-self:flex-end;}
/* square 1080x1080: the promise owns the wide side, photo on the slant; cue ends ~60px before the stripe */
.cf-split-photo-panel[data-layout=square]{--a0:70%;--a1:58%;--g:2.6%;--imgs:54%;--hs:80;--ss:30;--cs:38;--copy-w:calc(520*var(--px));--sup-gap:32;--cue-gap:40;}
.cf-split-photo-panel[data-layout=square][data-flip=true]{--a0:42%;--a1:30%;--imgs:48%;}
/* landscape 1200x628: side by side, 48px margins, support line kept */
.cf-split-photo-panel[data-layout=landscape]{--m:calc(43.2*var(--px));--a0:64%;--a1:52%;--g:2.4%;--imgs:50%;--hs:60;--ss:24;--cs:32;--copy-w:calc(520*var(--px));--sup-gap:24;--cue-gap:32;}
.cf-split-photo-panel[data-layout=landscape][data-flip=true]{--a0:46%;--a1:34%;--imgs:50%;}
/* portrait 1080x1350: logo in the top band, panel on top, photo keeps ~47% of the height; cue bottom at 628px */
.cf-split-photo-panel[data-layout=portrait]{--a0:57%;--a1:45%;--g:2.2%;--imgs:44%;--hs:100;--ss:34;--cs:42;--copy-w:calc(100% - 2*var(--m));--support-w:86%;--copy-bottom:calc(722*var(--px));--sup-gap:32;--cue-gap:40;}
.cf-split-photo-panel[data-layout=portrait][data-flip=true]{--a0:45%;--a1:57%;--imgs:44%;}
/* story 1080x1920: logo just under the 250px safe line, type hero fills the panel to the cue, photo keeps ~45% of the height */
.cf-split-photo-panel[data-layout=story]{--a0:57%;--a1:49%;--g:1.6%;--imgs:48%;--hs:124;--ss:36;--cs:42;--copy-w:calc(100% - 2*var(--m));--support-w:90%;--copy-bottom:calc(960*var(--px));--logo-top:calc(262*var(--px));--sup-gap:28;--cue-gap:40;}
.cf-split-photo-panel[data-layout=story][data-flip=true]{--a0:49%;--a1:57%;--imgs:48%;}
`;
pieces/ads/split-photo-panel/specimen.tsx 47 lines
import __studioImage80673dec from "../assets/148cf8cd81acf6a8.webp";
import SplitPhotoPanel, { formats } from "../split-photo-panel";
import type { AdFormat } from "../../fx/ad-kit";
import { slot } from "../../slots";
// Sample brand (fictional): Brenwick Builders, kitchen and bath remodels. The scene photo is a generated illustration.
const brenwickLogo = "data:image/svg+xml," + encodeURIComponent(
`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 224 60"><path fill="currentColor" fill-rule="evenodd" d="M28 4 2 27h8v29h36V27h8zM22 56V39h12v17z"/><text x="64" y="33" font-family="Helvetica, Arial, sans-serif" font-size="30" font-weight="700" letter-spacing="-.5" fill="currentColor">Brenwick</text><text x="65" y="54" font-family="Helvetica, Arial, sans-serif" font-size="14" font-weight="700" letter-spacing="4.2" fill="currentColor">BUILDERS</text></svg>`,
);
export const states = [...formats];
export const copy = {
platform: "meta",
primary_text:
"Your kitchen remodel, priced in writing before the first cabinet comes off.\n\nOne price.\nWritten.\nBefore demo day.\n\nBrenwick Builders remodels kitchens, baths and additions within 25 miles.\nGet your free estimate.",
headline: "One written price before demo day",
description: "Free in-home estimate",
cta: "Get Quote",
};
// Sample brand (coral-cobalt palette, invented): previews, the pack and the site show this ad in it by default.
export const sampleBrand = {
name: "Brenwick Builders",
theme: "light",
background: "#f5f7fc",
colors: ["#2c4bdb", "#f0623f"],
fonts: ["Roboto Slab", "Roboto"],
button: "square-caps",
}
export default function Demo({ state = "portrait" }: { state?: string }) {
return (
<SplitPhotoPanel
format={(formats.includes(state as AdFormat) ? state : "portrait") as AdFormat}
headline="One written price before demo day."
highlight="One written price"
support="Kitchens, baths and additions within 25 miles"
cue="Get my free estimate"
photo={slot("scene", __studioImage80673dec)}
photoAlt="A contractor checking a level on a new kitchen island mid-remodel"
photoPosition="55% 45%"
logo={slot("logo", brenwickLogo)}
brand="Brenwick Builders"
/>
);
}
| Name | Type | Details |
|---|---|---|
format OptionalSplitPhotoPanel |
AdFormat |
|
headline OptionalSplitPhotoPanel |
string |
|
highlight OptionalSplitPhotoPanel |
string |
|
support OptionalSplitPhotoPanel |
string |
|
cue OptionalSplitPhotoPanel |
string |
|
cueNote OptionalSplitPhotoPanel |
string |
|
photo OptionalSplitPhotoPanel |
string |
|
photoAlt OptionalSplitPhotoPanel |
string |
|
photoPosition OptionalSplitPhotoPanel |
string |
|
logo OptionalSplitPhotoPanel |
string |
|
brand OptionalSplitPhotoPanel |
string |
|
flip OptionalSplitPhotoPanel |
boolean |
|
className OptionalSplitPhotoPanel |
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.
--display-case--display-tracking--display-weight- Headlines: weight, letter case and tracking.
Image slots
Filled from the brand’s images; the specimen ships its own defaults.
logo- The brand’s logo mark.
scene- A wide atmosphere photo behind or beside the copy.
-
148cf8cd81acf6a8.webp
image/webp · 46.8 KB