Layout tree (as in design/layout.json)
{
"pattern": "contact.risograph-mail-order",
"kind": "contact",
"grid": {
"details": "1-5",
"order": "6-12"
},
"slots": [
"title",
"body",
"address",
"email",
"eyebrow",
"contact"
],
"tree": {
"el": "grid",
"gap": 3,
"align": "start",
"children": [
{
"el": "box",
"span": "1-5",
"gap": 3,
"children": [
{
"el": "text",
"slot": "title",
"role": "h2",
"step": 5,
"transform": "uppercase",
"leading": "tight"
},
{
"el": "text",
"slot": "body",
"role": "lead",
"maxCh": 40
},
{
"el": "text",
"slot": "address",
"role": "body",
"font": "mono"
},
{
"el": "text",
"slot": "email",
"role": "h3",
"step": 2,
"font": "mono"
}
]
},
{
"el": "box",
"span": "6-12",
"gap": 3,
"pad": [
4,
4
],
"border": "all",
"children": [
{
"el": "text",
"slot": "eyebrow",
"role": "label",
"transform": "uppercase",
"font": "mono"
},
{
"el": "form",
"slot": "contact",
"fields": [
"name",
"email",
"message"
]
}
]
}
]
}
}