| 1 |
{ |
| 2 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 |
"apiVersion": 3, |
| 4 |
"name": "blockenberg/demo-section", |
| 5 |
"version": "1.0.0", |
| 6 |
"title": "Demo / Trial Section", |
| 7 |
"category": "bkbg-marketing", |
| 8 |
"icon": "desktop", |
| 9 |
"description": "Book-a-Demo or Start-Free-Trial CTA section with trust pills, social-proof stats, and optional product screenshot.", |
| 10 |
"textdomain": "blockenberg", |
| 11 |
"editorScript": "bkbg-demo-section-editor", |
| 12 |
"style": "bkbg-demo-section-style", |
| 13 |
"viewScript": "bkbg-demo-section-frontend", |
| 14 |
"supports": { |
| 15 |
"html": false, |
| 16 |
"align": [ |
| 17 |
"wide", |
| 18 |
"full" |
| 19 |
] |
| 20 |
}, |
| 21 |
"attributes": { |
| 22 |
"badge": { |
| 23 |
"type": "string", |
| 24 |
"default": "✨ No credit card required" |
| 25 |
}, |
| 26 |
"heading": { |
| 27 |
"type": "string", |
| 28 |
"default": "See It in Action — Request a Demo" |
| 29 |
}, |
| 30 |
"subtext": { |
| 31 |
"type": "string", |
| 32 |
"default": "Get a personalised walkthrough from our team and discover how Blockenberg can transform your workflow in under 30 minutes." |
| 33 |
}, |
| 34 |
"ctaMode": { |
| 35 |
"type": "string", |
| 36 |
"default": "button" |
| 37 |
}, |
| 38 |
"ctaLabel": { |
| 39 |
"type": "string", |
| 40 |
"default": "Book a Free Demo" |
| 41 |
}, |
| 42 |
"ctaUrl": { |
| 43 |
"type": "string", |
| 44 |
"default": "#" |
| 45 |
}, |
| 46 |
"ctaSecLabel": { |
| 47 |
"type": "string", |
| 48 |
"default": "Start Free Trial" |
| 49 |
}, |
| 50 |
"ctaSecUrl": { |
| 51 |
"type": "string", |
| 52 |
"default": "#" |
| 53 |
}, |
| 54 |
"showCtaSec": { |
| 55 |
"type": "boolean", |
| 56 |
"default": true |
| 57 |
}, |
| 58 |
"formPlaceholder": { |
| 59 |
"type": "string", |
| 60 |
"default": "Enter your work email" |
| 61 |
}, |
| 62 |
"formSubmitLabel": { |
| 63 |
"type": "string", |
| 64 |
"default": "Request Demo" |
| 65 |
}, |
| 66 |
"formAction": { |
| 67 |
"type": "string", |
| 68 |
"default": "" |
| 69 |
}, |
| 70 |
"trustItems": { |
| 71 |
"type": "array", |
| 72 |
"default": [ |
| 73 |
{ |
| 74 |
"icon": "� |
| 75 |
", |
| 76 |
"iconType": "custom-char", |
| 77 |
"iconDashicon": "", |
| 78 |
"iconImageUrl": "", |
| 79 |
"text": "No credit card required" |
| 80 |
}, |
| 81 |
{ |
| 82 |
"icon": "⚡", |
| 83 |
"iconType": "custom-char", |
| 84 |
"iconDashicon": "", |
| 85 |
"iconImageUrl": "", |
| 86 |
"text": "5-minute setup" |
| 87 |
}, |
| 88 |
{ |
| 89 |
"icon": "🔒", |
| 90 |
"iconType": "custom-char", |
| 91 |
"iconDashicon": "", |
| 92 |
"iconImageUrl": "", |
| 93 |
"text": "SOC 2 certified" |
| 94 |
}, |
| 95 |
{ |
| 96 |
"icon": "🎯", |
| 97 |
"iconType": "custom-char", |
| 98 |
"iconDashicon": "", |
| 99 |
"iconImageUrl": "", |
| 100 |
"text": "Cancel anytime" |
| 101 |
} |
| 102 |
] |
| 103 |
}, |
| 104 |
"showTrust": { |
| 105 |
"type": "boolean", |
| 106 |
"default": true |
| 107 |
}, |
| 108 |
"socialStats": { |
| 109 |
"type": "array", |
| 110 |
"default": [ |
| 111 |
{ |
| 112 |
"number": "10,000+", |
| 113 |
"label": "Active teams" |
| 114 |
}, |
| 115 |
{ |
| 116 |
"number": "4.9/5", |
| 117 |
"label": "G2 rating" |
| 118 |
}, |
| 119 |
{ |
| 120 |
"number": "98%", |
| 121 |
"label": "Customer satisfaction" |
| 122 |
} |
| 123 |
] |
| 124 |
}, |
| 125 |
"showStats": { |
| 126 |
"type": "boolean", |
| 127 |
"default": true |
| 128 |
}, |
| 129 |
"imageUrl": { |
| 130 |
"type": "string", |
| 131 |
"default": "" |
| 132 |
}, |
| 133 |
"imageId": { |
| 134 |
"type": "number", |
| 135 |
"default": 0 |
| 136 |
}, |
| 137 |
"showImage": { |
| 138 |
"type": "boolean", |
| 139 |
"default": true |
| 140 |
}, |
| 141 |
"layout": { |
| 142 |
"type": "string", |
| 143 |
"default": "centered" |
| 144 |
}, |
| 145 |
"maxWidth": { |
| 146 |
"type": "number", |
| 147 |
"default": 1100 |
| 148 |
}, |
| 149 |
"paddingTop": { |
| 150 |
"type": "number", |
| 151 |
"default": 100 |
| 152 |
}, |
| 153 |
"paddingBottom": { |
| 154 |
"type": "number", |
| 155 |
"default": 100 |
| 156 |
}, |
| 157 |
"bgColor": { |
| 158 |
"type": "string", |
| 159 |
"default": "#0f172a" |
| 160 |
}, |
| 161 |
"headingColor": { |
| 162 |
"type": "string", |
| 163 |
"default": "#f8fafc" |
| 164 |
}, |
| 165 |
"subColor": { |
| 166 |
"type": "string", |
| 167 |
"default": "#94a3b8" |
| 168 |
}, |
| 169 |
"badgeBg": { |
| 170 |
"type": "string", |
| 171 |
"default": "rgba(99,102,241,0.15)" |
| 172 |
}, |
| 173 |
"badgeColor": { |
| 174 |
"type": "string", |
| 175 |
"default": "#a5b4fc" |
| 176 |
}, |
| 177 |
"ctaBg": { |
| 178 |
"type": "string", |
| 179 |
"default": "#6366f1" |
| 180 |
}, |
| 181 |
"ctaColor": { |
| 182 |
"type": "string", |
| 183 |
"default": "#ffffff" |
| 184 |
}, |
| 185 |
"ctaSecBg": { |
| 186 |
"type": "string", |
| 187 |
"default": "transparent" |
| 188 |
}, |
| 189 |
"ctaSecColor": { |
| 190 |
"type": "string", |
| 191 |
"default": "#a5b4fc" |
| 192 |
}, |
| 193 |
"trustColor": { |
| 194 |
"type": "string", |
| 195 |
"default": "#94a3b8" |
| 196 |
}, |
| 197 |
"statNumColor": { |
| 198 |
"type": "string", |
| 199 |
"default": "#f8fafc" |
| 200 |
}, |
| 201 |
"statLabelColor": { |
| 202 |
"type": "string", |
| 203 |
"default": "#64748b" |
| 204 |
}, |
| 205 |
"imageBg": { |
| 206 |
"type": "string", |
| 207 |
"default": "#1e293b" |
| 208 |
}, |
| 209 |
"accentColor": { |
| 210 |
"type": "string", |
| 211 |
"default": "#6366f1" |
| 212 |
}, |
| 213 |
"badgeFontSize": { |
| 214 |
"type": "number", |
| 215 |
"default": 13 |
| 216 |
}, |
| 217 |
"headingFontSize": { |
| 218 |
"type": "number", |
| 219 |
"default": 36 |
| 220 |
}, |
| 221 |
"subtextFontSize": { |
| 222 |
"type": "number", |
| 223 |
"default": 18 |
| 224 |
}, |
| 225 |
"ctaFontSize": { |
| 226 |
"type": "number", |
| 227 |
"default": 16 |
| 228 |
}, |
| 229 |
"statNumFontSize": { |
| 230 |
"type": "number", |
| 231 |
"default": 28 |
| 232 |
}, |
| 233 |
"statLabelFontSize": { |
| 234 |
"type": "number", |
| 235 |
"default": 13 |
| 236 |
}, |
| 237 |
"typoHeading": { |
| 238 |
"type": "object", |
| 239 |
"default": {} |
| 240 |
}, |
| 241 |
"typoSubtext": { |
| 242 |
"type": "object", |
| 243 |
"default": {} |
| 244 |
} |
| 245 |
} |
| 246 |
} |
| 247 |
|