Layout tree (as in design/layout.json)
{
"pattern": "gallery.bento-screens",
"kind": "gallery",
"grid": {
"main": "1-8",
"side": "9-12",
"caption": "1-4",
"wide": "5-12"
},
"slots": [
"gallery1",
"gallery2",
"gallery3",
"title",
"caption",
"gallery4"
],
"tree": {
"el": "grid",
"gap": 3,
"rowGap": 3,
"align": "stretch",
"children": [
{
"el": "media",
"span": "1-8",
"rowSpan": "1-2",
"slot": "gallery1",
"treatment": "product",
"fill": true,
"frame": "rounded"
},
{
"el": "media",
"span": "9-12",
"rowSpan": "1-1",
"slot": "gallery2",
"aspect": "4/3",
"treatment": "product",
"frame": "rounded"
},
{
"el": "media",
"span": "9-12",
"rowSpan": "2-2",
"slot": "gallery3",
"aspect": "4/3",
"treatment": "product",
"frame": "rounded"
},
{
"el": "box",
"span": "1-4",
"rowSpan": "3-3",
"bg": "surface",
"gap": 2,
"pad": [
6,
6
],
"justify": "end",
"border": "all",
"children": [
{
"el": "text",
"slot": "title",
"role": "h3",
"weight": 600
},
{
"el": "text",
"slot": "caption",
"role": "small"
}
]
},
{
"el": "media",
"span": "5-12",
"rowSpan": "3-3",
"slot": "gallery4",
"aspect": "21/9",
"treatment": "product",
"frame": "rounded"
}
]
}
}