| 1 |
{ |
| 2 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 |
"apiVersion": 3, |
| 4 |
"name": "blockenberg/feature-alternating", |
| 5 |
"title": "Feature Alternating", |
| 6 |
"category": "bkbg-marketing", |
| 7 |
"icon": "columns", |
| 8 |
"description": "Zigzag alternating feature rows — image on one side, feature list + CTA on the other. Pairs alternate left↔right automatically.", |
| 9 |
"textdomain": "blockenberg", |
| 10 |
"editorScript": "bkbg-feature-alternating-editor", |
| 11 |
"style": "bkbg-feature-alternating-style", |
| 12 |
"attributes": { |
| 13 |
"rows": { |
| 14 |
"type": "array", |
| 15 |
"default": [ |
| 16 |
{ |
| 17 |
"id": "r1", |
| 18 |
"imageUrl": "", |
| 19 |
"imageId": 0, |
| 20 |
"eyebrow": "Simple", |
| 21 |
"title": "Set up in minutes, not months", |
| 22 |
"description": "Our CLI scaffolds your entire project in one command. No YAML. No DevOps PhD required.", |
| 23 |
"features": [ |
| 24 |
{ |
| 25 |
"id": "f1", |
| 26 |
"icon": "⚡", |
| 27 |
"label": "One-command install" |
| 28 |
}, |
| 29 |
{ |
| 30 |
"id": "f2", |
| 31 |
"icon": "📦", |
| 32 |
"label": "Zero-config defaults" |
| 33 |
}, |
| 34 |
{ |
| 35 |
"id": "f3", |
| 36 |
"icon": "🔌", |
| 37 |
"label": "Works with your stack" |
| 38 |
} |
| 39 |
], |
| 40 |
"ctaLabel": "Get started free", |
| 41 |
"ctaUrl": "#", |
| 42 |
"ctaTarget": "_self", |
| 43 |
"showCta": true, |
| 44 |
"accentColor": "#6c3fb5" |
| 45 |
}, |
| 46 |
{ |
| 47 |
"id": "r2", |
| 48 |
"imageUrl": "", |
| 49 |
"imageId": 0, |
| 50 |
"eyebrow": "Powerful", |
| 51 |
"title": "Collaborate without friction", |
| 52 |
"description": "Real-time multiplayer editing, threaded comments, and instant previews keep your whole team in sync.", |
| 53 |
"features": [ |
| 54 |
{ |
| 55 |
"id": "f4", |
| 56 |
"icon": "👥", |
| 57 |
"label": "Multiplayer editing" |
| 58 |
}, |
| 59 |
{ |
| 60 |
"id": "f5", |
| 61 |
"icon": "💬", |
| 62 |
"label": "Inline comments" |
| 63 |
}, |
| 64 |
{ |
| 65 |
"id": "f6", |
| 66 |
"icon": "🔀", |
| 67 |
"label": "Branch & merge" |
| 68 |
} |
| 69 |
], |
| 70 |
"ctaLabel": "See collaboration →", |
| 71 |
"ctaUrl": "#", |
| 72 |
"ctaTarget": "_self", |
| 73 |
"showCta": true, |
| 74 |
"accentColor": "#0ea5e9" |
| 75 |
}, |
| 76 |
{ |
| 77 |
"id": "r3", |
| 78 |
"imageUrl": "", |
| 79 |
"imageId": 0, |
| 80 |
"eyebrow": "Reliable", |
| 81 |
"title": "Deploy with complete confidence", |
| 82 |
"description": "99.99% uptime SLA, automatic rollbacks, and real-time monitoring so you can ship without fear.", |
| 83 |
"features": [ |
| 84 |
{ |
| 85 |
"id": "f7", |
| 86 |
"icon": "🛡️", |
| 87 |
"label": "99.99% uptime SLA" |
| 88 |
}, |
| 89 |
{ |
| 90 |
"id": "f8", |
| 91 |
"icon": "↩️", |
| 92 |
"label": "Auto-rollback" |
| 93 |
}, |
| 94 |
{ |
| 95 |
"id": "f9", |
| 96 |
"icon": "📊", |
| 97 |
"label": "Live monitoring" |
| 98 |
} |
| 99 |
], |
| 100 |
"ctaLabel": "View reliability →", |
| 101 |
"ctaUrl": "#", |
| 102 |
"ctaTarget": "_self", |
| 103 |
"showCta": true, |
| 104 |
"accentColor": "#10b981" |
| 105 |
} |
| 106 |
] |
| 107 |
}, |
| 108 |
"imageRadius": { |
| 109 |
"type": "number", |
| 110 |
"default": 16 |
| 111 |
}, |
| 112 |
"imageShadow": { |
| 113 |
"type": "boolean", |
| 114 |
"default": true |
| 115 |
}, |
| 116 |
"rowGap": { |
| 117 |
"type": "number", |
| 118 |
"default": 96 |
| 119 |
}, |
| 120 |
"colGap": { |
| 121 |
"type": "number", |
| 122 |
"default": 64 |
| 123 |
}, |
| 124 |
"featureIconSize": { |
| 125 |
"type": "number", |
| 126 |
"default": 20 |
| 127 |
}, |
| 128 |
"titleSize": { |
| 129 |
"type": "number", |
| 130 |
"default": 36 |
| 131 |
}, |
| 132 |
"titleWeight": { |
| 133 |
"type": "string", |
| 134 |
"default": "800" |
| 135 |
}, |
| 136 |
"titleLineHeight": { |
| 137 |
"type": "number", |
| 138 |
"default": 1.2 |
| 139 |
}, |
| 140 |
"descSize": { |
| 141 |
"type": "number", |
| 142 |
"default": 17 |
| 143 |
}, |
| 144 |
"descWeight": { |
| 145 |
"type": "string", |
| 146 |
"default": "400" |
| 147 |
}, |
| 148 |
"descLineHeight": { |
| 149 |
"type": "number", |
| 150 |
"default": 1.7 |
| 151 |
}, |
| 152 |
"featureLabelSize": { |
| 153 |
"type": "number", |
| 154 |
"default": 14 |
| 155 |
}, |
| 156 |
"featureLabelWeight": { |
| 157 |
"type": "string", |
| 158 |
"default": "500" |
| 159 |
}, |
| 160 |
"featureLabelLineHeight": { |
| 161 |
"type": "number", |
| 162 |
"default": 1.5 |
| 163 |
}, |
| 164 |
"eyebrowSize": { |
| 165 |
"type": "number", |
| 166 |
"default": 12 |
| 167 |
}, |
| 168 |
"eyebrowWeight": { |
| 169 |
"type": "string", |
| 170 |
"default": "700" |
| 171 |
}, |
| 172 |
"eyebrowLineHeight": { |
| 173 |
"type": "number", |
| 174 |
"default": 1.2 |
| 175 |
}, |
| 176 |
"typoEyebrow": { |
| 177 |
"type": "object", |
| 178 |
"default": {} |
| 179 |
}, |
| 180 |
"typoTitle": { |
| 181 |
"type": "object", |
| 182 |
"default": {} |
| 183 |
}, |
| 184 |
"typoDescription": { |
| 185 |
"type": "object", |
| 186 |
"default": {} |
| 187 |
}, |
| 188 |
"typoFeatureLabel": { |
| 189 |
"type": "object", |
| 190 |
"default": {} |
| 191 |
}, |
| 192 |
"showEyebrow": { |
| 193 |
"type": "boolean", |
| 194 |
"default": true |
| 195 |
}, |
| 196 |
"showFeatures": { |
| 197 |
"type": "boolean", |
| 198 |
"default": true |
| 199 |
}, |
| 200 |
"imageSide": { |
| 201 |
"type": "string", |
| 202 |
"default": "auto" |
| 203 |
}, |
| 204 |
"paddingTop": { |
| 205 |
"type": "number", |
| 206 |
"default": 72 |
| 207 |
}, |
| 208 |
"paddingBottom": { |
| 209 |
"type": "number", |
| 210 |
"default": 72 |
| 211 |
}, |
| 212 |
"sectionBg": { |
| 213 |
"type": "string", |
| 214 |
"default": "" |
| 215 |
}, |
| 216 |
"titleColor": { |
| 217 |
"type": "string", |
| 218 |
"default": "#0f172a" |
| 219 |
}, |
| 220 |
"descColor": { |
| 221 |
"type": "string", |
| 222 |
"default": "#475569" |
| 223 |
}, |
| 224 |
"featureLabelColor": { |
| 225 |
"type": "string", |
| 226 |
"default": "#1e293b" |
| 227 |
}, |
| 228 |
"imagePlaceholderBg": { |
| 229 |
"type": "string", |
| 230 |
"default": "#f0ebff" |
| 231 |
} |
| 232 |
}, |
| 233 |
"supports": { |
| 234 |
"html": false, |
| 235 |
"align": [ |
| 236 |
"wide", |
| 237 |
"full" |
| 238 |
] |
| 239 |
}, |
| 240 |
"keywords": [ |
| 241 |
"features", |
| 242 |
"alternating", |
| 243 |
"zigzag", |
| 244 |
"split", |
| 245 |
"image", |
| 246 |
"rows", |
| 247 |
"section" |
| 248 |
] |
| 249 |
} |
| 250 |
|