PluginProbe ʕ •ᴥ•ʔ
MailPoet – Newsletters, Email Marketing, and Automation / 5.34.2
MailPoet – Newsletters, Email Marketing, and Automation v5.34.2
5.34.2 5.34.1 5.34.0 5.33.1 5.33.0 5.32.0 5.31.0 5.30.0 5.29.0 5.28.1 5.28.0 5.27.0 5.26.0 5.26.1 5.25.0 5.24.0 4.43.0 4.43.1 4.44.0 4.44.1 4.45.0 4.46.0 4.47.0 4.48.0 4.48.1 4.48.2 4.49.0 4.49.1 4.5.0 4.5.1 4.5.2 4.50.0 4.50.1 4.51.0 4.51.1 4.51.2 4.52.0 4.53.0 4.54.0 4.55.0 4.56.0 4.57.0 4.58.0 4.58.1 4.58.2 4.6.0 4.6.1 4.6.2 4.7.0 4.7.1 4.8.0 4.8.1 4.9.0 5.0.0 5.0.1 5.0.2 5.1.0 5.1.1 5.10.0 5.10.1 5.11.0 5.12.0 5.12.1 5.12.10 5.12.11 5.12.12 5.12.13 5.12.2 5.12.3 5.12.4 5.12.5 5.12.6 5.12.7 5.12.8 5.12.9 5.13.0 5.13.1 5.13.2 5.14.0 5.14.1 5.14.2 5.14.3 5.15.0 5.15.1 5.16.0 5.16.1 5.16.2 5.16.3 5.16.4 5.17.0 5.17.1 5.17.2 5.17.3 5.17.4 5.17.5 5.17.6 5.18.0 5.19.0 5.2.0 5.2.1 5.2.2 5.2.3 5.20.0 5.21.0 5.21.1 5.21.2 5.21.3 5.22.0 5.22.1 5.22.2 5.22.3 5.22.4 5.23.0 5.23.1 5.23.2 5.3.0 5.3.1 5.3.2 5.3.3 5.3.4 5.3.5 5.3.6 5.3.7 5.4.0 5.4.1 5.4.2 5.5.0 5.5.1 5.5.2 5.6.0 5.6.1 5.6.2 5.6.3 5.6.4 5.7.0 5.7.1 5.8.0 5.8.1 5.9.0 3.0.0-beta.15 3.7.1 3.0.0-beta.16 3.7.2 3.0.0-beta.17 3.7.3 3.0.0-beta.18 3.7.4 3.0.0-beta.19 3.7.5 3.0.0-beta.2 3.7.6 3.0.0-beta.20 3.7.8 3.0.0-beta.21 3.70.0 3.0.0-beta.22 3.71.0 3.0.0-beta.23 3.71.1 3.0.0-beta.23.1 3.71.2 3.0.0-beta.23.2 3.71.3 3.0.0-beta.24 3.72.0 3.0.0-beta.25 3.73.0 3.0.0-beta.26 3.73.1 3.0.0-beta.27 3.73.2 3.0.0-beta.28 3.74.0 3.0.0-beta.29 3.74.1 3.0.0-beta.3 3.74.2 3.0.0-beta.30 3.74.3 3.0.0-beta.31 3.75.0 3.0.0-beta.32 3.75.1 3.0.0-beta.33 3.76.0 3.0.0-beta.33.1 3.77.0 3.0.0-beta.34.0.0 3.77.1 3.0.0-beta.36.0.0 3.78.0 3.0.0-beta.36.0.1 3.79.0 3.0.0-beta.36.2.0 3.8 3.0.0-beta.36.3.0 3.8.1 3.0.0-beta.36.3.1 3.8.2 3.0.0-beta.37.0.0 3.8.3 3.0.0-beta.4 3.8.4 3.0.0-beta.5 3.8.5 3.0.0-beta.6 3.8.6 3.0.0-beta.7 3.80.0 3.0.0-beta.7.1 3.81.0 3.0.0-beta.8 3.82.0 3.0.0-beta.9 3.83.0 3.0.0-rc.1.0.0 3.84.0 3.0.0-rc.1.0.1 3.84.1 3.0.0-rc.1.0.2 3.85.0 3.0.0-rc.1.0.3 3.85.1 3.0.0-rc.1.0.4 3.86.0 3.0.0-rc.2.0.0 3.87.0 3.0.0-rc.2.0.1 3.87.1 3.0.0-rc.2.0.2 3.87.2 3.0.0-rc.2.0.3 3.88.0 3.0.1 3.88.1 3.0.2 3.88.2 3.0.3 3.89.0 3.0.4 3.89.1 3.0.5 3.89.2 3.0.6 3.89.3 3.0.7 3.89.4 3.0.8 3.9.0 3.0.9 3.9.1 3.1.0 3.90.0 3.10 3.90.1 3.10.1 3.90.2 3.100.0 3.91.0 3.100.1 3.91.1 3.100.2 3.92.0 3.101.0 3.92.1 3.101.1 3.93.0 3.102.0 3.93.1 3.102.1 3.94.0 3.103.0 3.95.0 3.103.1 3.95.1 3.11.0 3.96.0 3.11.1 3.96.1 3.11.2 3.97.0 3.11.3 3.98.0 3.11.4 3.98.1 3.11.5 3.99.0 3.12.0 3.99.1 3.12.1 4.0.0 3.13.0 4.0.1 3.14.0 4.1.0 3.14.1 4.1.1 3.15.0 4.10.0 3.16.0 4.11.0 3.16.1 4.11.1 3.16.2 4.12.0 3.16.3 4.12.1 3.17.0 4.12.2 3.17.1 4.13.0 3.17.2 4.14.0 3.18.0 4.15.0 3.18.1 4.16.0 3.18.2 4.17.0 3.19.0 4.17.1 3.19.1 4.18.0 3.19.2 4.18.1 3.19.3 4.19.0 3.2.0 4.2.0 3.2.1 4.20.0 3.2.2 4.20.1 3.2.3 4.20.2 3.2.4 4.21.0 3.2.5 4.22.0 3.20.0 4.22.1 3.21.0 4.22.2 3.21.1 4.23.0 3.22.0 4.24.0 3.23.0 4.25.0 3.23.1 4.26.0 3.23.2 4.26.1 3.24.0 4.27.0 3.25.0 4.28.0 3.25.1 4.29.0 3.26.0 4.3.0 3.26.1 4.3.1 3.27.0 4.30.0 3.28.0 4.31.0 3.29.0 4.31.1 3.3.0 4.32.0 3.3.1 4.33.0 3.3.2 4.34.0 3.3.3 4.35.0 3.3.4 4.35.1 3.3.5 4.36.0 3.3.6 4.37.0 3.30.0 4.38.0 3.31.0 4.39.0 3.31.1 4.4.0 3.32.0 4.40.0 3.32.1 4.41.0 3.32.2 4.41.1 3.33.0 4.41.2 3.34.0 4.41.3 3.34.1 4.42.0 3.34.2 4.42.1 3.34.3 3.34.4 3.35.0 3.35.1 3.35.3 3.35.4 3.36.0 3.37.0 3.37.1 3.37.2 3.37.3 3.38.0 3.38.1 3.39.0 3.39.1 3.39.2 3.4.0 3.4.1 3.4.2 3.4.3 3.4.4 3.40.0 3.40.1 3.41.0 3.41.1 3.41.2 3.42.0 3.42.1 3.42.2 3.42.3 3.43.0 3.43.1 3.44.0 3.45.0 3.45.1 3.46.0 3.46.1 3.46.10 3.46.11 3.46.12 3.46.13 3.46.14 3.46.2 3.46.3 3.46.4 3.46.5 3.46.6 3.46.7 3.46.8 3.46.9 3.47.0 3.47.1 3.47.10 3.47.11 3.47.2 3.47.3 3.47.5 3.47.6 3.47.7 3.47.9 3.48.0 3.48.1 3.49.0 3.49.1 3.5.0 3.5.1 3.50.0 3.51.0 3.51.1 3.51.2 3.52.0 3.53.0 3.54.0 3.54.1 3.54.2 3.54.3 3.55.0 3.55.1 3.56.0 3.56.1 3.56.2 3.57.0 3.57.1 3.58.0 3.59.0 3.59.1 3.59.2 3.6.0 3.6.1 3.6.2 3.6.3 3.6.4 3.6.5 3.6.6 3.6.7 3.60.0 3.60.1 3.60.10 3.60.11 3.60.12 3.60.2 3.60.3 3.60.4 3.60.6 3.60.7 3.60.8 3.60.9 3.61.0 3.62.0 3.62.1 3.63.0 3.64.0 3.64.1 3.64.2 3.64.3 3.65.0 trunk 3.65.1 3.0.0 3.66.0 3.0.0-beta.1 3.67.0 3.0.0-beta.10 3.67.1 3.0.0-beta.11 3.68.0 3.0.0-beta.12 3.69.0 3.0.0-beta.13 3.69.1 3.0.0-beta.14 3.7.0
mailpoet / lib / Config / PopulatorData / Templates / FoodBox.php
mailpoet / lib / Config / PopulatorData / Templates Last commit date
AppWelcome.php 1 year ago Avocado.php 1 year ago Birds.php 1 year ago BirthdayCelebration.php 2 months ago BookStoreWithCoupon.php 1 year ago BrandingAgencyNews.php 1 year ago BuddhistTemple.php 1 year ago Charity.php 1 year ago CityLocalNews.php 1 year ago ClearNews.php 1 year ago Coffee.php 1 year ago College.php 1 year ago ComputerRepair.php 1 year ago ConfirmInterestBeforeDeactivation.php 2 years ago ConfirmInterestOrUnsubscribe.php 2 years ago DogFood.php 1 year ago Drone.php 1 year ago Engineering.php 1 year ago Faith.php 1 year ago FarmersMarket.php 1 year ago FashionBlog.php 1 year ago FashionBlogA.php 1 year ago FashionShop.php 1 year ago FashionStore.php 1 year ago FestivalEvent.php 1 year ago Fitness.php 1 year ago FlowersWithCoupon.php 1 year ago FoodBox.php 1 year ago GiftWelcome.php 1 year ago Guitarist.php 1 year ago HealthyFoodBlog.php 1 year ago Hotels.php 1 year ago IndustryConference.php 1 year ago JazzClub.php 1 year ago KidsClothing.php 1 year ago LifestyleBlogA.php 1 year ago LifestyleBlogB.php 1 year ago Minimal.php 1 year ago ModularStyleStories.php 1 year ago Mosque.php 1 year ago Motor.php 1 year ago Music.php 1 year ago NewsDay.php 1 year ago NewsletterBlank121Column.php 1 year ago NewsletterBlank12Column.php 1 year ago NewsletterBlank13Column.php 1 year ago NewsletterBlank1Column.php 1 year ago NewspaperTraditional.php 1 year ago NotSoMedium.php 1 year ago Painter.php 1 year ago Phone.php 1 year ago Photography.php 1 year ago PieceOfCake.php 1 year ago Poet.php 1 year ago PostNotificationsBlank1Column.php 1 year ago PrimarySchool.php 1 year ago RealEstate.php 1 year ago RenewableEnergy.php 1 year ago Retro.php 1 year ago RetroComputingMagazine.php 1 year ago RockBand.php 1 year ago RssSimpleNews.php 1 year ago ScienceWeekly.php 1 year ago Shoes.php 1 year ago SimpleText.php 2 years ago Software.php 1 year ago Sunglasses.php 1 year ago Synagogue.php 1 year ago TakeAHike.php 1 year ago Vlogger.php 1 year ago WelcomeBlank12Column.php 1 year ago WelcomeBlank1Column.php 1 year ago WideStoryLayout.php 1 year ago WineCity.php 1 year ago WordPressTheme.php 1 year ago WorldCup.php 1 year ago YogaStudio.php 1 year ago index.php 3 years ago
FoodBox.php
761 lines
1 <?php // phpcs:ignore SlevomatCodingStandard.TypeHints.DeclareStrictTypes.DeclareStrictTypesMissing
2
3 namespace MailPoet\Config\PopulatorData\Templates;
4
5 if (!defined('ABSPATH')) exit;
6
7
8 class FoodBox {
9
10 private $template_image_url;
11 private $social_icon_url;
12
13 public function __construct(
14 $assets_url
15 ) {
16 $this->template_image_url = 'https://ps.w.org/mailpoet/assets/newsletter-templates/food_box';
17 $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons';
18 }
19
20 public function get() {
21 return [
22 'name' => __("Welcome to FoodBox", 'mailpoet'),
23 'categories' => json_encode(['welcome', 'all']),
24 'readonly' => 1,
25 'thumbnail' => $this->getThumbnail(),
26 'body' => json_encode($this->getBody()),
27 ];
28 }
29
30 private function getBody() {
31 return [
32 'content' => [
33 'type' => 'container',
34 'orientation' => 'vertical',
35 'styles' => [
36 'block' => [
37 'backgroundColor' => 'transparent',
38 ],
39 ],
40 'blocks' => [
41 0 => [
42 'type' => 'container',
43 'orientation' => 'horizontal',
44 'styles' => [
45 'block' => [
46 'backgroundColor' => '#f4f4f4',
47 ],
48 ],
49 'blocks' => [
50 0 => [
51 'type' => 'container',
52 'orientation' => 'vertical',
53 'styles' => [
54 'block' => [
55 'backgroundColor' => 'transparent',
56 ],
57 ],
58 'blocks' => [
59 0 => [
60 'type' => 'spacer',
61 'styles' => [
62 'block' => [
63 'backgroundColor' => 'transparent',
64 'height' => '20px',
65 ],
66 ],
67 ],
68 ],
69 ],
70 ],
71 ],
72 1 => [
73 'type' => 'container',
74 'orientation' => 'horizontal',
75 'styles' => [
76 'block' => [
77 'backgroundColor' => 'transparent',
78 ],
79 ],
80 'blocks' => [
81 0 => [
82 'type' => 'container',
83 'orientation' => 'vertical',
84 'styles' => [
85 'block' => [
86 'backgroundColor' => 'transparent',
87 ],
88 ],
89 'blocks' => [
90 0 => [
91 'type' => 'spacer',
92 'styles' => [
93 'block' => [
94 'backgroundColor' => 'transparent',
95 'height' => '20px',
96 ],
97 ],
98 ],
99 ],
100 ],
101 ],
102 ],
103 2 => [
104 'type' => 'container',
105 'orientation' => 'horizontal',
106 'styles' => [
107 'block' => [
108 'backgroundColor' => 'transparent',
109 ],
110 ],
111 'blocks' => [
112 0 => [
113 'type' => 'container',
114 'orientation' => 'vertical',
115 'styles' => [
116 'block' => [
117 'backgroundColor' => 'transparent',
118 ],
119 ],
120 'blocks' => [
121 0 => [
122 'type' => 'image',
123 'link' => '',
124 'src' => $this->template_image_url . '/Food-Delivery-Logo.png',
125 'alt' => 'Food-Delivery-Logo',
126 'fullWidth' => false,
127 'width' => '640px',
128 'height' => '180px',
129 'styles' => [
130 'block' => [
131 'textAlign' => 'center',
132 ],
133 ],
134 ],
135 ],
136 ],
137 1 => [
138 'type' => 'container',
139 'orientation' => 'vertical',
140 'styles' => [
141 'block' => [
142 'backgroundColor' => 'transparent',
143 ],
144 ],
145 'blocks' => [
146 0 => [
147 'type' => 'image',
148 'link' => '',
149 'src' => $this->template_image_url . '/Food-Delivery-App.png',
150 'alt' => 'Food-Delivery-App',
151 'fullWidth' => false,
152 'width' => '640px',
153 'height' => '180px',
154 'styles' => [
155 'block' => [
156 'textAlign' => 'center',
157 ],
158 ],
159 ],
160 ],
161 ],
162 ],
163 ],
164 3 => [
165 'type' => 'container',
166 'orientation' => 'horizontal',
167 'styles' => [
168 'block' => [
169 'backgroundColor' => 'transparent',
170 ],
171 ],
172 'blocks' => [
173 0 => [
174 'type' => 'container',
175 'orientation' => 'vertical',
176 'styles' => [
177 'block' => [
178 'backgroundColor' => 'transparent',
179 ],
180 ],
181 'blocks' => [
182 0 => [
183 'type' => 'spacer',
184 'styles' => [
185 'block' => [
186 'backgroundColor' => 'transparent',
187 'height' => '20px',
188 ],
189 ],
190 ],
191 ],
192 ],
193 ],
194 ],
195 4 => [
196 'type' => 'container',
197 'orientation' => 'horizontal',
198 'styles' => [
199 'block' => [
200 'backgroundColor' => 'transparent',
201 ],
202 ],
203 'blocks' => [
204 0 => [
205 'type' => 'container',
206 'orientation' => 'vertical',
207 'styles' => [
208 'block' => [
209 'backgroundColor' => 'transparent',
210 ],
211 ],
212 'blocks' => [
213 0 => [
214 'type' => 'spacer',
215 'styles' => [
216 'block' => [
217 'backgroundColor' => 'transparent',
218 'height' => '40px',
219 ],
220 ],
221 ],
222 1 => [
223 'type' => 'text',
224 'text' => '<h1><strong>Welcome to FoodBox</strong></h1>
225 <h2><strong>Lorem ipsum dolor sit amet</strong></h2>
226 <p>Curabitur sollicitudin eros eu cursus sollicitudin. Suspendisse laoreet sollicitudin urna, ut lacinia risus dictum a. Integer a neque eu magna commodo sodales eu eget ante.</p>',
227 ],
228 2 => [
229 'type' => 'button',
230 'text' => 'Get Started',
231 'url' => '',
232 'styles' => [
233 'block' => [
234 'backgroundColor' => '#7cc119',
235 'borderColor' => '#7cc119',
236 'borderWidth' => '0px',
237 'borderRadius' => '5px',
238 'borderStyle' => 'solid',
239 'width' => '100px',
240 'lineHeight' => '40px',
241 'fontColor' => '#ffffff',
242 'fontFamily' => 'Arial',
243 'fontSize' => '14px',
244 'fontWeight' => 'bold',
245 'textAlign' => 'left',
246 ],
247 ],
248 ],
249 ],
250 ],
251 1 => [
252 'type' => 'container',
253 'orientation' => 'vertical',
254 'styles' => [
255 'block' => [
256 'backgroundColor' => 'transparent',
257 ],
258 ],
259 'blocks' => [
260 0 => [
261 'type' => 'image',
262 'link' => '',
263 'src' => $this->template_image_url . '/Food-Delivery-Focus.jpg',
264 'alt' => 'Food-Delivery-Focus',
265 'fullWidth' => false,
266 'width' => '800px',
267 'height' => '800px',
268 'styles' => [
269 'block' => [
270 'textAlign' => 'center',
271 ],
272 ],
273 ],
274 ],
275 ],
276 ],
277 ],
278 5 => [
279 'type' => 'container',
280 'orientation' => 'horizontal',
281 'styles' => [
282 'block' => [
283 'backgroundColor' => 'transparent',
284 ],
285 ],
286 'blocks' => [
287 0 => [
288 'type' => 'container',
289 'orientation' => 'vertical',
290 'styles' => [
291 'block' => [
292 'backgroundColor' => 'transparent',
293 ],
294 ],
295 'blocks' => [
296 0 => [
297 'type' => 'divider',
298 'styles' => [
299 'block' => [
300 'backgroundColor' => 'transparent',
301 'padding' => '31.5px',
302 'borderStyle' => 'solid',
303 'borderWidth' => '2px',
304 'borderColor' => '#e5e5e5',
305 ],
306 ],
307 ],
308 ],
309 ],
310 ],
311 ],
312 6 => [
313 'type' => 'container',
314 'orientation' => 'horizontal',
315 'styles' => [
316 'block' => [
317 'backgroundColor' => 'transparent',
318 ],
319 ],
320 'blocks' => [
321 0 => [
322 'type' => 'container',
323 'orientation' => 'vertical',
324 'styles' => [
325 'block' => [
326 'backgroundColor' => 'transparent',
327 ],
328 ],
329 'blocks' => [
330 0 => [
331 'type' => 'text',
332 'text' => '<h2 style="text-align: center;">Get started in 3 simple steps</h2>',
333 ],
334 ],
335 ],
336 ],
337 ],
338 7 => [
339 'type' => 'container',
340 'orientation' => 'horizontal',
341 'styles' => [
342 'block' => [
343 'backgroundColor' => 'transparent',
344 ],
345 ],
346 'blocks' => [
347 0 => [
348 'type' => 'container',
349 'orientation' => 'vertical',
350 'styles' => [
351 'block' => [
352 'backgroundColor' => 'transparent',
353 ],
354 ],
355 'blocks' => [
356 0 => [
357 'type' => 'spacer',
358 'styles' => [
359 'block' => [
360 'backgroundColor' => 'transparent',
361 'height' => '20px',
362 ],
363 ],
364 ],
365 1 => [
366 'type' => 'image',
367 'link' => '',
368 'src' => $this->template_image_url . '/Food-Delivery-1-1.png',
369 'alt' => 'Food-Delivery-1',
370 'fullWidth' => false,
371 'width' => '800px',
372 'height' => '250px',
373 'styles' => [
374 'block' => [
375 'textAlign' => 'center',
376 ],
377 ],
378 ],
379 2 => [
380 'type' => 'text',
381 'text' => '<p style="text-align: center;">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur sollicitudin eros eu cursus sollicitudin.</p>',
382 ],
383 ],
384 ],
385 1 => [
386 'type' => 'container',
387 'orientation' => 'vertical',
388 'styles' => [
389 'block' => [
390 'backgroundColor' => 'transparent',
391 ],
392 ],
393 'blocks' => [
394 0 => [
395 'type' => 'spacer',
396 'styles' => [
397 'block' => [
398 'backgroundColor' => 'transparent',
399 'height' => '20px',
400 ],
401 ],
402 ],
403 1 => [
404 'type' => 'image',
405 'link' => '',
406 'src' => $this->template_image_url . '/Food-Delivery-2-1.png',
407 'alt' => 'Food-Delivery-2',
408 'fullWidth' => false,
409 'width' => '800px',
410 'height' => '250px',
411 'styles' => [
412 'block' => [
413 'textAlign' => 'center',
414 ],
415 ],
416 ],
417 2 => [
418 'type' => 'text',
419 'text' => '<p style="text-align: center;"><span style="text-align: center;">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur sollicitudin eros eu cursus sollicitudin.</span></p>',
420 ],
421 ],
422 ],
423 2 => [
424 'type' => 'container',
425 'orientation' => 'vertical',
426 'styles' => [
427 'block' => [
428 'backgroundColor' => 'transparent',
429 ],
430 ],
431 'blocks' => [
432 0 => [
433 'type' => 'spacer',
434 'styles' => [
435 'block' => [
436 'backgroundColor' => 'transparent',
437 'height' => '20px',
438 ],
439 ],
440 ],
441 1 => [
442 'type' => 'image',
443 'link' => '',
444 'src' => $this->template_image_url . '/Food-Delivery-3-1.png',
445 'alt' => 'Food-Delivery-3',
446 'fullWidth' => false,
447 'width' => '800px',
448 'height' => '250px',
449 'styles' => [
450 'block' => [
451 'textAlign' => 'center',
452 ],
453 ],
454 ],
455 2 => [
456 'type' => 'text',
457 'text' => '<p style="text-align: center;"><span style="text-align: center;">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur sollicitudin eros eu cursus sollicitudin.</span></p>',
458 ],
459 ],
460 ],
461 ],
462 ],
463 8 => [
464 'type' => 'container',
465 'orientation' => 'horizontal',
466 'styles' => [
467 'block' => [
468 'backgroundColor' => 'transparent',
469 ],
470 ],
471 'blocks' => [
472 0 => [
473 'type' => 'container',
474 'orientation' => 'vertical',
475 'styles' => [
476 'block' => [
477 'backgroundColor' => 'transparent',
478 ],
479 ],
480 'blocks' => [
481 0 => [
482 'type' => 'spacer',
483 'styles' => [
484 'block' => [
485 'backgroundColor' => 'transparent',
486 'height' => '30px',
487 ],
488 ],
489 ],
490 1 => [
491 'type' => 'button',
492 'text' => 'Get Started',
493 'url' => '',
494 'styles' => [
495 'block' => [
496 'backgroundColor' => '#7cc119',
497 'borderColor' => '#7cc119',
498 'borderWidth' => '0px',
499 'borderRadius' => '5px',
500 'borderStyle' => 'solid',
501 'width' => '100px',
502 'lineHeight' => '40px',
503 'fontColor' => '#ffffff',
504 'fontFamily' => 'Arial',
505 'fontSize' => '14px',
506 'fontWeight' => 'bold',
507 'textAlign' => 'center',
508 ],
509 ],
510 ],
511 2 => [
512 'type' => 'spacer',
513 'styles' => [
514 'block' => [
515 'backgroundColor' => 'transparent',
516 'height' => '25px',
517 ],
518 ],
519 ],
520 ],
521 ],
522 ],
523 ],
524 9 => [
525 'type' => 'container',
526 'orientation' => 'horizontal',
527 'styles' => [
528 'block' => [
529 'backgroundColor' => '#4599da',
530 ],
531 ],
532 'blocks' => [
533 0 => [
534 'type' => 'container',
535 'orientation' => 'vertical',
536 'styles' => [
537 'block' => [
538 'backgroundColor' => 'transparent',
539 ],
540 ],
541 'blocks' => [
542 0 => [
543 'type' => 'spacer',
544 'styles' => [
545 'block' => [
546 'backgroundColor' => 'transparent',
547 'height' => '30px',
548 ],
549 ],
550 ],
551 1 => [
552 'type' => 'text',
553 'text' => '<p style="text-align: center; font-size: 14px;"><strong><span style="color: #ffffff;">Link 1 - Link 2 - Link 3 - Link 4</span></strong></p>',
554 ],
555 ],
556 ],
557 1 => [
558 'type' => 'container',
559 'orientation' => 'vertical',
560 'styles' => [
561 'block' => [
562 'backgroundColor' => 'transparent',
563 ],
564 ],
565 'blocks' => [
566 0 => [
567 'type' => 'spacer',
568 'styles' => [
569 'block' => [
570 'backgroundColor' => 'transparent',
571 'height' => '24px',
572 ],
573 ],
574 ],
575 1 => [
576 'type' => 'social',
577 'iconSet' => 'official-white',
578 'icons' => [
579 0 => [
580 'type' => 'socialIcon',
581 'iconType' => 'facebook',
582 'link' => 'http://www.facebook.com',
583 'image' => $this->social_icon_url . '/12-official-white/Facebook.png',
584 'height' => '32px',
585 'width' => '32px',
586 'text' => 'Facebook',
587 ],
588 1 => [
589 'type' => 'socialIcon',
590 'iconType' => 'twitter',
591 'link' => 'http://www.twitter.com',
592 'image' => $this->social_icon_url . '/12-official-white/X.png',
593 'height' => '32px',
594 'width' => '32px',
595 'text' => 'Twitter',
596 ],
597 2 => [
598 'type' => 'socialIcon',
599 'iconType' => 'youtube',
600 'link' => 'http://www.youtube.com',
601 'image' => $this->social_icon_url . '/12-official-white/Youtube.png',
602 'height' => '32px',
603 'width' => '32px',
604 'text' => 'Youtube',
605 ],
606 3 => [
607 'type' => 'socialIcon',
608 'iconType' => 'instagram',
609 'link' => 'http://instagram.com',
610 'image' => $this->social_icon_url . '/12-official-white/Instagram.png',
611 'height' => '32px',
612 'width' => '32px',
613 'text' => 'Instagram',
614 ],
615 4 => [
616 'type' => 'socialIcon',
617 'iconType' => 'website',
618 'link' => '',
619 'image' => $this->social_icon_url . '/12-official-white/Website.png',
620 'height' => '32px',
621 'width' => '32px',
622 'text' => 'Website',
623 ],
624 ],
625 ],
626 ],
627 ],
628 ],
629 ],
630 10 => [
631 'type' => 'container',
632 'orientation' => 'horizontal',
633 'styles' => [
634 'block' => [
635 'backgroundColor' => '#4599da',
636 ],
637 ],
638 'blocks' => [
639 0 => [
640 'type' => 'container',
641 'orientation' => 'vertical',
642 'styles' => [
643 'block' => [
644 'backgroundColor' => 'transparent',
645 ],
646 ],
647 'blocks' => [
648 0 => [
649 'type' => 'spacer',
650 'styles' => [
651 'block' => [
652 'backgroundColor' => 'transparent',
653 'height' => '25px',
654 ],
655 ],
656 ],
657 ],
658 ],
659 ],
660 ],
661 11 => [
662 'type' => 'container',
663 'orientation' => 'horizontal',
664 'styles' => [
665 'block' => [
666 'backgroundColor' => '#f4f4f4',
667 ],
668 ],
669 'blocks' => [
670 0 => [
671 'type' => 'container',
672 'orientation' => 'vertical',
673 'styles' => [
674 'block' => [
675 'backgroundColor' => 'transparent',
676 ],
677 ],
678 'blocks' => [
679 0 => [
680 'type' => 'spacer',
681 'styles' => [
682 'block' => [
683 'backgroundColor' => 'transparent',
684 'height' => '20px',
685 ],
686 ],
687 ],
688 1 => [
689 'type' => 'footer',
690 'text' => '<p><a href="[link:subscription_unsubscribe_url]">' . __("Unsubscribe", 'mailpoet') . '</a> | <a href="[link:subscription_manage_url]">' . __("Manage your subscription", 'mailpoet') . '</a><br />' . __("Add your postal address here!", 'mailpoet') . '</p>',
691 'styles' => [
692 'block' => [
693 'backgroundColor' => 'transparent',
694 ],
695 'text' => [
696 'fontColor' => '#222222',
697 'fontFamily' => 'Arial',
698 'fontSize' => '12px',
699 'textAlign' => 'center',
700 ],
701 'link' => [
702 'fontColor' => '#6cb7d4',
703 'textDecoration' => 'none',
704 ],
705 ],
706 ],
707 2 => [
708 'type' => 'spacer',
709 'styles' => [
710 'block' => [
711 'backgroundColor' => 'transparent',
712 'height' => '40px',
713 ],
714 ],
715 ],
716 ],
717 ],
718 ],
719 ],
720 ],
721 ],
722 'globalStyles' => [
723 'text' => [
724 'fontColor' => '#000000',
725 'fontFamily' => 'Arial',
726 'fontSize' => '12px',
727 ],
728 'h1' => [
729 'fontColor' => '#4599da',
730 'fontFamily' => 'Arial',
731 'fontSize' => '26px',
732 ],
733 'h2' => [
734 'fontColor' => '#878787',
735 'fontFamily' => 'Arial',
736 'fontSize' => '18px',
737 ],
738 'h3' => [
739 'fontColor' => '#333333',
740 'fontFamily' => 'Arial',
741 'fontSize' => '14px',
742 ],
743 'link' => [
744 'fontColor' => '#4599da',
745 'textDecoration' => 'underline',
746 ],
747 'wrapper' => [
748 'backgroundColor' => '#ffffff',
749 ],
750 'body' => [
751 'backgroundColor' => '#f4f4f4',
752 ],
753 ],
754 ];
755 }
756
757 private function getThumbnail() {
758 return $this->template_image_url . '/thumbnail.20190411-1500.jpg';
759 }
760 }
761