Layout tree (as in design/layout.json)
{
"pattern": "blog.neumorphism-feed-panels",
"kind": "blog",
"slots": [
"sectionLabel",
"title",
"cta",
"posts[3..3]"
],
"tree": {
"el": "box",
"gap": 10,
"children": [
{
"el": "box",
"dir": "row",
"gap": 6,
"align": "end",
"justify": "between",
"wrap": true,
"children": [
{
"el": "box",
"gap": 3,
"children": [
{
"el": "text",
"color": "link",
"slot": "sectionLabel",
"role": "label",
"transform": "uppercase",
"tracking": "wide"
},
{
"el": "text",
"slot": "title",
"role": "h2",
"step": 5,
"weight": 700,
"tracking": "tight",
"leading": "tight",
"maxCh": 18
}
]
},
{
"el": "button",
"slot": "cta",
"variant": "secondary",
"arrow": true
}
]
},
{
"el": "repeat",
"slot": "posts",
"min": 3,
"max": 3,
"layout": "grid",
"cols": 3,
"phoneCols": 1,
"gap": 6,
"of": {
"el": "box",
"bg": "surface",
"gap": 4,
"pad": 4,
"children": [
{
"el": "media",
"slot": "image",
"aspect": "3/2",
"treatment": "photo",
"frame": "rounded"
},
{
"el": "box",
"gap": 2,
"pad": [
2,
2
],
"children": [
{
"el": "text",
"color": "textMuted",
"slot": "meta",
"role": "label",
"font": "mono"
},
{
"el": "text",
"slot": "title",
"role": "h3",
"step": 1,
"weight": 700
},
{
"el": "text",
"color": "textMuted",
"slot": "body",
"role": "small"
}
]
}
]
}
}
]
}
}