Layout tree (as in design/layout.json)
{
"pattern": "faq.athletic-rulebook",
"kind": "faq",
"grid": {
"title": "1-5",
"rules": "6-12"
},
"slots": [
"title",
"faqs[4..8]"
],
"tree": {
"el": "grid",
"gap": 2,
"align": "start",
"children": [
{
"el": "text",
"span": "1-5",
"slot": "title",
"role": "display",
"step": 6,
"transform": "uppercase",
"weight": 900,
"italic": true,
"leading": "tight",
"maxCh": 10
},
{
"el": "repeat",
"span": "6-12",
"slot": "faqs",
"min": 4,
"max": 8,
"layout": "list",
"divider": true,
"of": {
"el": "grid",
"cols": 7,
"gap": 2,
"pad": [
2,
0
],
"children": [
{
"el": "text",
"span": "1-1",
"color": "link",
"slot": "number",
"role": "number",
"step": 3,
"transform": "uppercase",
"weight": 900,
"italic": true,
"leading": "tight"
},
{
"el": "box",
"span": "2-7",
"gap": 1,
"children": [
{
"el": "text",
"slot": "title",
"role": "h4",
"transform": "uppercase",
"weight": 800,
"italic": true,
"leading": "tight"
},
{
"el": "text",
"slot": "body",
"role": "body",
"maxCh": 56
}
]
}
]
}
}
]
}
}