Layout tree (as in design/layout.json)
{
"pattern": "hero.sketchbook-whiteboard-board",
"kind": "hero",
"slots": [
"eyebrow",
"headline",
"subhead",
"cta",
"cta2",
"heroImage",
"stats[3..3]"
],
"tree": {
"el": "box",
"bg": "surface",
"gap": 6,
"pad": [
8,
8
],
"minVh": 0.8,
"children": [
{
"el": "grid",
"cols": 12,
"gap": 6,
"align": "end",
"children": [
{
"el": "box",
"span": "1-8",
"gap": 3,
"children": [
{
"el": "text",
"color": "link",
"slot": "eyebrow",
"role": "label",
"step": 2,
"rotate": -3,
"font": "heading"
},
{
"el": "text",
"slot": "headline",
"role": "display",
"step": 7,
"maxCh": 16
}
]
},
{
"el": "box",
"span": "9-12",
"alignSelf": "end",
"gap": 4,
"children": [
{
"el": "text",
"slot": "subhead",
"role": "lead",
"maxCh": 34
},
{
"el": "box",
"dir": "row",
"gap": 3,
"wrap": true,
"children": [
{
"el": "button",
"slot": "cta",
"variant": "primary"
},
{
"el": "button",
"slot": "cta2",
"variant": "ghost",
"arrow": true
}
]
}
]
}
]
},
{
"el": "grid",
"cols": 12,
"gap": 5,
"align": "stretch",
"children": [
{
"el": "media",
"span": "1-7",
"slot": "heroImage",
"aspect": "16/9",
"treatment": "sketch",
"frame": "none"
},
{
"el": "repeat",
"span": "8-12",
"slot": "stats",
"min": 3,
"max": 3,
"layout": "list",
"gap": 3,
"of": {
"el": "box",
"bg": "surfaceAlt",
"dir": "row",
"gap": 4,
"pad": [
3,
4
],
"align": "center",
"children": [
{
"el": "text",
"slot": "number",
"role": "number",
"step": 5
},
{
"el": "text",
"slot": "title",
"role": "body",
"weight": 700,
"maxCh": 24
}
]
}
}
]
}
]
}
}