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 / Engineering.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
Engineering.php
1278 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 Engineering {
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/engineering';
17 $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons';
18 }
19
20 public function get() {
21 return [
22 'name' => __("Engineering", 'mailpoet'),
23 'categories' => json_encode(['standard', 'all']),
24 'readonly' => 1,
25 'thumbnail' => $this->getThumbnail(),
26 'body' => json_encode($this->getBody()),
27 ];
28 }
29
30 private function getThumbnail() {
31 return $this->template_image_url . '/thumbnail.20190411-1500.jpg';
32 }
33
34 private function getBody() {
35 return [
36 'content' =>
37 [
38 'type' => 'container',
39 'columnLayout' => false,
40 'orientation' => 'vertical',
41 'image' =>
42 [
43 'src' => null,
44 'display' => 'scale',
45 ],
46 'styles' =>
47 [
48 'block' =>
49 [
50 'backgroundColor' => 'transparent',
51 ],
52 ],
53 'blocks' =>
54 [
55 0 =>
56 [
57 'type' => 'container',
58 'columnLayout' => false,
59 'orientation' => 'horizontal',
60 'image' =>
61 [
62 'src' => null,
63 'display' => 'scale',
64 ],
65 'styles' =>
66 [
67 'block' =>
68 [
69 'backgroundColor' => '#1d1d1d',
70 ],
71 ],
72 'blocks' =>
73 [
74 0 =>
75 [
76 'type' => 'container',
77 'columnLayout' => false,
78 'orientation' => 'vertical',
79 'image' =>
80 [
81 'src' => null,
82 'display' => 'scale',
83 ],
84 'styles' =>
85 [
86 'block' =>
87 [
88 'backgroundColor' => 'transparent',
89 ],
90 ],
91 'blocks' =>
92 [
93 0 =>
94 [
95 'type' => 'spacer',
96 'styles' =>
97 [
98 'block' =>
99 [
100 'backgroundColor' => 'transparent',
101 'height' => '40px',
102 ],
103 ],
104 ],
105 ],
106 ],
107 ],
108 ],
109 1 =>
110 [
111 'type' => 'container',
112 'columnLayout' => false,
113 'orientation' => 'horizontal',
114 'image' =>
115 [
116 'src' => null,
117 'display' => 'scale',
118 ],
119 'styles' =>
120 [
121 'block' =>
122 [
123 'backgroundColor' => 'transparent',
124 ],
125 ],
126 'blocks' =>
127 [
128 0 =>
129 [
130 'type' => 'container',
131 'columnLayout' => false,
132 'orientation' => 'vertical',
133 'image' =>
134 [
135 'src' => null,
136 'display' => 'scale',
137 ],
138 'styles' =>
139 [
140 'block' =>
141 [
142 'backgroundColor' => 'transparent',
143 ],
144 ],
145 'blocks' =>
146 [
147 0 =>
148 [
149 'type' => 'image',
150 'link' => '',
151 'src' => $this->template_image_url . '/Engineering-Logo.png',
152 'alt' => 'Engineering-Logo',
153 'fullWidth' => true,
154 'width' => '150px',
155 'height' => '506px',
156 'styles' =>
157 [
158 'block' =>
159 [
160 'textAlign' => 'center',
161 ],
162 ],
163 ],
164 1 =>
165 [
166 'type' => 'header',
167 'text' => '<p><span style="color: #808080;"><a href="[link:newsletter_view_in_browser_url]" style="color: #808080;">' . __("View this in your browser.", 'mailpoet') . '</a></span></p>',
168 'styles' =>
169 [
170 'block' =>
171 [
172 'backgroundColor' => 'transparent',
173 ],
174 'text' =>
175 [
176 'fontColor' => '#222222',
177 'fontFamily' => 'Arial',
178 'fontSize' => '12px',
179 'textAlign' => 'center',
180 ],
181 'link' =>
182 [
183 'fontColor' => '#6cb7d4',
184 'textDecoration' => 'underline',
185 ],
186 ],
187 ],
188 2 =>
189 [
190 'type' => 'spacer',
191 'styles' =>
192 [
193 'block' =>
194 [
195 'backgroundColor' => 'transparent',
196 'height' => '20px',
197 ],
198 ],
199 ],
200 ],
201 ],
202 ],
203 ],
204 2 =>
205 [
206 'type' => 'container',
207 'columnLayout' => false,
208 'orientation' => 'horizontal',
209 'image' =>
210 [
211 'src' => $this->template_image_url . '/Engineering-Header-1.jpg',
212 'display' => 'scale',
213 ],
214 'styles' =>
215 [
216 'block' =>
217 [
218 'backgroundColor' => 'transparent',
219 ],
220 ],
221 'blocks' =>
222 [
223 0 =>
224 [
225 'type' => 'container',
226 'columnLayout' => false,
227 'orientation' => 'vertical',
228 'image' =>
229 [
230 'src' => null,
231 'display' => 'scale',
232 ],
233 'styles' =>
234 [
235 'block' =>
236 [
237 'backgroundColor' => 'transparent',
238 ],
239 ],
240 'blocks' =>
241 [
242 0 =>
243 [
244 'type' => 'spacer',
245 'styles' =>
246 [
247 'block' =>
248 [
249 'backgroundColor' => 'transparent',
250 'height' => '295px',
251 ],
252 ],
253 ],
254 1 =>
255 [
256 'type' => 'text',
257 'text' => '<h1 style="text-align: center;"><strong><em><span style="color: #ffffff;">Let your dreams take flight...</span></em></strong></h1>',
258 ],
259 2 =>
260 [
261 'type' => 'spacer',
262 'styles' =>
263 [
264 'block' =>
265 [
266 'backgroundColor' => 'transparent',
267 'height' => '40px',
268 ],
269 ],
270 ],
271 ],
272 ],
273 ],
274 ],
275 3 =>
276 [
277 'type' => 'container',
278 'columnLayout' => false,
279 'orientation' => 'horizontal',
280 'image' =>
281 [
282 'src' => null,
283 'display' => 'scale',
284 ],
285 'styles' =>
286 [
287 'block' =>
288 [
289 'backgroundColor' => 'transparent',
290 ],
291 ],
292 'blocks' =>
293 [
294 0 =>
295 [
296 'type' => 'container',
297 'columnLayout' => false,
298 'orientation' => 'vertical',
299 'image' =>
300 [
301 'src' => null,
302 'display' => 'scale',
303 ],
304 'styles' =>
305 [
306 'block' =>
307 [
308 'backgroundColor' => 'transparent',
309 ],
310 ],
311 'blocks' =>
312 [
313 0 =>
314 [
315 'type' => 'image',
316 'link' => '',
317 'src' => $this->template_image_url . '/Engineering-Bearing.png',
318 'alt' => 'Engineering-Bearing',
319 'fullWidth' => false,
320 'width' => '400px',
321 'height' => '800px',
322 'styles' =>
323 [
324 'block' =>
325 [
326 'textAlign' => 'center',
327 ],
328 ],
329 ],
330 ],
331 ],
332 1 =>
333 [
334 'type' => 'container',
335 'columnLayout' => false,
336 'orientation' => 'vertical',
337 'image' =>
338 [
339 'src' => null,
340 'display' => 'scale',
341 ],
342 'styles' =>
343 [
344 'block' =>
345 [
346 'backgroundColor' => 'transparent',
347 ],
348 ],
349 'blocks' =>
350 [
351 0 =>
352 [
353 'type' => 'text',
354 'text' => '<h2><strong><span style="color: #ffffff;">The all-new RoundBros 6206 ball bearing.</span></strong></h2>
355 <p><span style="color: #cccccc;">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus ac orci neque. Sed hendrerit condimentum augue, sed porta nulla vulputate rutrum. Donec vel purus urna. Sed dui sapien, congue non accumsan euismod, ultrices ut dui.</span></p>',
356 ],
357 1 =>
358 [
359 'type' => 'button',
360 'text' => 'Find out more',
361 'url' => '',
362 'styles' =>
363 [
364 'block' =>
365 [
366 'backgroundColor' => '#1d1d1d',
367 'borderColor' => '#ffffff',
368 'borderWidth' => '3px',
369 'borderRadius' => '3px',
370 'borderStyle' => 'solid',
371 'width' => '134px',
372 'lineHeight' => '33px',
373 'fontColor' => '#ffffff',
374 'fontFamily' => 'Roboto',
375 'fontSize' => '16px',
376 'fontWeight' => 'bold',
377 'textAlign' => 'left',
378 ],
379 ],
380 ],
381 ],
382 ],
383 ],
384 ],
385 4 =>
386 [
387 'type' => 'container',
388 'columnLayout' => false,
389 'orientation' => 'horizontal',
390 'image' =>
391 [
392 'src' => null,
393 'display' => 'scale',
394 ],
395 'styles' =>
396 [
397 'block' =>
398 [
399 'backgroundColor' => 'transparent',
400 ],
401 ],
402 'blocks' =>
403 [
404 0 =>
405 [
406 'type' => 'container',
407 'columnLayout' => false,
408 'orientation' => 'vertical',
409 'image' =>
410 [
411 'src' => null,
412 'display' => 'scale',
413 ],
414 'styles' =>
415 [
416 'block' =>
417 [
418 'backgroundColor' => 'transparent',
419 ],
420 ],
421 'blocks' =>
422 [
423 0 =>
424 [
425 'type' => 'spacer',
426 'styles' =>
427 [
428 'block' =>
429 [
430 'backgroundColor' => 'transparent',
431 'height' => '40px',
432 ],
433 ],
434 ],
435 1 =>
436 [
437 'type' => 'text',
438 'text' => '<h1 style="text-align: center;"><strong><em><span style="color: #ffffff;">...and stay grounded in safety</span></em></strong></h1>',
439 ],
440 2 =>
441 [
442 'type' => 'image',
443 'link' => '',
444 'src' => $this->template_image_url . '/Engineering-Footer-c.jpg',
445 'alt' => 'Engineering-Footer-c',
446 'fullWidth' => true,
447 'width' => '928px',
448 'height' => '661px',
449 'styles' =>
450 [
451 'block' =>
452 [
453 'textAlign' => 'center',
454 ],
455 ],
456 ],
457 ],
458 ],
459 ],
460 ],
461 5 =>
462 [
463 'type' => 'container',
464 'columnLayout' => false,
465 'orientation' => 'horizontal',
466 'image' =>
467 [
468 'src' => null,
469 'display' => 'scale',
470 ],
471 'styles' =>
472 [
473 'block' =>
474 [
475 'backgroundColor' => 'transparent',
476 ],
477 ],
478 'blocks' =>
479 [
480 0 =>
481 [
482 'type' => 'container',
483 'columnLayout' => false,
484 'orientation' => 'vertical',
485 'image' =>
486 [
487 'src' => null,
488 'display' => 'scale',
489 ],
490 'styles' =>
491 [
492 'block' =>
493 [
494 'backgroundColor' => 'transparent',
495 ],
496 ],
497 'blocks' =>
498 [
499 0 =>
500 [
501 'type' => 'text',
502 'text' => '<h2><strong><span style="color: #ffffff;">Bearing sets are back in stock for a limited time!</span></strong></h2>
503 <p><span style="color: #cccccc;">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus ac orci neque. Sed hendrerit condimentum augue, sed porta nulla vulputate rutrum.</span></p>',
504 ],
505 1 =>
506 [
507 'type' => 'button',
508 'text' => 'Find out more',
509 'url' => '',
510 'styles' =>
511 [
512 'block' =>
513 [
514 'backgroundColor' => '#1d1d1d',
515 'borderColor' => '#ffffff',
516 'borderWidth' => '3px',
517 'borderRadius' => '3px',
518 'borderStyle' => 'solid',
519 'width' => '134px',
520 'lineHeight' => '33px',
521 'fontColor' => '#ffffff',
522 'fontFamily' => 'Roboto',
523 'fontSize' => '16px',
524 'fontWeight' => 'bold',
525 'textAlign' => 'left',
526 ],
527 ],
528 ],
529 ],
530 ],
531 1 =>
532 [
533 'type' => 'container',
534 'columnLayout' => false,
535 'orientation' => 'vertical',
536 'image' =>
537 [
538 'src' => null,
539 'display' => 'scale',
540 ],
541 'styles' =>
542 [
543 'block' =>
544 [
545 'backgroundColor' => 'transparent',
546 ],
547 ],
548 'blocks' =>
549 [
550 0 =>
551 [
552 'type' => 'spacer',
553 'styles' =>
554 [
555 'block' =>
556 [
557 'backgroundColor' => 'transparent',
558 'height' => '20px',
559 ],
560 ],
561 ],
562 1 =>
563 [
564 'type' => 'image',
565 'link' => '',
566 'src' => $this->template_image_url . '/Engineering-Bearing-2.png',
567 'alt' => 'Engineering-Bearing-2',
568 'fullWidth' => false,
569 'width' => '800px',
570 'height' => '574px',
571 'styles' =>
572 [
573 'block' =>
574 [
575 'textAlign' => 'center',
576 ],
577 ],
578 ],
579 ],
580 ],
581 ],
582 ],
583 6 =>
584 [
585 'type' => 'container',
586 'columnLayout' => false,
587 'orientation' => 'horizontal',
588 'image' =>
589 [
590 'src' => null,
591 'display' => 'scale',
592 ],
593 'styles' =>
594 [
595 'block' =>
596 [
597 'backgroundColor' => 'transparent',
598 ],
599 ],
600 'blocks' =>
601 [
602 0 =>
603 [
604 'type' => 'container',
605 'columnLayout' => false,
606 'orientation' => 'vertical',
607 'image' =>
608 [
609 'src' => null,
610 'display' => 'scale',
611 ],
612 'styles' =>
613 [
614 'block' =>
615 [
616 'backgroundColor' => 'transparent',
617 ],
618 ],
619 'blocks' =>
620 [
621 0 =>
622 [
623 'type' => 'spacer',
624 'styles' =>
625 [
626 'block' =>
627 [
628 'backgroundColor' => 'transparent',
629 'height' => '20px',
630 ],
631 ],
632 ],
633 1 =>
634 [
635 'type' => 'divider',
636 'styles' =>
637 [
638 'block' =>
639 [
640 'backgroundColor' => 'transparent',
641 'padding' => '13px',
642 'borderStyle' => 'dotted',
643 'borderWidth' => '2px',
644 'borderColor' => '#424242',
645 ],
646 ],
647 ],
648 ],
649 ],
650 ],
651 ],
652 7 =>
653 [
654 'type' => 'container',
655 'columnLayout' => false,
656 'orientation' => 'horizontal',
657 'image' =>
658 [
659 'src' => null,
660 'display' => 'scale',
661 ],
662 'styles' =>
663 [
664 'block' =>
665 [
666 'backgroundColor' => 'transparent',
667 ],
668 ],
669 'blocks' =>
670 [
671 0 =>
672 [
673 'type' => 'container',
674 'columnLayout' => false,
675 'orientation' => 'vertical',
676 'image' =>
677 [
678 'src' => null,
679 'display' => 'scale',
680 ],
681 'styles' =>
682 [
683 'block' =>
684 [
685 'backgroundColor' => 'transparent',
686 ],
687 ],
688 'blocks' =>
689 [
690 0 =>
691 [
692 'type' => 'spacer',
693 'styles' =>
694 [
695 'block' =>
696 [
697 'backgroundColor' => 'transparent',
698 'height' => '50px',
699 ],
700 ],
701 ],
702 1 =>
703 [
704 'type' => 'social',
705 'iconSet' => 'official-white',
706 'icons' =>
707 [
708 0 =>
709 [
710 'type' => 'socialIcon',
711 'iconType' => 'facebook',
712 'link' => 'http://www.facebook.com',
713 'image' => $this->social_icon_url . '/12-official-white/Facebook.png',
714 'height' => '32px',
715 'width' => '32px',
716 'text' => 'Facebook',
717 ],
718 1 =>
719 [
720 'type' => 'socialIcon',
721 'iconType' => 'twitter',
722 'link' => 'http://www.twitter.com',
723 'image' => $this->social_icon_url . '/12-official-white/X.png',
724 'height' => '32px',
725 'width' => '32px',
726 'text' => 'Twitter',
727 ],
728 2 =>
729 [
730 'type' => 'socialIcon',
731 'iconType' => 'instagram',
732 'link' => 'http://instagram.com',
733 'image' => $this->social_icon_url . '/12-official-white/Instagram.png',
734 'height' => '32px',
735 'width' => '32px',
736 'text' => 'Instagram',
737 ],
738 ],
739 ],
740 ],
741 ],
742 1 =>
743 [
744 'type' => 'container',
745 'columnLayout' => false,
746 'orientation' => 'vertical',
747 'image' =>
748 [
749 'src' => null,
750 'display' => 'scale',
751 ],
752 'styles' =>
753 [
754 'block' =>
755 [
756 'backgroundColor' => 'transparent',
757 ],
758 ],
759 'blocks' =>
760 [
761 0 =>
762 [
763 'type' => 'spacer',
764 'styles' =>
765 [
766 'block' =>
767 [
768 'backgroundColor' => 'transparent',
769 'height' => '20px',
770 ],
771 ],
772 ],
773 1 =>
774 [
775 'type' => 'image',
776 'link' => '',
777 'src' => $this->template_image_url . '/Engineering-Logo.png',
778 'alt' => 'Engineering-Logo',
779 'fullWidth' => true,
780 'width' => '100px',
781 'height' => '506px',
782 'styles' =>
783 [
784 'block' =>
785 [
786 'textAlign' => 'center',
787 ],
788 ],
789 ],
790 ],
791 ],
792 2 =>
793 [
794 'type' => 'container',
795 'columnLayout' => false,
796 'orientation' => 'vertical',
797 'image' =>
798 [
799 'src' => null,
800 'display' => 'scale',
801 ],
802 'styles' =>
803 [
804 'block' =>
805 [
806 'backgroundColor' => 'transparent',
807 ],
808 ],
809 'blocks' =>
810 [
811 0 =>
812 [
813 'type' => 'spacer',
814 'styles' =>
815 [
816 'block' =>
817 [
818 'backgroundColor' => 'transparent',
819 'height' => '30px',
820 ],
821 ],
822 ],
823 1 =>
824 [
825 'type' => 'footer',
826 'text' => '<p><a href="[link:subscription_unsubscribe_url]">' . __("Unsubscribe", 'mailpoet') . '</a></p>
827 <p><a href="[link:subscription_manage_url]">' . __("Manage your subscription", 'mailpoet') . '</a><br /><span style="color: #999999;">' . __("Add your postal address here!", 'mailpoet') . '</span></p>',
828 'styles' =>
829 [
830 'block' =>
831 [
832 'backgroundColor' => 'transparent',
833 ],
834 'text' =>
835 [
836 'fontColor' => '#222222',
837 'fontFamily' => 'Roboto',
838 'fontSize' => '12px',
839 'textAlign' => 'center',
840 ],
841 'link' =>
842 [
843 'fontColor' => '#5aa9cc',
844 'textDecoration' => 'underline',
845 ],
846 ],
847 ],
848 ],
849 ],
850 ],
851 ],
852 8 =>
853 [
854 'type' => 'container',
855 'columnLayout' => false,
856 'orientation' => 'horizontal',
857 'image' =>
858 [
859 'src' => null,
860 'display' => 'scale',
861 ],
862 'styles' =>
863 [
864 'block' =>
865 [
866 'backgroundColor' => 'transparent',
867 ],
868 ],
869 'blocks' =>
870 [
871 0 =>
872 [
873 'type' => 'container',
874 'columnLayout' => false,
875 'orientation' => 'vertical',
876 'image' =>
877 [
878 'src' => null,
879 'display' => 'scale',
880 ],
881 'styles' =>
882 [
883 'block' =>
884 [
885 'backgroundColor' => 'transparent',
886 ],
887 ],
888 'blocks' =>
889 [
890 0 =>
891 [
892 'type' => 'spacer',
893 'styles' =>
894 [
895 'block' =>
896 [
897 'backgroundColor' => 'transparent',
898 'height' => '50px',
899 ],
900 ],
901 ],
902 ],
903 ],
904 ],
905 ],
906 ],
907 ],
908 'globalStyles' =>
909 [
910 'text' =>
911 [
912 'fontColor' => '#000000',
913 'fontFamily' => 'Roboto',
914 'fontSize' => '14px',
915 ],
916 'h1' =>
917 [
918 'fontColor' => '#111111',
919 'fontFamily' => 'Roboto',
920 'fontSize' => '40px',
921 ],
922 'h2' =>
923 [
924 'fontColor' => '#222222',
925 'fontFamily' => 'Roboto',
926 'fontSize' => '24px',
927 ],
928 'h3' =>
929 [
930 'fontColor' => '#333333',
931 'fontFamily' => 'Roboto',
932 'fontSize' => '22px',
933 ],
934 'link' =>
935 [
936 'fontColor' => '#21759B',
937 'textDecoration' => 'underline',
938 ],
939 'wrapper' =>
940 [
941 'backgroundColor' => '#1d1d1d',
942 ],
943 'body' =>
944 [
945 'backgroundColor' => '#1d1d1d',
946 ],
947 ],
948 'blockDefaults' =>
949 [
950 'automatedLatestContent' =>
951 [
952 'amount' => '5',
953 'withLayout' => false,
954 'contentType' => 'post',
955 'inclusionType' => 'include',
956 'displayType' => 'excerpt',
957 'titleFormat' => 'h1',
958 'titleAlignment' => 'left',
959 'titleIsLink' => false,
960 'imageFullWidth' => false,
961 'featuredImagePosition' => 'belowTitle',
962 'showAuthor' => 'no',
963 'authorPrecededBy' => 'Author:',
964 'showCategories' => 'no',
965 'categoriesPrecededBy' => 'Categories:',
966 'readMoreType' => 'button',
967 'readMoreText' => 'Read more',
968 'readMoreButton' =>
969 [
970 'text' => 'Read more',
971 'url' => '[postLink]',
972 'context' => 'automatedLatestContent.readMoreButton',
973 'styles' =>
974 [
975 'block' =>
976 [
977 'backgroundColor' => '#2ea1cd',
978 'borderColor' => '#0074a2',
979 'borderWidth' => '1px',
980 'borderRadius' => '5px',
981 'borderStyle' => 'solid',
982 'width' => '180px',
983 'lineHeight' => '40px',
984 'fontColor' => '#ffffff',
985 'fontFamily' => 'Verdana',
986 'fontSize' => '18px',
987 'fontWeight' => 'normal',
988 'textAlign' => 'center',
989 ],
990 ],
991 ],
992 'sortBy' => 'newest',
993 'showDivider' => true,
994 'divider' =>
995 [
996 'context' => 'automatedLatestContent.divider',
997 'styles' =>
998 [
999 'block' =>
1000 [
1001 'backgroundColor' => 'transparent',
1002 'padding' => '13px',
1003 'borderStyle' => 'solid',
1004 'borderWidth' => '3px',
1005 'borderColor' => '#aaaaaa',
1006 ],
1007 ],
1008 ],
1009 'backgroundColor' => '#ffffff',
1010 'backgroundColorAlternate' => '#eeeeee',
1011 ],
1012 'automatedLatestContentLayout' =>
1013 [
1014 'amount' => '5',
1015 'withLayout' => true,
1016 'contentType' => 'post',
1017 'inclusionType' => 'include',
1018 'displayType' => 'excerpt',
1019 'titleFormat' => 'h1',
1020 'titleAlignment' => 'left',
1021 'titleIsLink' => false,
1022 'imageFullWidth' => false,
1023 'featuredImagePosition' => 'alternate',
1024 'showAuthor' => 'no',
1025 'authorPrecededBy' => 'Author:',
1026 'showCategories' => 'no',
1027 'categoriesPrecededBy' => 'Categories:',
1028 'readMoreType' => 'button',
1029 'readMoreText' => 'Read more',
1030 'readMoreButton' =>
1031 [
1032 'text' => 'Read more',
1033 'url' => '[postLink]',
1034 'context' => 'automatedLatestContentLayout.readMoreButton',
1035 'styles' =>
1036 [
1037 'block' =>
1038 [
1039 'backgroundColor' => '#2ea1cd',
1040 'borderColor' => '#0074a2',
1041 'borderWidth' => '1px',
1042 'borderRadius' => '5px',
1043 'borderStyle' => 'solid',
1044 'width' => '180px',
1045 'lineHeight' => '40px',
1046 'fontColor' => '#ffffff',
1047 'fontFamily' => 'Verdana',
1048 'fontSize' => '18px',
1049 'fontWeight' => 'normal',
1050 'textAlign' => 'center',
1051 ],
1052 ],
1053 ],
1054 'sortBy' => 'newest',
1055 'showDivider' => true,
1056 'divider' =>
1057 [
1058 'context' => 'automatedLatestContentLayout.divider',
1059 'styles' =>
1060 [
1061 'block' =>
1062 [
1063 'backgroundColor' => 'transparent',
1064 'padding' => '13px',
1065 'borderStyle' => 'solid',
1066 'borderWidth' => '3px',
1067 'borderColor' => '#aaaaaa',
1068 ],
1069 ],
1070 ],
1071 'backgroundColor' => '#ffffff',
1072 'backgroundColorAlternate' => '#eeeeee',
1073 ],
1074 'button' =>
1075 [
1076 'text' => 'Find out more',
1077 'url' => '',
1078 'styles' =>
1079 [
1080 'block' =>
1081 [
1082 'backgroundColor' => '#1d1d1d',
1083 'borderColor' => '#ffffff',
1084 'borderWidth' => '3px',
1085 'borderRadius' => '3px',
1086 'borderStyle' => 'solid',
1087 'width' => '134px',
1088 'lineHeight' => '33px',
1089 'fontColor' => '#ffffff',
1090 'fontFamily' => 'Roboto',
1091 'fontSize' => '16px',
1092 'fontWeight' => 'bold',
1093 'textAlign' => 'left',
1094 ],
1095 ],
1096 'type' => 'button',
1097 ],
1098 'divider' =>
1099 [
1100 'styles' =>
1101 [
1102 'block' =>
1103 [
1104 'backgroundColor' => 'transparent',
1105 'padding' => '13px',
1106 'borderStyle' => 'dotted',
1107 'borderWidth' => '2px',
1108 'borderColor' => '#424242',
1109 ],
1110 ],
1111 'type' => 'divider',
1112 ],
1113 'footer' =>
1114 [
1115 '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>',
1116 'styles' =>
1117 [
1118 'block' =>
1119 [
1120 'backgroundColor' => 'transparent',
1121 ],
1122 'text' =>
1123 [
1124 'fontColor' => '#222222',
1125 'fontFamily' => 'Roboto',
1126 'fontSize' => '12px',
1127 'textAlign' => 'center',
1128 ],
1129 'link' =>
1130 [
1131 'fontColor' => '#5aa9cc',
1132 'textDecoration' => 'underline',
1133 ],
1134 ],
1135 'type' => 'footer',
1136 ],
1137 'posts' =>
1138 [
1139 'amount' => '10',
1140 'withLayout' => true,
1141 'contentType' => 'post',
1142 'postStatus' => 'publish',
1143 'inclusionType' => 'include',
1144 'displayType' => 'excerpt',
1145 'titleFormat' => 'h1',
1146 'titleAlignment' => 'left',
1147 'titleIsLink' => false,
1148 'imageFullWidth' => false,
1149 'featuredImagePosition' => 'alternate',
1150 'showAuthor' => 'no',
1151 'authorPrecededBy' => 'Author:',
1152 'showCategories' => 'no',
1153 'categoriesPrecededBy' => 'Categories:',
1154 'readMoreType' => 'link',
1155 'readMoreText' => 'Read more',
1156 'readMoreButton' =>
1157 [
1158 'text' => 'Read more',
1159 'url' => '[postLink]',
1160 'context' => 'posts.readMoreButton',
1161 'styles' =>
1162 [
1163 'block' =>
1164 [
1165 'backgroundColor' => '#2ea1cd',
1166 'borderColor' => '#0074a2',
1167 'borderWidth' => '1px',
1168 'borderRadius' => '5px',
1169 'borderStyle' => 'solid',
1170 'width' => '180px',
1171 'lineHeight' => '40px',
1172 'fontColor' => '#ffffff',
1173 'fontFamily' => 'Verdana',
1174 'fontSize' => '18px',
1175 'fontWeight' => 'normal',
1176 'textAlign' => 'center',
1177 ],
1178 ],
1179 ],
1180 'sortBy' => 'newest',
1181 'showDivider' => true,
1182 'divider' =>
1183 [
1184 'context' => 'posts.divider',
1185 'styles' =>
1186 [
1187 'block' =>
1188 [
1189 'backgroundColor' => 'transparent',
1190 'padding' => '13px',
1191 'borderStyle' => 'solid',
1192 'borderWidth' => '3px',
1193 'borderColor' => '#aaaaaa',
1194 ],
1195 ],
1196 ],
1197 'backgroundColor' => '#ffffff',
1198 'backgroundColorAlternate' => '#eeeeee',
1199 ],
1200 'social' =>
1201 [
1202 'iconSet' => 'official-white',
1203 'icons' =>
1204 [
1205 0 =>
1206 [
1207 'type' => 'socialIcon',
1208 'iconType' => 'facebook',
1209 'link' => 'http://www.facebook.com',
1210 'image' => $this->social_icon_url . '/12-official-white/Facebook.png',
1211 'height' => '32px',
1212 'width' => '32px',
1213 'text' => 'Facebook',
1214 ],
1215 1 =>
1216 [
1217 'type' => 'socialIcon',
1218 'iconType' => 'twitter',
1219 'link' => 'http://www.twitter.com',
1220 'image' => $this->social_icon_url . '/12-official-white/X.png',
1221 'height' => '32px',
1222 'width' => '32px',
1223 'text' => 'Twitter',
1224 ],
1225 2 =>
1226 [
1227 'type' => 'socialIcon',
1228 'iconType' => 'instagram',
1229 'link' => 'http://instagram.com',
1230 'image' => $this->social_icon_url . '/12-official-white/Instagram.png',
1231 'height' => '32px',
1232 'width' => '32px',
1233 'text' => 'Instagram',
1234 ],
1235 ],
1236 'type' => 'social',
1237 ],
1238 'spacer' =>
1239 [
1240 'styles' =>
1241 [
1242 'block' =>
1243 [
1244 'backgroundColor' => 'transparent',
1245 'height' => '50px',
1246 ],
1247 ],
1248 'type' => 'spacer',
1249 ],
1250 'header' =>
1251 [
1252 'text' => '<a href="[link:newsletter_view_in_browser_url]">' . __("View this in your browser.", 'mailpoet') . '</a>',
1253 'styles' =>
1254 [
1255 'block' =>
1256 [
1257 'backgroundColor' => 'transparent',
1258 ],
1259 'text' =>
1260 [
1261 'fontColor' => '#222222',
1262 'fontFamily' => 'Arial',
1263 'fontSize' => '12px',
1264 'textAlign' => 'center',
1265 ],
1266 'link' =>
1267 [
1268 'fontColor' => '#6cb7d4',
1269 'textDecoration' => 'underline',
1270 ],
1271 ],
1272 'type' => 'header',
1273 ],
1274 ],
1275 ];
1276 }
1277 }
1278