| 1 |
{ |
| 2 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 |
"apiVersion": 3, |
| 4 |
"name": "blockenberg/problem-solution", |
| 5 |
"title": "Problem / Solution", |
| 6 |
"description": "Side-by-side problem vs solution section \u2014 two contrast columns each with icon, title, and feature lists. A classic landing page persuasion block.", |
| 7 |
"icon": "editor-contract", |
| 8 |
"category": "bkbg-marketing", |
| 9 |
"keywords": [ |
| 10 |
"problem", |
| 11 |
"solution", |
| 12 |
"comparison", |
| 13 |
"before after", |
| 14 |
"vs", |
| 15 |
"old way", |
| 16 |
"new way" |
| 17 |
], |
| 18 |
"textdomain": "blockenberg", |
| 19 |
"editorScript": "bkbg-problem-solution-editor", |
| 20 |
"style": "bkbg-problem-solution-style", |
| 21 |
"viewScript": "bkbg-problem-solution-frontend", |
| 22 |
"supports": { |
| 23 |
"html": false, |
| 24 |
"align": [ |
| 25 |
"wide", |
| 26 |
"full" |
| 27 |
] |
| 28 |
}, |
| 29 |
"attributes": { |
| 30 |
"style": { |
| 31 |
"type": "string", |
| 32 |
"default": "split" |
| 33 |
}, |
| 34 |
"problemIcon": { |
| 35 |
"type": "string", |
| 36 |
"default": "\ud83d\ude29" |
| 37 |
}, |
| 38 |
"problemIconType": { |
| 39 |
"type": "string", |
| 40 |
"default": "custom-char" |
| 41 |
}, |
| 42 |
"problemIconDashicon": { |
| 43 |
"type": "string", |
| 44 |
"default": "" |
| 45 |
}, |
| 46 |
"problemIconImageUrl": { |
| 47 |
"type": "string", |
| 48 |
"default": "" |
| 49 |
}, |
| 50 |
"problemLabel": { |
| 51 |
"type": "string", |
| 52 |
"default": "The Problem" |
| 53 |
}, |
| 54 |
"problemTitle": { |
| 55 |
"type": "string", |
| 56 |
"default": "Struggling with the old way?" |
| 57 |
}, |
| 58 |
"problemItems": { |
| 59 |
"type": "array", |
| 60 |
"default": [ |
| 61 |
{ |
| 62 |
"id": "pi1", |
| 63 |
"text": "Wasted hours on repetitive manual tasks" |
| 64 |
}, |
| 65 |
{ |
| 66 |
"id": "pi2", |
| 67 |
"text": "Disconnected tools that don't work together" |
| 68 |
}, |
| 69 |
{ |
| 70 |
"id": "pi3", |
| 71 |
"text": "Teams burned out from context-switching" |
| 72 |
}, |
| 73 |
{ |
| 74 |
"id": "pi4", |
| 75 |
"text": "Unreliable results and missed deadlines" |
| 76 |
}, |
| 77 |
{ |
| 78 |
"id": "pi5", |
| 79 |
"text": "No clear visibility into project status" |
| 80 |
} |
| 81 |
] |
| 82 |
}, |
| 83 |
"problemBg": { |
| 84 |
"type": "string", |
| 85 |
"default": "#fff1f2" |
| 86 |
}, |
| 87 |
"problemColor": { |
| 88 |
"type": "string", |
| 89 |
"default": "#9f1239" |
| 90 |
}, |
| 91 |
"problemIconBg": { |
| 92 |
"type": "string", |
| 93 |
"default": "#fecdd3" |
| 94 |
}, |
| 95 |
"problemItemIcon": { |
| 96 |
"type": "string", |
| 97 |
"default": "\u2715" |
| 98 |
}, |
| 99 |
"problemItemIconType": { |
| 100 |
"type": "string", |
| 101 |
"default": "custom-char" |
| 102 |
}, |
| 103 |
"problemItemIconDashicon": { |
| 104 |
"type": "string", |
| 105 |
"default": "" |
| 106 |
}, |
| 107 |
"problemItemIconImageUrl": { |
| 108 |
"type": "string", |
| 109 |
"default": "" |
| 110 |
}, |
| 111 |
"solutionIcon": { |
| 112 |
"type": "string", |
| 113 |
"default": "\ud83c\udfaf" |
| 114 |
}, |
| 115 |
"solutionIconType": { |
| 116 |
"type": "string", |
| 117 |
"default": "custom-char" |
| 118 |
}, |
| 119 |
"solutionIconDashicon": { |
| 120 |
"type": "string", |
| 121 |
"default": "" |
| 122 |
}, |
| 123 |
"solutionIconImageUrl": { |
| 124 |
"type": "string", |
| 125 |
"default": "" |
| 126 |
}, |
| 127 |
"solutionLabel": { |
| 128 |
"type": "string", |
| 129 |
"default": "The Solution" |
| 130 |
}, |
| 131 |
"solutionTitle": { |
| 132 |
"type": "string", |
| 133 |
"default": "Meet a smarter way forward." |
| 134 |
}, |
| 135 |
"solutionItems": { |
| 136 |
"type": "array", |
| 137 |
"default": [ |
| 138 |
{ |
| 139 |
"id": "si1", |
| 140 |
"text": "Automate workflows in minutes, not months" |
| 141 |
}, |
| 142 |
{ |
| 143 |
"id": "si2", |
| 144 |
"text": "All your tools, unified in one platform" |
| 145 |
}, |
| 146 |
{ |
| 147 |
"id": "si3", |
| 148 |
"text": "Teams focus on what actually moves the needle" |
| 149 |
}, |
| 150 |
{ |
| 151 |
"id": "si4", |
| 152 |
"text": "Consistent, predictable results every time" |
| 153 |
}, |
| 154 |
{ |
| 155 |
"id": "si5", |
| 156 |
"text": "Real-time dashboards with full transparency" |
| 157 |
} |
| 158 |
] |
| 159 |
}, |
| 160 |
"solutionBg": { |
| 161 |
"type": "string", |
| 162 |
"default": "#f0fdf4" |
| 163 |
}, |
| 164 |
"solutionColor": { |
| 165 |
"type": "string", |
| 166 |
"default": "#14532d" |
| 167 |
}, |
| 168 |
"solutionIconBg": { |
| 169 |
"type": "string", |
| 170 |
"default": "#bbf7d0" |
| 171 |
}, |
| 172 |
"solutionItemIcon": { |
| 173 |
"type": "string", |
| 174 |
"default": "\u2713" |
| 175 |
}, |
| 176 |
"solutionItemIconType": { |
| 177 |
"type": "string", |
| 178 |
"default": "custom-char" |
| 179 |
}, |
| 180 |
"solutionItemIconDashicon": { |
| 181 |
"type": "string", |
| 182 |
"default": "" |
| 183 |
}, |
| 184 |
"solutionItemIconImageUrl": { |
| 185 |
"type": "string", |
| 186 |
"default": "" |
| 187 |
}, |
| 188 |
"dividerLabel": { |
| 189 |
"type": "string", |
| 190 |
"default": "vs" |
| 191 |
}, |
| 192 |
"dividerVertical": { |
| 193 |
"type": "boolean", |
| 194 |
"default": false |
| 195 |
}, |
| 196 |
"dividerMobileRotate": { |
| 197 |
"type": "boolean", |
| 198 |
"default": true |
| 199 |
}, |
| 200 |
"showDivider": { |
| 201 |
"type": "boolean", |
| 202 |
"default": true |
| 203 |
}, |
| 204 |
"showLabels": { |
| 205 |
"type": "boolean", |
| 206 |
"default": true |
| 207 |
}, |
| 208 |
"gap": { |
| 209 |
"type": "number", |
| 210 |
"default": 24 |
| 211 |
}, |
| 212 |
"borderRadius": { |
| 213 |
"type": "number", |
| 214 |
"default": 20 |
| 215 |
}, |
| 216 |
"iconSize": { |
| 217 |
"type": "number", |
| 218 |
"default": 40 |
| 219 |
}, |
| 220 |
"paddingV": { |
| 221 |
"type": "number", |
| 222 |
"default": 40 |
| 223 |
}, |
| 224 |
"paddingH": { |
| 225 |
"type": "number", |
| 226 |
"default": 40 |
| 227 |
}, |
| 228 |
"itemSpacing": { |
| 229 |
"type": "number", |
| 230 |
"default": 12 |
| 231 |
}, |
| 232 |
"dividerBg": { |
| 233 |
"type": "string", |
| 234 |
"default": "#ffffff" |
| 235 |
}, |
| 236 |
"dividerTextColor": { |
| 237 |
"type": "string", |
| 238 |
"default": "#334155" |
| 239 |
}, |
| 240 |
"titleTypo": { |
| 241 |
"type": "object", |
| 242 |
"default": {} |
| 243 |
}, |
| 244 |
"itemTypo": { |
| 245 |
"type": "object", |
| 246 |
"default": {} |
| 247 |
}, |
| 248 |
"labelTypo": { |
| 249 |
"type": "object", |
| 250 |
"default": {} |
| 251 |
} |
| 252 |
} |
| 253 |
} |