Layout tree (as in design/layout.json)
{
"pattern": "contact.bento-support-tiles",
"kind": "contact",
"grid": {
"form": "1-6",
"email": "7-12",
"phone": "7-9",
"hours": "10-12"
},
"slots": [
"title",
"body",
"contact",
"sectionLabel",
"email",
"phone",
"hours"
],
"tree": {
"el": "grid",
"gap": 3,
"rowGap": 3,
"align": "stretch",
"children": [
{
"el": "box",
"span": "1-6",
"rowSpan": "1-2",
"bg": "surface",
"gap": 3,
"pad": [
8,
6
],
"border": "all",
"children": [
{
"el": "text",
"slot": "title",
"role": "h2",
"weight": 600,
"tracking": "tight"
},
{
"el": "text",
"slot": "body",
"role": "small",
"maxCh": 44
},
{
"el": "form",
"slot": "contact",
"fields": [
"name",
"email",
"message"
]
}
]
},
{
"el": "box",
"span": "7-12",
"rowSpan": "1-1",
"bg": "surface",
"gap": 2,
"pad": [
6,
6
],
"justify": "end",
"border": "all",
"children": [
{
"el": "text",
"color": "link",
"slot": "sectionLabel",
"role": "label",
"font": "mono"
},
{
"el": "text",
"slot": "email",
"role": "h3",
"weight": 600
}
]
},
{
"el": "box",
"span": "7-9",
"rowSpan": "2-2",
"bg": "surfaceAlt",
"gap": 2,
"pad": [
6,
6
],
"border": "all",
"children": [
{
"el": "text",
"slot": "phone",
"role": "body",
"weight": 600
}
]
},
{
"el": "box",
"span": "10-12",
"rowSpan": "2-2",
"bg": "surface",
"gap": 2,
"pad": [
6,
6
],
"border": "all",
"children": [
{
"el": "text",
"slot": "hours",
"role": "small",
"font": "mono"
}
]
}
]
}
}