--- import Kicker from './Kicker.astro'; // Kicker, a statement heading, and an optional lead. Two sizes so chapters do not all open the same way: // big for the chapters that carry the story, md for the rest. interface Props { id: string; title: string; n: string; label: string; icon?: string; lead?: string; size?: 'big' | 'md'; class?: string } const { id, title, n, label, icon, lead, size = 'md', class: extra } = Astro.props; const hasText = Boolean(lead) || Astro.slots.has('default'); const heading = size === 'big' ? 'max-w-[22ch] text-statement font-bold' : 'max-w-[28ch] text-h2 font-bold'; ---

{title}

{hasText && (
{lead &&

{lead}

}
)}