| 1 |
{ |
| 2 |
"$schema": "https://schemas.wp.org/trunk/block.json", |
| 3 |
"apiVersion": 3, |
| 4 |
"name": "blockenberg/newsletter-section", |
| 5 |
"title": "Newsletter Section", |
| 6 |
"description": "Full newsletter landing section with past issue previews, subscriber count social proof, benefits bullets, and a prominent subscribe form. Distinct from a simple newsletter widget.", |
| 7 |
"category": "bkbg-marketing", |
| 8 |
"icon": "email", |
| 9 |
"keywords": [ |
| 10 |
"newsletter", |
| 11 |
"subscribe", |
| 12 |
"email list", |
| 13 |
"mailing list", |
| 14 |
"issues", |
| 15 |
"digest" |
| 16 |
], |
| 17 |
"textdomain": "blockenberg", |
| 18 |
"editorScript": "bkbg-newsletter-section-editor", |
| 19 |
"style": "bkbg-newsletter-section-style", |
| 20 |
"viewScript": "bkbg-newsletter-section-frontend", |
| 21 |
"supports": { |
| 22 |
"html": false, |
| 23 |
"align": [ |
| 24 |
"wide", |
| 25 |
"full" |
| 26 |
] |
| 27 |
}, |
| 28 |
"attributes": { |
| 29 |
"eyebrow": { |
| 30 |
"type": "string", |
| 31 |
"default": "Weekly Newsletter" |
| 32 |
}, |
| 33 |
"heading": { |
| 34 |
"type": "string", |
| 35 |
"default": "Join 12,000+ Marketers Getting Smarter Every Week" |
| 36 |
}, |
| 37 |
"subtext": { |
| 38 |
"type": "string", |
| 39 |
"default": "No fluff. Just the most actionable strategies, tools, and case studies — curated every Tuesday." |
| 40 |
}, |
| 41 |
"subscriberCount": { |
| 42 |
"type": "string", |
| 43 |
"default": "12,000+ subscribers" |
| 44 |
}, |
| 45 |
"showSubscriberBadge": { |
| 46 |
"type": "boolean", |
| 47 |
"default": true |
| 48 |
}, |
| 49 |
"formPlaceholder": { |
| 50 |
"type": "string", |
| 51 |
"default": "Your email address" |
| 52 |
}, |
| 53 |
"formSubmitLabel": { |
| 54 |
"type": "string", |
| 55 |
"default": "Subscribe Free" |
| 56 |
}, |
| 57 |
"formAction": { |
| 58 |
"type": "string", |
| 59 |
"default": "#" |
| 60 |
}, |
| 61 |
"successMessage": { |
| 62 |
"type": "string", |
| 63 |
"default": "🎉 You're in! Check your inbox for a confirmation." |
| 64 |
}, |
| 65 |
"privacyNote": { |
| 66 |
"type": "string", |
| 67 |
"default": "No spam. Unsubscribe anytime." |
| 68 |
}, |
| 69 |
"benefits": { |
| 70 |
"type": "array", |
| 71 |
"default": [ |
| 72 |
"Proven marketing strategies that actually work", |
| 73 |
"Tool reviews and comparisons (unbiased)", |
| 74 |
"Real-world case studies with numbers", |
| 75 |
"Exclusive subscriber-only resources" |
| 76 |
] |
| 77 |
}, |
| 78 |
"showBenefits": { |
| 79 |
"type": "boolean", |
| 80 |
"default": true |
| 81 |
}, |
| 82 |
"sampleIssues": { |
| 83 |
"type": "array", |
| 84 |
"default": [ |
| 85 |
{ |
| 86 |
"title": "How Loom grew to $975M with zero cold outreach", |
| 87 |
"date": "Mar 12, 2024", |
| 88 |
"excerpt": "The video messaging playbook that turned a simple screen-recorder into a category-defining tool..." |
| 89 |
}, |
| 90 |
{ |
| 91 |
"title": "7 SEO tactics that still work in the AI era", |
| 92 |
"date": "Mar 5, 2024", |
| 93 |
"excerpt": "Google's latest changes killed many old-school tactics — but these seven are stronger than ever..." |
| 94 |
}, |
| 95 |
{ |
| 96 |
"title": "The onboarding email sequence that converts 43%", |
| 97 |
"date": "Feb 27, 2024", |
| 98 |
"excerpt": "A step-by-step teardown of the email sequence Buffer used to hit 43% trial-to-paid conversion..." |
| 99 |
} |
| 100 |
] |
| 101 |
}, |
| 102 |
"showSamples": { |
| 103 |
"type": "boolean", |
| 104 |
"default": true |
| 105 |
}, |
| 106 |
"maxWidth": { |
| 107 |
"type": "number", |
| 108 |
"default": 1100 |
| 109 |
}, |
| 110 |
"paddingTop": { |
| 111 |
"type": "number", |
| 112 |
"default": 100 |
| 113 |
}, |
| 114 |
"paddingBottom": { |
| 115 |
"type": "number", |
| 116 |
"default": 100 |
| 117 |
}, |
| 118 |
"bgColor": { |
| 119 |
"type": "string", |
| 120 |
"default": "#0f172a" |
| 121 |
}, |
| 122 |
"eyebrowColor": { |
| 123 |
"type": "string", |
| 124 |
"default": "#818cf8" |
| 125 |
}, |
| 126 |
"headingColor": { |
| 127 |
"type": "string", |
| 128 |
"default": "#f8fafc" |
| 129 |
}, |
| 130 |
"subColor": { |
| 131 |
"type": "string", |
| 132 |
"default": "#94a3b8" |
| 133 |
}, |
| 134 |
"benefitColor": { |
| 135 |
"type": "string", |
| 136 |
"default": "#cbd5e1" |
| 137 |
}, |
| 138 |
"checkColor": { |
| 139 |
"type": "string", |
| 140 |
"default": "#22d3ee" |
| 141 |
}, |
| 142 |
"inputBg": { |
| 143 |
"type": "string", |
| 144 |
"default": "#1e293b" |
| 145 |
}, |
| 146 |
"inputBorder": { |
| 147 |
"type": "string", |
| 148 |
"default": "#334155" |
| 149 |
}, |
| 150 |
"inputColor": { |
| 151 |
"type": "string", |
| 152 |
"default": "#f1f5f9" |
| 153 |
}, |
| 154 |
"submitBg": { |
| 155 |
"type": "string", |
| 156 |
"default": "#6366f1" |
| 157 |
}, |
| 158 |
"submitColor": { |
| 159 |
"type": "string", |
| 160 |
"default": "#ffffff" |
| 161 |
}, |
| 162 |
"privacyColor": { |
| 163 |
"type": "string", |
| 164 |
"default": "#64748b" |
| 165 |
}, |
| 166 |
"issueBg": { |
| 167 |
"type": "string", |
| 168 |
"default": "#1e293b" |
| 169 |
}, |
| 170 |
"issueBorder": { |
| 171 |
"type": "string", |
| 172 |
"default": "#334155" |
| 173 |
}, |
| 174 |
"issueTitleColor": { |
| 175 |
"type": "string", |
| 176 |
"default": "#f1f5f9" |
| 177 |
}, |
| 178 |
"issueDateColor": { |
| 179 |
"type": "string", |
| 180 |
"default": "#818cf8" |
| 181 |
}, |
| 182 |
"issueExcerptColor": { |
| 183 |
"type": "string", |
| 184 |
"default": "#94a3b8" |
| 185 |
}, |
| 186 |
"subscriberBadgeBg": { |
| 187 |
"type": "string", |
| 188 |
"default": "#1e293b" |
| 189 |
}, |
| 190 |
"subscriberBadgeColor": { |
| 191 |
"type": "string", |
| 192 |
"default": "#94a3b8" |
| 193 |
}, |
| 194 |
"accentColor": { |
| 195 |
"type": "string", |
| 196 |
"default": "#6366f1" |
| 197 |
}, |
| 198 |
"headingTypo": { |
| 199 |
"type": "object", |
| 200 |
"default": {} |
| 201 |
}, |
| 202 |
"subtextTypo": { |
| 203 |
"type": "object", |
| 204 |
"default": {} |
| 205 |
} |
| 206 |
} |
| 207 |
} |
| 208 |
|