Layout tree (as in design/layout.json)
{
"pattern": "hero.tech-metric-wall",
"kind": "hero",
"grid": {
"message": "1-6",
"metrics": "7-12",
"screen": "1-12"
},
"slots": [
"eyebrow",
"headline",
"subhead",
"newsletter",
"stats[4..4]",
"heroImage"
],
"tree": {
"el": "grid",
"gap": 3,
"rowGap": 6,
"align": "center",
"children": [
{
"el": "box",
"span": "1-6",
"gap": 4,
"children": [
{
"el": "text",
"color": "link",
"slot": "eyebrow",
"role": "label",
"font": "mono"
},
{
"el": "text",
"slot": "headline",
"role": "display",
"step": 7,
"weight": 600,
"tracking": "tight",
"leading": "tight",
"maxCh": 14
},
{
"el": "text",
"slot": "subhead",
"role": "lead",
"maxCh": 40
},
{
"el": "form",
"slot": "newsletter",
"fields": [
"email"
],
"inline": true
}
]
},
{
"el": "repeat",
"span": "7-12",
"slot": "stats",
"min": 4,
"max": 4,
"layout": "grid",
"cols": 2,
"gap": 3,
"of": {
"el": "box",
"bg": "surface",
"gap": 1,
"pad": [
6,
6
],
"border": "all",
"children": [
{
"el": "text",
"slot": "number",
"role": "number",
"step": 6,
"weight": 600,
"tracking": "tight"
},
{
"el": "text",
"slot": "body",
"role": "small"
},
{
"el": "text",
"color": "link",
"slot": "meta",
"role": "label",
"font": "mono"
}
]
}
},
{
"el": "media",
"span": "1-12",
"slot": "heroImage",
"aspect": "21/9",
"treatment": "product",
"frame": "rounded"
}
]
}
}