Layout tree (as in design/layout.json)
{
"pattern": "contact.sketchbook-letter-form",
"kind": "contact",
"slots": [
"sectionLabel",
"title",
"body",
"contact",
"email",
"phone",
"address",
"hours",
"image"
],
"tree": {
"el": "grid",
"gap": 6,
"align": "start",
"children": [
{
"el": "box",
"span": "1-7",
"bg": "surface",
"gap": 4,
"pad": [
6,
6
],
"children": [
{
"el": "text",
"color": "link",
"slot": "sectionLabel",
"role": "label",
"step": 2,
"rotate": -3,
"font": "heading"
},
{
"el": "text",
"slot": "title",
"role": "h2",
"step": 5,
"maxCh": 18
},
{
"el": "text",
"slot": "body",
"role": "body"
},
{
"el": "form",
"slot": "contact",
"fields": [
"name",
"email",
"message"
]
}
]
},
{
"el": "box",
"span": "8-12",
"gap": 4,
"children": [
{
"el": "box",
"bg": "surfaceAlt",
"gap": 2,
"pad": [
5,
5
],
"children": [
{
"el": "text",
"slot": "email",
"role": "h3"
},
{
"el": "text",
"slot": "phone",
"role": "body"
},
{
"el": "text",
"slot": "address",
"role": "body"
},
{
"el": "text",
"slot": "hours",
"role": "small"
}
]
},
{
"el": "media",
"slot": "image",
"aspect": "4/3",
"treatment": "sketch",
"frame": "none"
}
]
}
]
}
}