Layout tree (as in design/layout.json)
{
"pattern": "contact.broadsheet-classifieds",
"kind": "contact",
"grid": {
"ads": "1-8",
"office": "9-12"
},
"slots": [
"sectionLabel",
"items[4..8]",
"title",
"address",
"email",
"contact"
],
"tree": {
"el": "box",
"gap": 2,
"children": [
{
"el": "text",
"slot": "sectionLabel",
"role": "h4",
"align": "center",
"font": "heading"
},
{
"el": "divider",
"weight": 2
},
{
"el": "grid",
"gap": 3,
"align": "start",
"children": [
{
"el": "repeat",
"span": "1-8",
"slot": "items",
"min": 4,
"max": 8,
"layout": "masonry",
"cols": 4,
"gap": 2,
"of": {
"el": "box",
"gap": 1,
"pad": [
1,
1
],
"border": "all",
"children": [
{
"el": "text",
"slot": "title",
"role": "label",
"transform": "uppercase",
"weight": 700,
"tracking": "wide"
},
{
"el": "text",
"slot": "body",
"role": "small",
"font": "body"
}
]
}
},
{
"el": "box",
"span": "9-12",
"gap": 2,
"pad": [
0,
2
],
"border": "left",
"children": [
{
"el": "text",
"slot": "title",
"role": "h4",
"weight": 700,
"leading": "tight",
"font": "body"
},
{
"el": "text",
"slot": "address",
"role": "small",
"font": "body"
},
{
"el": "text",
"slot": "email",
"role": "small",
"font": "mono"
},
{
"el": "form",
"slot": "contact",
"fields": [
"name",
"email",
"message"
]
}
]
}
]
}
]
}
}