Layout tree (as in design/layout.json)
{
"pattern": "contact.bookish-correspondence",
"kind": "contact",
"grid": {
"letter": "3-7",
"form": "8-11"
},
"slots": [
"title",
"body",
"address",
"email",
"hours",
"contact"
],
"tree": {
"el": "grid",
"gap": 4,
"align": "start",
"children": [
{
"el": "box",
"span": "3-7",
"gap": 2,
"children": [
{
"el": "text",
"slot": "title",
"role": "h2",
"weight": 400,
"italic": true
},
{
"el": "text",
"slot": "body",
"role": "body",
"italic": true
},
{
"el": "text",
"slot": "address",
"role": "body"
},
{
"el": "text",
"slot": "email",
"role": "body"
},
{
"el": "text",
"color": "textMuted",
"slot": "hours",
"role": "small"
}
]
},
{
"el": "form",
"span": "8-11",
"slot": "contact",
"fields": [
"name",
"email",
"message"
]
}
]
}
}