import { children, Show, type JSX } from "solid-js"; /** `
` wrapper: centred column with the page gutter. */ export const Page = (props: { children: JSX.Element; /** Page glow colour; defaults to the copper accent. */ glow?: "accent" | "rose" | "teal"; }) => (
{props.children}
); /** Eyebrow + heading + optional lede, capped to a comfortable measure. */ export const SectionHead = (props: { eyebrow?: string; id: string; title: JSX.Element; children?: JSX.Element; class?: string; }) => { // Resolved once: reading `props.children` twice would build the lede's // elements twice and desync hydration keys. const lede = children(() => props.children); return (

{props.eyebrow}

{props.title}

0}>

{lede()}

); }; /** A "how this is counted/measured" list at the foot of a page. */ export const Method = (props: { id: string; title: string; children: JSX.Element }) => (

{props.title}

);