Layout tree (as in design/layout.json)
{
"pattern": "hero.terminal-split-panes",
"kind": "hero",
"grid": {
"main": "1-7",
"readme": "8-12",
"install": "8-12"
},
"slots": [
"eyebrow",
"headline",
"subhead",
"cta",
"sectionLabel",
"body",
"body2",
"meta",
"caption"
],
"notes": "Panes touch with a 1-unit gap so their rules read as tmux dividers. The eyebrow is a prompt line (\"$ cat intro.txt\").",
"tree": {
"el": "grid",
"gap": 1,
"rowGap": 1,
"align": "stretch",
"children": [
{
"el": "box",
"span": "1-7",
"rowSpan": "1-2",
"gap": 3,
"pad": [
6,
4
],
"justify": "end",
"border": "all",
"children": [
{
"el": "text",
"color": "link",
"slot": "eyebrow",
"role": "small"
},
{
"el": "text",
"slot": "headline",
"role": "display",
"step": 6,
"leading": "tight",
"maxCh": 20
},
{
"el": "text",
"slot": "subhead",
"role": "body",
"maxCh": 52
},
{
"el": "button",
"slot": "cta",
"variant": "primary"
}
]
},
{
"el": "box",
"span": "8-12",
"rowSpan": "1-1",
"gap": 2,
"pad": [
3,
3
],
"border": "all",
"children": [
{
"el": "text",
"color": "textMuted",
"slot": "sectionLabel",
"role": "small"
},
{
"el": "text",
"slot": "body",
"role": "small",
"maxCh": 48
},
{
"el": "text",
"color": "textMuted",
"slot": "body2",
"role": "small",
"maxCh": 48
}
]
},
{
"el": "box",
"span": "8-12",
"rowSpan": "2-2",
"bg": "surface",
"gap": 1,
"pad": [
3,
3
],
"border": "all",
"children": [
{
"el": "text",
"color": "link",
"slot": "meta",
"role": "small",
"font": "mono"
},
{
"el": "text",
"color": "textMuted",
"slot": "caption",
"role": "small"
}
]
}
]
}
}