organisms
Hero section
The homepage opening, a full-viewport title over the accession label, followed by one mission-statement section per statement.
Specimens
- Russell Lebo / Selected Works2008-2026
Design for a more just, informed, and engaged human experience
{{ Hero.render({
id: "specimen-hero",
headingId: "specimen-hero-heading",
copy: {
heading: cms.home.0.valuePropHeading,
body: cms.home.0.valuePropBodyHtml
},
buildDate: buildDate
}) }}Params
| Param | Type | Description |
|---|---|---|
id | string | Section element ID; defaults to "hero". The homepage passes "manifesto". |
copy.heading | string | <h1> text. |
copy.subheading | string | The fallback statement’s heading, used only when statements is absent. |
copy.body | string | The fallback statement’s body HTML, used only when statements is absent. |
statements | array | Items of { subheading, body, image }, each passed to section-statement. home.njk passes cms.home[0].statements, serialized by data/sanity/transforms/home.js. Without it, a single statement renders from copy.subheading and copy.body. |
headingId | string | The <h1> id and the section’s aria-labelledby. Defaults to id. |
buildDate | date | Sets the end year of the accession label’s scope (2008-<year>). |
Notes
The data-hero-el hooks bind the choreography in organisms/hero/Hero.js. Don't rename them in markup alone.