PluginProbe
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor / 2.0.7
Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor v2.0.7
2.0.13 2.0.12 2.0.11 2.0.10 2.0.9 trunk 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8
blockenberg / blocks / affiliate-section / block.json

block.json in Blockenberg — 600+ Advanced Gutenberg Blocks & AI Agent for WordPress Block Editor 2.0.7, at blocks/affiliate-section/block.json

241 lines 6.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 {
2 "$schema": "https://schemas.wp.org/trunk/block.json",
3 "apiVersion": 3,
4 "name": "blockenberg/affiliate-section",
5 "version": "1.0.0",
6 "title": "Affiliate Section",
7 "category": "bkbg-marketing",
8 "icon": "money-alt",
9 "description": "Affiliate/referral program landing section with commission highlight, how-it-works steps, benefits list, and stats.",
10 "keywords": [
11 "affiliate",
12 "referral",
13 "partner",
14 "commission",
15 "program"
16 ],
17 "textdomain": "blockenberg",
18 "editorScript": "bkbg-affiliate-section-editor",
19 "style": "bkbg-affiliate-section-style",
20 "viewScript": "bkbg-affiliate-section-frontend",
21 "supports": {
22 "html": false,
23 "align": [
24 "wide",
25 "full"
26 ]
27 },
28 "attributes": {
29 "eyebrow": {
30 "type": "string",
31 "default": "Partner Program"
32 },
33 "heading": {
34 "type": "string",
35 "default": "Earn While You Share"
36 },
37 "subtext": {
38 "type": "string",
39 "default": "Join our affiliate program and earn generous commissions for every customer you refer to us."
40 },
41 "commission": {
42 "type": "string",
43 "default": "30%"
44 },
45 "commissionLabel": {
46 "type": "string",
47 "default": "recurring commission"
48 },
49 "commissionNote": {
50 "type": "string",
51 "default": "on every sale, every month, for life"
52 },
53 "steps": {
54 "type": "array",
55 "default": [
56 {
57 "icon": "🔗",
58 "title": "Sign Up Free",
59 "description": "Create your affiliate account in minutes. No fees, no approval delays."
60 },
61 {
62 "icon": "📢",
63 "title": "Share Your Link",
64 "description": "Get a unique link and promote via blog, email, social media, or any channel."
65 },
66 {
67 "icon": "💰",
68 "title": "Earn Commission",
69 "description": "Get paid automatically each month for every customer you refer."
70 }
71 ]
72 },
73 "showBenefits": {
74 "type": "boolean",
75 "default": true
76 },
77 "benefits": {
78 "type": "array",
79 "default": [
80 {
81 "text": "30-day cookie window"
82 },
83 {
84 "text": "Real-time tracking dashboard"
85 },
86 {
87 "text": "Monthly payouts via PayPal"
88 },
89 {
90 "text": "Dedicated affiliate manager"
91 },
92 {
93 "text": "Marketing materials provided"
94 }
95 ]
96 },
97 "showStats": {
98 "type": "boolean",
99 "default": true
100 },
101 "stats": {
102 "type": "array",
103 "default": [
104 {
105 "number": "2,400+",
106 "label": "Active Affiliates"
107 },
108 {
109 "number": "$1.2M",
110 "label": "Paid Out"
111 },
112 {
113 "number": "4.8�
114 ",
115 "label": "Affiliate Rating"
116 }
117 ]
118 },
119 "ctaLabel": {
120 "type": "string",
121 "default": "Join the Program"
122 },
123 "ctaUrl": {
124 "type": "string",
125 "default": "#"
126 },
127 "ctaSecondaryLabel": {
128 "type": "string",
129 "default": "Learn More"
130 },
131 "ctaSecondaryUrl": {
132 "type": "string",
133 "default": "#"
134 },
135 "showSecondary": {
136 "type": "boolean",
137 "default": true
138 },
139 "layout": {
140 "type": "string",
141 "default": "split"
142 },
143 "bgColor": {
144 "type": "string",
145 "default": "#0f172a"
146 },
147 "accentColor": {
148 "type": "string",
149 "default": "#6366f1"
150 },
151 "commissionBg": {
152 "type": "string",
153 "default": "#6366f1"
154 },
155 "commissionColor": {
156 "type": "string",
157 "default": "#ffffff"
158 },
159 "headingColor": {
160 "type": "string",
161 "default": "#ffffff"
162 },
163 "subColor": {
164 "type": "string",
165 "default": "#94a3b8"
166 },
167 "eyebrowColor": {
168 "type": "string",
169 "default": "#a5b4fc"
170 },
171 "stepCardBg": {
172 "type": "string",
173 "default": "#1e293b"
174 },
175 "stepTitleColor": {
176 "type": "string",
177 "default": "#f1f5f9"
178 },
179 "stepDescColor": {
180 "type": "string",
181 "default": "#94a3b8"
182 },
183 "benefitColor": {
184 "type": "string",
185 "default": "#e2e8f0"
186 },
187 "statNumColor": {
188 "type": "string",
189 "default": "#6366f1"
190 },
191 "statLabelColor": {
192 "type": "string",
193 "default": "#94a3b8"
194 },
195 "ctaBg": {
196 "type": "string",
197 "default": "#6366f1"
198 },
199 "ctaColor": {
200 "type": "string",
201 "default": "#ffffff"
202 },
203 "maxWidth": {
204 "type": "number",
205 "default": 1100
206 },
207 "paddingTop": {
208 "type": "number",
209 "default": 80
210 },
211 "paddingBottom": {
212 "type": "number",
213 "default": 80
214 },
215 "eyebrowFontSize": {
216 "type": "number",
217 "default": 13
218 },
219 "headingFontSize": {
220 "type": "number",
221 "default": 38
222 },
223 "subtextFontSize": {
224 "type": "number",
225 "default": 18
226 },
227 "eyebrowTypo": {
228 "type": "object",
229 "default": {}
230 },
231 "headingTypo": {
232 "type": "object",
233 "default": {}
234 },
235 "subtextTypo": {
236 "type": "object",
237 "default": {}
238 }
239 }
240 }
241