| 1 |
{ |
| 2 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 |
"apiVersion": 3, |
| 4 |
"name": "blockenberg/ebook-section", |
| 5 |
"title": "Ebook Section", |
| 6 |
"description": "Digital product and ebook showcase with 3D book cover, feature list, social proof, and CTA.", |
| 7 |
"category": "bkbg-marketing", |
| 8 |
"icon": "book", |
| 9 |
"keywords": [ |
| 10 |
"ebook", |
| 11 |
"book", |
| 12 |
"digital product", |
| 13 |
"download", |
| 14 |
"lead magnet", |
| 15 |
"course", |
| 16 |
"template", |
| 17 |
"toolkit" |
| 18 |
], |
| 19 |
"editorScript": "bkbg-ebook-section-editor", |
| 20 |
"style": "bkbg-ebook-section-style", |
| 21 |
"viewScript": "bkbg-ebook-section-frontend", |
| 22 |
"supports": { |
| 23 |
"html": false, |
| 24 |
"align": [ |
| 25 |
"wide", |
| 26 |
"full" |
| 27 |
] |
| 28 |
}, |
| 29 |
"attributes": { |
| 30 |
"coverUrl": { |
| 31 |
"type": "string", |
| 32 |
"default": "" |
| 33 |
}, |
| 34 |
"coverId": { |
| 35 |
"type": "number", |
| 36 |
"default": 0 |
| 37 |
}, |
| 38 |
"coverAlt": { |
| 39 |
"type": "string", |
| 40 |
"default": "" |
| 41 |
}, |
| 42 |
"title": { |
| 43 |
"type": "string", |
| 44 |
"default": "The Complete SEO Handbook" |
| 45 |
}, |
| 46 |
"subtitle": { |
| 47 |
"type": "string", |
| 48 |
"default": "Everything you need to rank #1 in Google — step by step." |
| 49 |
}, |
| 50 |
"authorName": { |
| 51 |
"type": "string", |
| 52 |
"default": "" |
| 53 |
}, |
| 54 |
"format": { |
| 55 |
"type": "string", |
| 56 |
"default": "pdf" |
| 57 |
}, |
| 58 |
"formatLabel": { |
| 59 |
"type": "string", |
| 60 |
"default": "" |
| 61 |
}, |
| 62 |
"pageCount": { |
| 63 |
"type": "string", |
| 64 |
"default": "120 pages" |
| 65 |
}, |
| 66 |
"whatInside": { |
| 67 |
"type": "array", |
| 68 |
"default": [ |
| 69 |
{ |
| 70 |
"icon": "� |
| 71 |
", |
| 72 |
"item": "7 proven keyword research frameworks", |
| 73 |
"iconType": "custom-char", |
| 74 |
"iconDashicon": "", |
| 75 |
"iconImageUrl": "" |
| 76 |
}, |
| 77 |
{ |
| 78 |
"icon": "� |
| 79 |
", |
| 80 |
"item": "On-page SEO checklists for every post", |
| 81 |
"iconType": "custom-char", |
| 82 |
"iconDashicon": "", |
| 83 |
"iconImageUrl": "" |
| 84 |
}, |
| 85 |
{ |
| 86 |
"icon": "� |
| 87 |
", |
| 88 |
"item": "Technical SEO audit template", |
| 89 |
"iconType": "custom-char", |
| 90 |
"iconDashicon": "", |
| 91 |
"iconImageUrl": "" |
| 92 |
}, |
| 93 |
{ |
| 94 |
"icon": "� |
| 95 |
", |
| 96 |
"item": "Link building outreach email templates", |
| 97 |
"iconType": "custom-char", |
| 98 |
"iconDashicon": "", |
| 99 |
"iconImageUrl": "" |
| 100 |
} |
| 101 |
] |
| 102 |
}, |
| 103 |
"showTestimonial": { |
| 104 |
"type": "boolean", |
| 105 |
"default": true |
| 106 |
}, |
| 107 |
"testimonialQuote": { |
| 108 |
"type": "string", |
| 109 |
"default": "This handbook cut our time-to-rank in half. Absolutely essential." |
| 110 |
}, |
| 111 |
"testimonialName": { |
| 112 |
"type": "string", |
| 113 |
"default": "Sarah K., Marketing Director" |
| 114 |
}, |
| 115 |
"testimonialTitle": { |
| 116 |
"type": "string", |
| 117 |
"default": "" |
| 118 |
}, |
| 119 |
"ctaLabel": { |
| 120 |
"type": "string", |
| 121 |
"default": "Download Free →" |
| 122 |
}, |
| 123 |
"ctaUrl": { |
| 124 |
"type": "string", |
| 125 |
"default": "#" |
| 126 |
}, |
| 127 |
"price": { |
| 128 |
"type": "string", |
| 129 |
"default": "Free" |
| 130 |
}, |
| 131 |
"originalPrice": { |
| 132 |
"type": "string", |
| 133 |
"default": "" |
| 134 |
}, |
| 135 |
"openInNewTab": { |
| 136 |
"type": "boolean", |
| 137 |
"default": false |
| 138 |
}, |
| 139 |
"layout": { |
| 140 |
"type": "string", |
| 141 |
"default": "split" |
| 142 |
}, |
| 143 |
"show3D": { |
| 144 |
"type": "boolean", |
| 145 |
"default": true |
| 146 |
}, |
| 147 |
"bgColor": { |
| 148 |
"type": "string", |
| 149 |
"default": "#f0f4ff" |
| 150 |
}, |
| 151 |
"titleColor": { |
| 152 |
"type": "string", |
| 153 |
"default": "#111827" |
| 154 |
}, |
| 155 |
"subtitleColor": { |
| 156 |
"type": "string", |
| 157 |
"default": "#374151" |
| 158 |
}, |
| 159 |
"authorColor": { |
| 160 |
"type": "string", |
| 161 |
"default": "#6b7280" |
| 162 |
}, |
| 163 |
"formatBadgeBg": { |
| 164 |
"type": "string", |
| 165 |
"default": "#6366f1" |
| 166 |
}, |
| 167 |
"formatBadgeColor": { |
| 168 |
"type": "string", |
| 169 |
"default": "#ffffff" |
| 170 |
}, |
| 171 |
"itemColor": { |
| 172 |
"type": "string", |
| 173 |
"default": "#374151" |
| 174 |
}, |
| 175 |
"checkColor": { |
| 176 |
"type": "string", |
| 177 |
"default": "#16a34a" |
| 178 |
}, |
| 179 |
"testimonialBg": { |
| 180 |
"type": "string", |
| 181 |
"default": "#ffffff" |
| 182 |
}, |
| 183 |
"testimonialColor": { |
| 184 |
"type": "string", |
| 185 |
"default": "#374151" |
| 186 |
}, |
| 187 |
"quoteColor": { |
| 188 |
"type": "string", |
| 189 |
"default": "#6366f1" |
| 190 |
}, |
| 191 |
"ctaBg": { |
| 192 |
"type": "string", |
| 193 |
"default": "#6366f1" |
| 194 |
}, |
| 195 |
"ctaColor": { |
| 196 |
"type": "string", |
| 197 |
"default": "#ffffff" |
| 198 |
}, |
| 199 |
"priceColor": { |
| 200 |
"type": "string", |
| 201 |
"default": "#16a34a" |
| 202 |
}, |
| 203 |
"origPriceColor": { |
| 204 |
"type": "string", |
| 205 |
"default": "#9ca3af" |
| 206 |
}, |
| 207 |
"coverShadow": { |
| 208 |
"type": "string", |
| 209 |
"default": "#6366f160" |
| 210 |
}, |
| 211 |
"borderRadius": { |
| 212 |
"type": "number", |
| 213 |
"default": 12 |
| 214 |
}, |
| 215 |
"paddingTop": { |
| 216 |
"type": "number", |
| 217 |
"default": 60 |
| 218 |
}, |
| 219 |
"paddingBottom": { |
| 220 |
"type": "number", |
| 221 |
"default": 60 |
| 222 |
}, |
| 223 |
"titleFontSize": { "type": "number", "default": 28 }, |
| 224 |
"titleFontWeight": { "type": "string", "default": "800" }, |
| 225 |
"titleLineHeight": { "type": "number", "default": 1.2 }, |
| 226 |
"subtitleFontSize": { "type": "number", "default": 15 }, |
| 227 |
"subtitleFontWeight": { "type": "string", "default": "400" }, |
| 228 |
"subtitleLineHeight": { "type": "number", "default": 1.5 }, |
| 229 |
"priceFontSize": { "type": "number", "default": 22 }, |
| 230 |
"priceFontWeight": { "type": "string", "default": "800" }, |
| 231 |
"ctaFontSize": { "type": "number", "default": 15 }, |
| 232 |
"ctaFontWeight": { "type": "string", "default": "700" }, |
| 233 |
"typoTitle": { "type": "object", "default": {} }, |
| 234 |
"typoSubtitle": { "type": "object", "default": {} }, |
| 235 |
"typoPrice": { "type": "object", "default": {} }, |
| 236 |
"typoCta": { "type": "object", "default": {} } |
| 237 |
} |
| 238 |
} |
| 239 |
|