| 1 |
{ |
| 2 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 |
"apiVersion": 3, |
| 4 |
"name": "blockenberg/split-form", |
| 5 |
"title": "Split Form", |
| 6 |
"category": "bkbg-marketing", |
| 7 |
"icon": "email-alt", |
| 8 |
"description": "Side-by-side lead generation section — content (heading, text, feature bullets) on one side and a fully configured email / sign-up form on the other.", |
| 9 |
"keywords": [ |
| 10 |
"form", |
| 11 |
"lead", |
| 12 |
"split", |
| 13 |
"email", |
| 14 |
"newsletter", |
| 15 |
"signup", |
| 16 |
"contact", |
| 17 |
"section" |
| 18 |
], |
| 19 |
"textdomain": "blockenberg", |
| 20 |
"editorScript": "bkbg-split-form-editor", |
| 21 |
"style": "bkbg-split-form-style", |
| 22 |
"viewScript": "bkbg-split-form-frontend", |
| 23 |
"supports": { |
| 24 |
"html": false, |
| 25 |
"anchor": true, |
| 26 |
"className": true, |
| 27 |
"align": [ |
| 28 |
"wide", |
| 29 |
"full" |
| 30 |
] |
| 31 |
}, |
| 32 |
"attributes": { |
| 33 |
"contentSide": { |
| 34 |
"type": "string", |
| 35 |
"default": "left" |
| 36 |
}, |
| 37 |
"splitRatio": { |
| 38 |
"type": "string", |
| 39 |
"default": "50-50" |
| 40 |
}, |
| 41 |
"icon": { |
| 42 |
"type": "string", |
| 43 |
"default": "✉️" |
| 44 |
}, |
| 45 |
"iconType": { |
| 46 |
"type": "string", |
| 47 |
"default": "custom-char" |
| 48 |
}, |
| 49 |
"iconDashicon": { |
| 50 |
"type": "string", |
| 51 |
"default": "" |
| 52 |
}, |
| 53 |
"iconImageUrl": { |
| 54 |
"type": "string", |
| 55 |
"default": "" |
| 56 |
}, |
| 57 |
"showIcon": { |
| 58 |
"type": "boolean", |
| 59 |
"default": true |
| 60 |
}, |
| 61 |
"eyebrow": { |
| 62 |
"type": "string", |
| 63 |
"default": "Stay in the loop" |
| 64 |
}, |
| 65 |
"showEyebrow": { |
| 66 |
"type": "boolean", |
| 67 |
"default": true |
| 68 |
}, |
| 69 |
"heading": { |
| 70 |
"type": "string", |
| 71 |
"default": "Get weekly insights straight to your inbox" |
| 72 |
}, |
| 73 |
"subtext": { |
| 74 |
"type": "string", |
| 75 |
"default": "Join 12,000+ marketers who receive our curated digest of the best content on growth, strategy, and product every Friday." |
| 76 |
}, |
| 77 |
"bullets": { |
| 78 |
"type": "array", |
| 79 |
"default": [ |
| 80 |
{ |
| 81 |
"text": "No spam, ever. Unsubscribe anytime." |
| 82 |
}, |
| 83 |
{ |
| 84 |
"text": "Curated by real humans, not algorithms." |
| 85 |
}, |
| 86 |
{ |
| 87 |
"text": "Free resources in every issue." |
| 88 |
} |
| 89 |
] |
| 90 |
}, |
| 91 |
"showBullets": { |
| 92 |
"type": "boolean", |
| 93 |
"default": true |
| 94 |
}, |
| 95 |
"bulletIcon": { |
| 96 |
"type": "string", |
| 97 |
"default": "✓" |
| 98 |
}, |
| 99 |
"bulletIconType": { |
| 100 |
"type": "string", |
| 101 |
"default": "custom-char" |
| 102 |
}, |
| 103 |
"bulletIconDashicon": { |
| 104 |
"type": "string", |
| 105 |
"default": "" |
| 106 |
}, |
| 107 |
"bulletIconImageUrl": { |
| 108 |
"type": "string", |
| 109 |
"default": "" |
| 110 |
}, |
| 111 |
"useImage": { |
| 112 |
"type": "boolean", |
| 113 |
"default": false |
| 114 |
}, |
| 115 |
"imageUrl": { |
| 116 |
"type": "string", |
| 117 |
"default": "" |
| 118 |
}, |
| 119 |
"imageId": { |
| 120 |
"type": "number", |
| 121 |
"default": 0 |
| 122 |
}, |
| 123 |
"imageAlt": { |
| 124 |
"type": "string", |
| 125 |
"default": "" |
| 126 |
}, |
| 127 |
"imageOverlay": { |
| 128 |
"type": "boolean", |
| 129 |
"default": true |
| 130 |
}, |
| 131 |
"formTitle": { |
| 132 |
"type": "string", |
| 133 |
"default": "Subscribe for free" |
| 134 |
}, |
| 135 |
"showFormTitle": { |
| 136 |
"type": "boolean", |
| 137 |
"default": true |
| 138 |
}, |
| 139 |
"formSubtext": { |
| 140 |
"type": "string", |
| 141 |
"default": "" |
| 142 |
}, |
| 143 |
"showName": { |
| 144 |
"type": "boolean", |
| 145 |
"default": true |
| 146 |
}, |
| 147 |
"namePlaceholder": { |
| 148 |
"type": "string", |
| 149 |
"default": "Your name" |
| 150 |
}, |
| 151 |
"emailPlaceholder": { |
| 152 |
"type": "string", |
| 153 |
"default": "Your email address" |
| 154 |
}, |
| 155 |
"showPhone": { |
| 156 |
"type": "boolean", |
| 157 |
"default": false |
| 158 |
}, |
| 159 |
"phonePlaceholder": { |
| 160 |
"type": "string", |
| 161 |
"default": "Phone (optional)" |
| 162 |
}, |
| 163 |
"submitLabel": { |
| 164 |
"type": "string", |
| 165 |
"default": "Subscribe now →" |
| 166 |
}, |
| 167 |
"formAction": { |
| 168 |
"type": "string", |
| 169 |
"default": "#" |
| 170 |
}, |
| 171 |
"formMethod": { |
| 172 |
"type": "string", |
| 173 |
"default": "post" |
| 174 |
}, |
| 175 |
"privacyNote": { |
| 176 |
"type": "string", |
| 177 |
"default": "We respect your privacy. Unsubscribe anytime." |
| 178 |
}, |
| 179 |
"showPrivacy": { |
| 180 |
"type": "boolean", |
| 181 |
"default": true |
| 182 |
}, |
| 183 |
"successMsg": { |
| 184 |
"type": "string", |
| 185 |
"default": "🎉 You're in! Check your inbox." |
| 186 |
}, |
| 187 |
"inputRadius": { |
| 188 |
"type": "number", |
| 189 |
"default": 8 |
| 190 |
}, |
| 191 |
"btnRadius": { |
| 192 |
"type": "number", |
| 193 |
"default": 8 |
| 194 |
}, |
| 195 |
"borderRadius": { |
| 196 |
"type": "number", |
| 197 |
"default": 0 |
| 198 |
}, |
| 199 |
"paddingTop": { |
| 200 |
"type": "number", |
| 201 |
"default": 60 |
| 202 |
}, |
| 203 |
"paddingBottom": { |
| 204 |
"type": "number", |
| 205 |
"default": 60 |
| 206 |
}, |
| 207 |
"bgColor": { |
| 208 |
"type": "string", |
| 209 |
"default": "#1e1b4b" |
| 210 |
}, |
| 211 |
"contentBg": { |
| 212 |
"type": "string", |
| 213 |
"default": "" |
| 214 |
}, |
| 215 |
"formBg": { |
| 216 |
"type": "string", |
| 217 |
"default": "#ffffff" |
| 218 |
}, |
| 219 |
"eyebrowColor": { |
| 220 |
"type": "string", |
| 221 |
"default": "#a5b4fc" |
| 222 |
}, |
| 223 |
"headingColor": { |
| 224 |
"type": "string", |
| 225 |
"default": "#ffffff" |
| 226 |
}, |
| 227 |
"subtextColor": { |
| 228 |
"type": "string", |
| 229 |
"default": "#c7d2fe" |
| 230 |
}, |
| 231 |
"bulletColor": { |
| 232 |
"type": "string", |
| 233 |
"default": "#c7d2fe" |
| 234 |
}, |
| 235 |
"bulletIconColor": { |
| 236 |
"type": "string", |
| 237 |
"default": "#818cf8" |
| 238 |
}, |
| 239 |
"formHeadingColor": { |
| 240 |
"type": "string", |
| 241 |
"default": "#111827" |
| 242 |
}, |
| 243 |
"formSubtextColor": { |
| 244 |
"type": "string", |
| 245 |
"default": "#6b7280" |
| 246 |
}, |
| 247 |
"inputBorder": { |
| 248 |
"type": "string", |
| 249 |
"default": "#d1d5db" |
| 250 |
}, |
| 251 |
"inputFocusBorder": { |
| 252 |
"type": "string", |
| 253 |
"default": "#6366f1" |
| 254 |
}, |
| 255 |
"inputBg": { |
| 256 |
"type": "string", |
| 257 |
"default": "#f9fafb" |
| 258 |
}, |
| 259 |
"inputColor": { |
| 260 |
"type": "string", |
| 261 |
"default": "#111827" |
| 262 |
}, |
| 263 |
"btnBg": { |
| 264 |
"type": "string", |
| 265 |
"default": "#6366f1" |
| 266 |
}, |
| 267 |
"btnColor": { |
| 268 |
"type": "string", |
| 269 |
"default": "#ffffff" |
| 270 |
}, |
| 271 |
"privacyColor": { |
| 272 |
"type": "string", |
| 273 |
"default": "#9ca3af" |
| 274 |
}, |
| 275 |
"eyebrowFontSize": { |
| 276 |
"type": "number", |
| 277 |
"default": 13 |
| 278 |
}, |
| 279 |
"eyebrowFontWeight": { |
| 280 |
"type": "number", |
| 281 |
"default": 700 |
| 282 |
}, |
| 283 |
"headingFontSize": { |
| 284 |
"type": "number", |
| 285 |
"default": 34 |
| 286 |
}, |
| 287 |
"headingFontWeight": { |
| 288 |
"type": "number", |
| 289 |
"default": 800 |
| 290 |
}, |
| 291 |
"subtextFontSize": { |
| 292 |
"type": "number", |
| 293 |
"default": 15 |
| 294 |
}, |
| 295 |
"formTitleFontSize": { |
| 296 |
"type": "number", |
| 297 |
"default": 22 |
| 298 |
}, |
| 299 |
"formTitleFontWeight": { |
| 300 |
"type": "number", |
| 301 |
"default": 800 |
| 302 |
}, |
| 303 |
"eyebrowTypo": { |
| 304 |
"type": "object", |
| 305 |
"default": {} |
| 306 |
}, |
| 307 |
"headingTypo": { |
| 308 |
"type": "object", |
| 309 |
"default": {} |
| 310 |
}, |
| 311 |
"subtextTypo": { |
| 312 |
"type": "object", |
| 313 |
"default": {} |
| 314 |
}, |
| 315 |
"formTitleTypo": { |
| 316 |
"type": "object", |
| 317 |
"default": {} |
| 318 |
}, |
| 319 |
"bulletTypo": { |
| 320 |
"type": "object", |
| 321 |
"default": {} |
| 322 |
} |
| 323 |
} |
| 324 |
} |
| 325 |
|