Layout tree (as in design/layout.json)
{
"pattern": "hero.athletic-jersey-number",
"kind": "hero",
"grid": {
"stripes": "1-4",
"number": "10-12",
"photo": "8-12",
"headline": "1-7",
"action": "1-7",
"meta": "9-12"
},
"slots": [
"index",
"heroImage",
"eyebrow",
"headline",
"subhead",
"cta",
"cta2",
"meta"
],
"notes": "Rows: stripes 1, photo 1–4, number 1–2 (top-aligned, painted over the photo's top-right corner like a shirt number), eyebrow 2, headline 3–4 (beside the photo, never over it), action and meta 5.",
"tree": {
"el": "grid",
"gap": 2,
"rowGap": 0,
"align": "end",
"minVh": 0.9,
"children": [
{
"el": "box",
"span": "1-4",
"rowSpan": "1-1",
"mobile": "hide",
"alignSelf": "start",
"dir": "row",
"gap": 1,
"children": [
{
"el": "shape",
"kind": "bar",
"size": "md",
"fill": "accent",
"rotate": -20
},
{
"el": "shape",
"kind": "bar",
"size": "md",
"fill": "accent",
"rotate": -20
},
{
"el": "shape",
"kind": "bar",
"size": "md",
"fill": "accent",
"rotate": -20
}
]
},
{
"el": "text",
"span": "10-12",
"rowSpan": "1-2",
"mobile": "hide",
"color": "link",
"alignSelf": "start",
"slot": "index",
"role": "number",
"step": 8,
"align": "right",
"transform": "uppercase",
"weight": 900,
"italic": true,
"leading": "tight"
},
{
"el": "media",
"span": "8-12",
"rowSpan": "1-5",
"alignSelf": "stretch",
"slot": "heroImage",
"aspect": "4/5",
"treatment": "photo",
"fill": true
},
{
"el": "text",
"span": "1-6",
"rowSpan": "2-2",
"slot": "eyebrow",
"role": "eyebrow",
"transform": "uppercase",
"weight": 700,
"italic": true
},
{
"el": "text",
"span": "1-7",
"rowSpan": "3-4",
"slot": "headline",
"role": "display",
"step": 5,
"transform": "uppercase",
"weight": 900,
"italic": true,
"leading": "tight",
"maxCh": 14,
"rotate": -6
},
{
"el": "box",
"span": "1-7",
"rowSpan": "5-5",
"gap": 3,
"pad": [
4,
0
],
"children": [
{
"el": "text",
"slot": "subhead",
"role": "body",
"maxCh": 40
},
{
"el": "box",
"dir": "row",
"gap": 2,
"wrap": true,
"children": [
{
"el": "button",
"slot": "cta",
"variant": "primary",
"size": "lg"
},
{
"el": "button",
"slot": "cta2",
"variant": "secondary",
"size": "lg"
}
]
},
{
"el": "text",
"slot": "meta",
"role": "label",
"transform": "uppercase",
"weight": 700,
"italic": true
}
]
}
]
}
}