Files
Voiced/src/pdf/templates/northline/layoutFor.tsx
T
xavierk d82515feee Add the Northline template family: Purple Pop and Citrus Split
Purple Pop (cream page, purple pills, asterisk and dome decor, opt-in
logo) and Citrus Split (grey split panel, halftone chevrons, icon
contacts, logo in the measured slot) are rebuilt from the Canva PDFs on
the engine with A4/Letter support, GST slots and zero audit errors. Adds
static DM Sans, Jost and Poppins 800 as look-alikes for the commercial
fonts. The picker now lists ten templates.
2026-10-04 09:56:56 +05:30

12 lines
548 B
TypeScript

import type { ComponentType } from "react";
import type { TemplateProps } from "../contract";
import { NorthlineLayout } from "./Layout";
import type { NorthlineVariant } from "./variant";
/** The family component bound to one variant's tokens, as the TemplateDefinition's Layout. */
export function NorthlineLayoutFor(variant: NorthlineVariant): ComponentType<TemplateProps> {
const Layout = (props: TemplateProps) => <NorthlineLayout {...props} variant={variant} />;
Layout.displayName = `NorthlineLayout(${variant.id})`;
return Layout;
}