Layout tree (as in design/layout.json)
{
"pattern": "contact.claymorphism-hello-card",
"kind": "contact",
"grid": {
"form": "1-7",
"details": "8-12"
},
"slots": [
"title",
"body",
"contact",
"image",
"email",
"phone",
"hours"
],
"tree": {
"el": "grid",
"gap": 5,
"align": "stretch",
"children": [
{
"el": "box",
"span": "1-7",
"bg": "surface",
"gap": 4,
"pad": [
8,
8
],
"children": [
{
"el": "text",
"slot": "title",
"role": "h2",
"step": 6,
"weight": 700,
"tracking": "tight",
"leading": "tight",
"maxCh": 16
},
{
"el": "text",
"color": "textMuted",
"slot": "body",
"role": "body",
"maxCh": 44
},
{
"el": "form",
"slot": "contact",
"fields": [
"name",
"email",
"message"
]
}
]
},
{
"el": "box",
"span": "8-12",
"bg": "accent2",
"gap": 3,
"pad": [
6,
6
],
"justify": "between",
"children": [
{
"el": "media",
"slot": "image",
"aspect": "4/3",
"treatment": "clay",
"frame": "none"
},
{
"el": "text",
"slot": "email",
"role": "h3",
"step": 2,
"weight": 700
},
{
"el": "text",
"slot": "phone",
"role": "body",
"weight": 600
},
{
"el": "text",
"slot": "hours",
"role": "small"
}
]
}
]
}
}