Layout tree (as in design/layout.json)
{
"pattern": "contact.isometric-office-desk",
"kind": "contact",
"slots": [
"label",
"title",
"body",
"contact",
"drawing",
"email",
"address",
"phone",
"hours"
],
"tree": {
"el": "grid",
"gap": 8,
"align": "start",
"children": [
{
"el": "box",
"span": "1-5",
"gap": 4,
"children": [
{
"el": "text",
"color": "link",
"slot": "label",
"role": "label",
"font": "mono"
},
{
"el": "text",
"slot": "title",
"role": "h2",
"step": 5,
"weight": 600,
"tracking": "tight",
"leading": "tight"
},
{
"el": "text",
"color": "textMuted",
"slot": "body",
"role": "body",
"maxCh": 44
},
{
"el": "form",
"slot": "contact",
"fields": [
"name",
"email",
"message"
]
}
]
},
{
"el": "box",
"span": "7-12",
"gap": 4,
"children": [
{
"el": "media",
"slot": "drawing",
"aspect": "4/3",
"treatment": "isometric",
"frame": "border"
},
{
"el": "grid",
"gap": 4,
"children": [
{
"el": "box",
"span": "1-6",
"gap": 1,
"pad": [
3,
0
],
"border": "top",
"children": [
{
"el": "text",
"slot": "email",
"role": "h4",
"step": 1,
"weight": 600
},
{
"el": "text",
"color": "textMuted",
"slot": "address",
"role": "small"
}
]
},
{
"el": "box",
"span": "7-12",
"gap": 1,
"pad": [
3,
0
],
"border": "top",
"children": [
{
"el": "text",
"slot": "phone",
"role": "h4",
"step": 1,
"weight": 600
},
{
"el": "text",
"color": "textMuted",
"slot": "hours",
"role": "small"
}
]
}
]
}
]
}
]
}
}