| 1 |
{ |
| 2 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 |
"apiVersion": 3, |
| 4 |
"name": "blockenberg/split-cta", |
| 5 |
"title": "Split CTA", |
| 6 |
"description": "Two-panel call-to-action section, each with its own background, headline, description and button.", |
| 7 |
"category": "bkbg-marketing", |
| 8 |
"textdomain": "blockenberg", |
| 9 |
"editorScript": "bkbg-split-cta-editor", |
| 10 |
"style": "bkbg-split-cta-style", |
| 11 |
"viewScript": "bkbg-split-cta-frontend", |
| 12 |
"supports": { |
| 13 |
"html": false, |
| 14 |
"anchor": true, |
| 15 |
"className": true, |
| 16 |
"align": [ |
| 17 |
"wide", |
| 18 |
"full" |
| 19 |
] |
| 20 |
}, |
| 21 |
"attributes": { |
| 22 |
"panels": { |
| 23 |
"type": "array", |
| 24 |
"default": [ |
| 25 |
{ |
| 26 |
"id": "p1", |
| 27 |
"badge": "Personal", |
| 28 |
"showBadge": true, |
| 29 |
"headline": "Start for Free", |
| 30 |
"description": "Perfect for individuals and freelancers. No credit card required. Up and running in minutes.", |
| 31 |
"btnLabel": "Get Started Free", |
| 32 |
"btnUrl": "#", |
| 33 |
"btnNewTab": false, |
| 34 |
"bgType": "color", |
| 35 |
"bgColor": "#f5f3ff", |
| 36 |
"textColor": "#111827", |
| 37 |
"btnBg": "#6c3fb5", |
| 38 |
"btnColor": "#ffffff", |
| 39 |
"borderColor": "" |
| 40 |
}, |
| 41 |
{ |
| 42 |
"id": "p2", |
| 43 |
"badge": "Teams", |
| 44 |
"showBadge": true, |
| 45 |
"headline": "Book a Demo", |
| 46 |
"description": "For growing teams and enterprise clients. Custom pricing, dedicated support, advanced security.", |
| 47 |
"btnLabel": "Talk to Sales", |
| 48 |
"btnUrl": "#", |
| 49 |
"btnNewTab": false, |
| 50 |
"bgType": "color", |
| 51 |
"bgColor": "#6c3fb5", |
| 52 |
"textColor": "#ffffff", |
| 53 |
"btnBg": "#ffffff", |
| 54 |
"btnColor": "#6c3fb5", |
| 55 |
"borderColor": "" |
| 56 |
} |
| 57 |
] |
| 58 |
}, |
| 59 |
"layout": { |
| 60 |
"type": "string", |
| 61 |
"default": "equal" |
| 62 |
}, |
| 63 |
"showDivider": { |
| 64 |
"type": "boolean", |
| 65 |
"default": true |
| 66 |
}, |
| 67 |
"dividerStyle": { |
| 68 |
"type": "string", |
| 69 |
"default": "line" |
| 70 |
}, |
| 71 |
"dividerColor": { |
| 72 |
"type": "string", |
| 73 |
"default": "#e5e7eb" |
| 74 |
}, |
| 75 |
"minHeight": { |
| 76 |
"type": "number", |
| 77 |
"default": 360 |
| 78 |
}, |
| 79 |
"panelPadding": { |
| 80 |
"type": "number", |
| 81 |
"default": 56 |
| 82 |
}, |
| 83 |
"borderRadius": { |
| 84 |
"type": "number", |
| 85 |
"default": 0 |
| 86 |
}, |
| 87 |
"wrapRadius": { |
| 88 |
"type": "number", |
| 89 |
"default": 16 |
| 90 |
}, |
| 91 |
"textAlign": { |
| 92 |
"type": "string", |
| 93 |
"default": "center" |
| 94 |
}, |
| 95 |
"btnRadius": { |
| 96 |
"type": "number", |
| 97 |
"default": 8 |
| 98 |
}, |
| 99 |
"badgeRadius": { |
| 100 |
"type": "number", |
| 101 |
"default": 99 |
| 102 |
}, |
| 103 |
"headlineSize": { |
| 104 |
"type": "number", |
| 105 |
"default": 34 |
| 106 |
}, |
| 107 |
"descSize": { |
| 108 |
"type": "number", |
| 109 |
"default": 16 |
| 110 |
}, |
| 111 |
"badgeSize": { |
| 112 |
"type": "number", |
| 113 |
"default": 13 |
| 114 |
}, |
| 115 |
"btnSize": { |
| 116 |
"type": "number", |
| 117 |
"default": 15 |
| 118 |
}, |
| 119 |
"stackOnMobile": { |
| 120 |
"type": "boolean", |
| 121 |
"default": true |
| 122 |
}, |
| 123 |
"paddingTop": { |
| 124 |
"type": "number", |
| 125 |
"default": 0 |
| 126 |
}, |
| 127 |
"paddingBottom": { |
| 128 |
"type": "number", |
| 129 |
"default": 0 |
| 130 |
}, |
| 131 |
"headlineFontWeight": { |
| 132 |
"type": "number", |
| 133 |
"default": 700 |
| 134 |
}, |
| 135 |
"headlineTypo": { |
| 136 |
"type": "object", |
| 137 |
"default": {} |
| 138 |
}, |
| 139 |
"descTypo": { |
| 140 |
"type": "object", |
| 141 |
"default": {} |
| 142 |
}, |
| 143 |
"badgeTypo": { |
| 144 |
"type": "object", |
| 145 |
"default": {} |
| 146 |
}, |
| 147 |
"btnTypo": { |
| 148 |
"type": "object", |
| 149 |
"default": {} |
| 150 |
} |
| 151 |
} |
| 152 |
} |