| 1 |
{ |
| 2 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 |
"apiVersion": 3, |
| 4 |
"name": "blockenberg/split-hero", |
| 5 |
"version": "1.0.0", |
| 6 |
"title": "Split Hero", |
| 7 |
"category": "bkbg-layout", |
| 8 |
"icon": "align-pull-left", |
| 9 |
"description": "Two-column hero section with headline, badge, body text, dual CTA buttons and social proof on one side — image or video on the other. Built for landing pages.", |
| 10 |
"keywords": [ |
| 11 |
"hero", |
| 12 |
"split", |
| 13 |
"landing", |
| 14 |
"headline", |
| 15 |
"cta", |
| 16 |
"two column", |
| 17 |
"marketing" |
| 18 |
], |
| 19 |
"textdomain": "blockenberg", |
| 20 |
"editorScript": "bkbg-split-hero-editor", |
| 21 |
"editorStyle": "bkbg-split-hero-style", |
| 22 |
"style": "bkbg-split-hero-style", |
| 23 |
"viewScript": "bkbg-split-hero-frontend", |
| 24 |
"supports": { |
| 25 |
"html": false, |
| 26 |
"anchor": true, |
| 27 |
"className": true, |
| 28 |
"align": [ |
| 29 |
"wide", |
| 30 |
"full" |
| 31 |
] |
| 32 |
}, |
| 33 |
"attributes": { |
| 34 |
"contentSide": { |
| 35 |
"type": "string", |
| 36 |
"default": "left" |
| 37 |
}, |
| 38 |
"splitRatio": { |
| 39 |
"type": "string", |
| 40 |
"default": "50" |
| 41 |
}, |
| 42 |
"minHeight": { |
| 43 |
"type": "number", |
| 44 |
"default": 620 |
| 45 |
}, |
| 46 |
"badge": { |
| 47 |
"type": "string", |
| 48 |
"default": "🚀 Now in public beta" |
| 49 |
}, |
| 50 |
"showBadge": { |
| 51 |
"type": "boolean", |
| 52 |
"default": true |
| 53 |
}, |
| 54 |
"badgeStyle": { |
| 55 |
"type": "string", |
| 56 |
"default": "pill" |
| 57 |
}, |
| 58 |
"headline": { |
| 59 |
"type": "string", |
| 60 |
"default": "Build products your users actually love" |
| 61 |
}, |
| 62 |
"headlineTag": { |
| 63 |
"type": "string", |
| 64 |
"default": "h1" |
| 65 |
}, |
| 66 |
"subtext": { |
| 67 |
"type": "string", |
| 68 |
"default": "The all-in-one workspace for modern product teams. Design, ship, and iterate — all in one place." |
| 69 |
}, |
| 70 |
"ctaPrimaryLabel": { |
| 71 |
"type": "string", |
| 72 |
"default": "Start for free" |
| 73 |
}, |
| 74 |
"ctaPrimaryUrl": { |
| 75 |
"type": "string", |
| 76 |
"default": "#" |
| 77 |
}, |
| 78 |
"ctaPrimaryTarget": { |
| 79 |
"type": "boolean", |
| 80 |
"default": false |
| 81 |
}, |
| 82 |
"ctaSecondaryLabel": { |
| 83 |
"type": "string", |
| 84 |
"default": "Watch demo →" |
| 85 |
}, |
| 86 |
"ctaSecondaryUrl": { |
| 87 |
"type": "string", |
| 88 |
"default": "#" |
| 89 |
}, |
| 90 |
"ctaSecondaryTarget": { |
| 91 |
"type": "boolean", |
| 92 |
"default": false |
| 93 |
}, |
| 94 |
"showSecondaryCta": { |
| 95 |
"type": "boolean", |
| 96 |
"default": true |
| 97 |
}, |
| 98 |
"ctaRadius": { |
| 99 |
"type": "number", |
| 100 |
"default": 8 |
| 101 |
}, |
| 102 |
"showRating": { |
| 103 |
"type": "boolean", |
| 104 |
"default": true |
| 105 |
}, |
| 106 |
"ratingScore": { |
| 107 |
"type": "string", |
| 108 |
"default": "4.9 / 5" |
| 109 |
}, |
| 110 |
"ratingStars": { |
| 111 |
"type": "number", |
| 112 |
"default": 5 |
| 113 |
}, |
| 114 |
"ratingText": { |
| 115 |
"type": "string", |
| 116 |
"default": "from 2,000+ reviews" |
| 117 |
}, |
| 118 |
"showSocialProof": { |
| 119 |
"type": "boolean", |
| 120 |
"default": true |
| 121 |
}, |
| 122 |
"socialProofText": { |
| 123 |
"type": "string", |
| 124 |
"default": "Trusted by 10,000+ teams worldwide" |
| 125 |
}, |
| 126 |
"mediaType": { |
| 127 |
"type": "string", |
| 128 |
"default": "image" |
| 129 |
}, |
| 130 |
"imageUrl": { |
| 131 |
"type": "string", |
| 132 |
"default": "" |
| 133 |
}, |
| 134 |
"imageId": { |
| 135 |
"type": "number", |
| 136 |
"default": 0 |
| 137 |
}, |
| 138 |
"imageRadius": { |
| 139 |
"type": "number", |
| 140 |
"default": 16 |
| 141 |
}, |
| 142 |
"imageShadow": { |
| 143 |
"type": "boolean", |
| 144 |
"default": true |
| 145 |
}, |
| 146 |
"videoUrl": { |
| 147 |
"type": "string", |
| 148 |
"default": "" |
| 149 |
}, |
| 150 |
"contentPaddingH": { |
| 151 |
"type": "number", |
| 152 |
"default": 60 |
| 153 |
}, |
| 154 |
"contentPaddingV": { |
| 155 |
"type": "number", |
| 156 |
"default": 80 |
| 157 |
}, |
| 158 |
"headlineSize": { |
| 159 |
"type": "number", |
| 160 |
"default": 52 |
| 161 |
}, |
| 162 |
"headlineFontWeight": { |
| 163 |
"type": "number", |
| 164 |
"default": 800 |
| 165 |
}, |
| 166 |
"subtextSize": { |
| 167 |
"type": "number", |
| 168 |
"default": 17 |
| 169 |
}, |
| 170 |
"badgeSize": { |
| 171 |
"type": "number", |
| 172 |
"default": 13 |
| 173 |
}, |
| 174 |
"ratingSize": { |
| 175 |
"type": "number", |
| 176 |
"default": 13 |
| 177 |
}, |
| 178 |
"ctaPrimarySize": { |
| 179 |
"type": "number", |
| 180 |
"default": 16 |
| 181 |
}, |
| 182 |
"ctaSecondarySize": { |
| 183 |
"type": "number", |
| 184 |
"default": 15 |
| 185 |
}, |
| 186 |
"accentColor": { |
| 187 |
"type": "string", |
| 188 |
"default": "#6c3fb5" |
| 189 |
}, |
| 190 |
"headlineColor": { |
| 191 |
"type": "string", |
| 192 |
"default": "#111827" |
| 193 |
}, |
| 194 |
"subtextColor": { |
| 195 |
"type": "string", |
| 196 |
"default": "#6b7280" |
| 197 |
}, |
| 198 |
"badgeColor": { |
| 199 |
"type": "string", |
| 200 |
"default": "#6c3fb5" |
| 201 |
}, |
| 202 |
"badgeBg": { |
| 203 |
"type": "string", |
| 204 |
"default": "#f3f0ff" |
| 205 |
}, |
| 206 |
"ctaPrimaryBg": { |
| 207 |
"type": "string", |
| 208 |
"default": "#6c3fb5" |
| 209 |
}, |
| 210 |
"ctaPrimaryColor": { |
| 211 |
"type": "string", |
| 212 |
"default": "#ffffff" |
| 213 |
}, |
| 214 |
"ctaSecondaryColor": { |
| 215 |
"type": "string", |
| 216 |
"default": "#374151" |
| 217 |
}, |
| 218 |
"starColor": { |
| 219 |
"type": "string", |
| 220 |
"default": "#f59e0b" |
| 221 |
}, |
| 222 |
"socialProofColor": { |
| 223 |
"type": "string", |
| 224 |
"default": "#6b7280" |
| 225 |
}, |
| 226 |
"contentBg": { |
| 227 |
"type": "string", |
| 228 |
"default": "" |
| 229 |
}, |
| 230 |
"mediaBg": { |
| 231 |
"type": "string", |
| 232 |
"default": "#f3f0ff" |
| 233 |
}, |
| 234 |
"bgColor": { |
| 235 |
"type": "string", |
| 236 |
"default": "#ffffff" |
| 237 |
}, |
| 238 |
"headlineTypo": { "type": "object", "default": {} }, |
| 239 |
"subtextTypo": { "type": "object", "default": {} }, |
| 240 |
"badgeTypo": { "type": "object", "default": {} }, |
| 241 |
"ratingTypo": { "type": "object", "default": {} }, |
| 242 |
"proofTypo": { "type": "object", "default": {} }, |
| 243 |
"cta1Typo": { "type": "object", "default": {} }, |
| 244 |
"cta2Typo": { "type": "object", "default": {} } |
| 245 |
} |
| 246 |
} |
| 247 |
|