| 1 |
{ |
| 2 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 |
"apiVersion": 3, |
| 4 |
"name": "blockenberg/content-upgrade", |
| 5 |
"title": "Content Upgrade", |
| 6 |
"description": "In-article content upgrade / lead magnet box with opt-in form. Goes between article paragraphs to capture emails in exchange for a bonus resource.", |
| 7 |
"category": "bkbg-marketing", |
| 8 |
"icon": "email-alt", |
| 9 |
"keywords": [ |
| 10 |
"content upgrade", |
| 11 |
"lead magnet", |
| 12 |
"opt-in", |
| 13 |
"email capture", |
| 14 |
"content lock", |
| 15 |
"freebie" |
| 16 |
], |
| 17 |
"textdomain": "blockenberg", |
| 18 |
"editorScript": "bkbg-content-upgrade-editor", |
| 19 |
"style": "bkbg-content-upgrade-style", |
| 20 |
"viewScript": "bkbg-content-upgrade-frontend", |
| 21 |
"supports": { |
| 22 |
"html": false, |
| 23 |
"align": [ |
| 24 |
"wide", |
| 25 |
"full" |
| 26 |
] |
| 27 |
}, |
| 28 |
"attributes": { |
| 29 |
"heading": { |
| 30 |
"type": "string", |
| 31 |
"default": "🎁 Free Bonus: Download the Checklist" |
| 32 |
}, |
| 33 |
"description": { |
| 34 |
"type": "string", |
| 35 |
"default": "Get the complete step-by-step checklist we use to implement everything covered in this article. Instant download, no spam." |
| 36 |
}, |
| 37 |
"imageUrl": { |
| 38 |
"type": "string", |
| 39 |
"default": "" |
| 40 |
}, |
| 41 |
"imageId": { |
| 42 |
"type": "number", |
| 43 |
"default": 0 |
| 44 |
}, |
| 45 |
"imageAlt": { |
| 46 |
"type": "string", |
| 47 |
"default": "" |
| 48 |
}, |
| 49 |
"formPlaceholder": { |
| 50 |
"type": "string", |
| 51 |
"default": "Enter your email address" |
| 52 |
}, |
| 53 |
"formSubmitLabel": { |
| 54 |
"type": "string", |
| 55 |
"default": "Send Me the Checklist" |
| 56 |
}, |
| 57 |
"formAction": { |
| 58 |
"type": "string", |
| 59 |
"default": "#" |
| 60 |
}, |
| 61 |
"successMessage": { |
| 62 |
"type": "string", |
| 63 |
"default": "🎉 Check your inbox! The download is on its way." |
| 64 |
}, |
| 65 |
"style": { |
| 66 |
"type": "string", |
| 67 |
"default": "boxed" |
| 68 |
}, |
| 69 |
"paddingTop": { |
| 70 |
"type": "number", |
| 71 |
"default": 40 |
| 72 |
}, |
| 73 |
"paddingBottom": { |
| 74 |
"type": "number", |
| 75 |
"default": 40 |
| 76 |
}, |
| 77 |
"borderRadius": { |
| 78 |
"type": "number", |
| 79 |
"default": 12 |
| 80 |
}, |
| 81 |
"accentColor": { |
| 82 |
"type": "string", |
| 83 |
"default": "#6366f1" |
| 84 |
}, |
| 85 |
"bgColor": { |
| 86 |
"type": "string", |
| 87 |
"default": "#f5f3ff" |
| 88 |
}, |
| 89 |
"borderColor": { |
| 90 |
"type": "string", |
| 91 |
"default": "#ddd6fe" |
| 92 |
}, |
| 93 |
"headingColor": { |
| 94 |
"type": "string", |
| 95 |
"default": "#1e1b4b" |
| 96 |
}, |
| 97 |
"descColor": { |
| 98 |
"type": "string", |
| 99 |
"default": "#4b5563" |
| 100 |
}, |
| 101 |
"inputBg": { |
| 102 |
"type": "string", |
| 103 |
"default": "#ffffff" |
| 104 |
}, |
| 105 |
"inputBorder": { |
| 106 |
"type": "string", |
| 107 |
"default": "#d1d5db" |
| 108 |
}, |
| 109 |
"inputColor": { |
| 110 |
"type": "string", |
| 111 |
"default": "#111827" |
| 112 |
}, |
| 113 |
"submitBg": { |
| 114 |
"type": "string", |
| 115 |
"default": "#6366f1" |
| 116 |
}, |
| 117 |
"submitColor": { |
| 118 |
"type": "string", |
| 119 |
"default": "#ffffff" |
| 120 |
}, |
| 121 |
"headingFontSize": { |
| 122 |
"type": "number", |
| 123 |
"default": 20 |
| 124 |
}, |
| 125 |
"descFontSize": { |
| 126 |
"type": "number", |
| 127 |
"default": 14 |
| 128 |
}, |
| 129 |
"typoHeading": { |
| 130 |
"type": "object", |
| 131 |
"default": {} |
| 132 |
}, |
| 133 |
"typoDesc": { |
| 134 |
"type": "object", |
| 135 |
"default": {} |
| 136 |
} |
| 137 |
} |
| 138 |
} |
| 139 |
|