PluginProbe
MailPoet – Newsletters, Email Marketing, and Automation / 5.33.1
MailPoet – Newsletters, Email Marketing, and Automation v5.33.1
5.37.0 5.36.1 5.36.0 5.35.1 5.35.0 5.34.3 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 All 541 releases
mailpoet / lib / Config / PopulatorData / Templates / NotSoMedium.php
NotSoMedium.php
1,004 lines 39.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
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 NotSoMedium {
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/not-so-medium';
17 $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons';
18 }
19
20 public function get() {
21 return [
22 'name' => __("One Full Post In An Email", 'mailpoet'),
23 'categories' => json_encode(['notification', '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' => '#ffffff',
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' => '30px',
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 . '/Not-So-Medium-Logo.png',
152 'alt' => 'Not-So-Medium-Logo',
153 'fullWidth' => false,
154 'width' => '210px',
155 'height' => '90px',
156 'styles' =>
157 [
158 'block' =>
159 [
160 'textAlign' => 'center',
161 ],
162 ],
163 ],
164 ],
165 ],
166 1 =>
167 [
168 'type' => 'container',
169 'columnLayout' => false,
170 'orientation' => 'vertical',
171 'image' =>
172 [
173 'src' => null,
174 'display' => 'scale',
175 ],
176 'styles' =>
177 [
178 'block' =>
179 [
180 'backgroundColor' => 'transparent',
181 ],
182 ],
183 'blocks' =>
184 [
185 0 =>
186 [
187 'type' => 'spacer',
188 'styles' =>
189 [
190 'block' =>
191 [
192 'backgroundColor' => 'transparent',
193 'height' => '40px',
194 ],
195 ],
196 ],
197 ],
198 ],
199 2 =>
200 [
201 'type' => 'container',
202 'columnLayout' => false,
203 'orientation' => 'vertical',
204 'image' =>
205 [
206 'src' => null,
207 'display' => 'scale',
208 ],
209 'styles' =>
210 [
211 'block' =>
212 [
213 'backgroundColor' => 'transparent',
214 ],
215 ],
216 'blocks' =>
217 [
218 0 =>
219 [
220 'type' => 'spacer',
221 'styles' =>
222 [
223 'block' =>
224 [
225 'backgroundColor' => 'transparent',
226 'height' => '20px',
227 ],
228 ],
229 ],
230 1 =>
231 [
232 'type' => 'social',
233 'iconSet' => 'official',
234 'icons' =>
235 [
236 0 =>
237 [
238 'type' => 'socialIcon',
239 'iconType' => 'facebook',
240 'link' => 'http://www.facebook.com',
241 'image' => $this->social_icon_url . '/11-official/Facebook.png',
242 'height' => '32px',
243 'width' => '32px',
244 'text' => 'Facebook',
245 ],
246 1 =>
247 [
248 'type' => 'socialIcon',
249 'iconType' => 'twitter',
250 'link' => 'http://www.twitter.com',
251 'image' => $this->social_icon_url . '/11-official/X.png',
252 'height' => '32px',
253 'width' => '32px',
254 'text' => 'Twitter',
255 ],
256 2 =>
257 [
258 'type' => 'socialIcon',
259 'iconType' => 'website',
260 'link' => '',
261 'image' => $this->social_icon_url . '/11-official/Website.png',
262 'height' => '32px',
263 'width' => '32px',
264 'text' => 'Website',
265 ],
266 ],
267 ],
268 ],
269 ],
270 ],
271 ],
272 2 =>
273 [
274 'type' => 'container',
275 'columnLayout' => false,
276 'orientation' => 'horizontal',
277 'image' =>
278 [
279 'src' => null,
280 'display' => 'scale',
281 ],
282 'styles' =>
283 [
284 'block' =>
285 [
286 'backgroundColor' => '#ebebeb',
287 ],
288 ],
289 'blocks' =>
290 [
291 0 =>
292 [
293 'type' => 'container',
294 'columnLayout' => false,
295 'orientation' => 'vertical',
296 'image' =>
297 [
298 'src' => null,
299 'display' => 'scale',
300 ],
301 'styles' =>
302 [
303 'block' =>
304 [
305 'backgroundColor' => 'transparent',
306 ],
307 ],
308 'blocks' =>
309 [
310 0 =>
311 [
312 'type' => 'spacer',
313 'styles' =>
314 [
315 'block' =>
316 [
317 'backgroundColor' => 'transparent',
318 'height' => '20px',
319 ],
320 ],
321 ],
322 1 =>
323 [
324 'type' => 'text',
325 'text' => '<p><strong><em>Welcome to this week\'s post. </em></strong></p>
326 <p><em>Every Friday, we send you the most interesting story&nbsp;of the week in full.</em></p>',
327 ],
328 2 =>
329 [
330 'type' => 'spacer',
331 'styles' =>
332 [
333 'block' =>
334 [
335 'backgroundColor' => '#d6d6d6',
336 'height' => '20px',
337 ],
338 ],
339 ],
340 3 =>
341 [
342 'type' => 'spacer',
343 'styles' =>
344 [
345 'block' =>
346 [
347 'backgroundColor' => '#ffffff',
348 'height' => '63px',
349 ],
350 ],
351 ],
352 ],
353 ],
354 ],
355 ],
356 3 =>
357 [
358 'type' => 'automatedLatestContentLayout',
359 'withLayout' => true,
360 'amount' => '1',
361 'contentType' => 'post',
362 'terms' =>
363 [
364 ],
365 'inclusionType' => 'include',
366 'displayType' => 'full',
367 'titleFormat' => 'h1',
368 'titleAlignment' => 'center',
369 'titleIsLink' => true,
370 'imageFullWidth' => false,
371 'featuredImagePosition' => 'alternate',
372 'showAuthor' => 'aboveText',
373 'authorPrecededBy' => 'Author:',
374 'showCategories' => 'aboveText',
375 'categoriesPrecededBy' => 'Categories:',
376 'readMoreType' => 'link',
377 'readMoreText' => 'View this post online & share!',
378 'readMoreButton' =>
379 [
380 'type' => 'button',
381 'text' => 'Read more',
382 'url' => '[postLink]',
383 'styles' =>
384 [
385 'block' =>
386 [
387 'backgroundColor' => '#2ea1cd',
388 'borderColor' => '#0074a2',
389 'borderWidth' => '1px',
390 'borderRadius' => '5px',
391 'borderStyle' => 'solid',
392 'width' => '180px',
393 'lineHeight' => '40px',
394 'fontColor' => '#ffffff',
395 'fontFamily' => 'Verdana',
396 'fontSize' => '18px',
397 'fontWeight' => 'normal',
398 'textAlign' => 'center',
399 ],
400 ],
401 'context' => 'automatedLatestContentLayout.readMoreButton',
402 ],
403 'sortBy' => 'newest',
404 'showDivider' => true,
405 'divider' =>
406 [
407 'type' => 'divider',
408 'styles' =>
409 [
410 'block' =>
411 [
412 'backgroundColor' => 'transparent',
413 'padding' => '13px',
414 'borderStyle' => 'solid',
415 'borderWidth' => '1px',
416 'borderColor' => '#aaaaaa',
417 ],
418 ],
419 'context' => 'automatedLatestContentLayout.divider',
420 ],
421 'backgroundColor' => '#ffffff',
422 'backgroundColorAlternate' => '#eeeeee',
423 ],
424 4 =>
425 [
426 'type' => 'container',
427 'columnLayout' => false,
428 'orientation' => 'horizontal',
429 'image' =>
430 [
431 'src' => null,
432 'display' => 'scale',
433 ],
434 'styles' =>
435 [
436 'block' =>
437 [
438 'backgroundColor' => '#ebebeb',
439 ],
440 ],
441 'blocks' =>
442 [
443 0 =>
444 [
445 'type' => 'container',
446 'columnLayout' => false,
447 'orientation' => 'vertical',
448 'image' =>
449 [
450 'src' => null,
451 'display' => 'scale',
452 ],
453 'styles' =>
454 [
455 'block' =>
456 [
457 'backgroundColor' => 'transparent',
458 ],
459 ],
460 'blocks' =>
461 [
462 0 =>
463 [
464 'type' => 'spacer',
465 'styles' =>
466 [
467 'block' =>
468 [
469 'backgroundColor' => 'transparent',
470 'height' => '20px',
471 ],
472 ],
473 ],
474 1 =>
475 [
476 'type' => 'text',
477 'text' => '<p style="text-align: center;"><strong><em>Share this with your friends</em></strong></p>
478 <p style="text-align: center;"><em>We promise not to spam anyone, and we only send our great articles to any email addresses in our list. Promise!</em></p>',
479 ],
480 2 =>
481 [
482 'type' => 'social',
483 'iconSet' => 'official',
484 'icons' =>
485 [
486 0 =>
487 [
488 'type' => 'socialIcon',
489 'iconType' => 'facebook',
490 'link' => 'http://www.facebook.com',
491 'image' => $this->social_icon_url . '/11-official/Facebook.png',
492 'height' => '32px',
493 'width' => '32px',
494 'text' => 'Facebook',
495 ],
496 1 =>
497 [
498 'type' => 'socialIcon',
499 'iconType' => 'twitter',
500 'link' => 'http://www.twitter.com',
501 'image' => $this->social_icon_url . '/11-official/X.png',
502 'height' => '32px',
503 'width' => '32px',
504 'text' => 'Twitter',
505 ],
506 2 =>
507 [
508 'type' => 'socialIcon',
509 'iconType' => 'linkedin',
510 'link' => 'http://www.linkedin.com',
511 'image' => $this->social_icon_url . '/11-official/Linkedin.png',
512 'height' => '32px',
513 'width' => '32px',
514 'text' => 'LinkedIn',
515 ],
516 3 =>
517 [
518 'type' => 'socialIcon',
519 'iconType' => 'email',
520 'link' => '',
521 'image' => $this->social_icon_url . '/11-official/Email.png',
522 'height' => '32px',
523 'width' => '32px',
524 'text' => 'Email',
525 ],
526 ],
527 ],
528 3 =>
529 [
530 'type' => 'spacer',
531 'styles' =>
532 [
533 'block' =>
534 [
535 'backgroundColor' => '#d6d6d6',
536 'height' => '20px',
537 ],
538 ],
539 ],
540 ],
541 ],
542 ],
543 ],
544 5 =>
545 [
546 'type' => 'container',
547 'columnLayout' => false,
548 'orientation' => 'horizontal',
549 'image' =>
550 [
551 'src' => null,
552 'display' => 'scale',
553 ],
554 'styles' =>
555 [
556 'block' =>
557 [
558 'backgroundColor' => '#ffffff',
559 ],
560 ],
561 'blocks' =>
562 [
563 0 =>
564 [
565 'type' => 'container',
566 'columnLayout' => false,
567 'orientation' => 'vertical',
568 'image' =>
569 [
570 'src' => null,
571 'display' => 'scale',
572 ],
573 'styles' =>
574 [
575 'block' =>
576 [
577 'backgroundColor' => 'transparent',
578 ],
579 ],
580 'blocks' =>
581 [
582 0 =>
583 [
584 'type' => 'spacer',
585 'styles' =>
586 [
587 'block' =>
588 [
589 'backgroundColor' => 'transparent',
590 'height' => '20px',
591 ],
592 ],
593 ],
594 1 =>
595 [
596 'type' => 'footer',
597 'text' => '<p><strong><a href="[link:subscription_unsubscribe_url]">' . __("Unsubscribe", 'mailpoet') . '</a> | <a href="[link:subscription_manage_url]">' . __("Manage your subscription", 'mailpoet') . '</a></strong><br />' . __("Add your postal address here!", 'mailpoet') . '</p>',
598 'styles' =>
599 [
600 'block' =>
601 [
602 'backgroundColor' => 'transparent',
603 ],
604 'text' =>
605 [
606 'fontColor' => '#222222',
607 'fontFamily' => 'Arial',
608 'fontSize' => '12px',
609 'textAlign' => 'center',
610 ],
611 'link' =>
612 [
613 'fontColor' => '#2c2c2c',
614 'textDecoration' => 'none',
615 ],
616 ],
617 ],
618 ],
619 ],
620 ],
621 ],
622 ],
623 ],
624 'globalStyles' =>
625 [
626 'text' =>
627 [
628 'fontColor' => '#000000',
629 'fontFamily' => 'Georgia',
630 'fontSize' => '18px',
631 ],
632 'h1' =>
633 [
634 'fontColor' => '#111111',
635 'fontFamily' => 'Arial',
636 'fontSize' => '30px',
637 ],
638 'h2' =>
639 [
640 'fontColor' => '#222222',
641 'fontFamily' => 'Arial',
642 'fontSize' => '24px',
643 ],
644 'h3' =>
645 [
646 'fontColor' => '#333333',
647 'fontFamily' => 'Arial',
648 'fontSize' => '22px',
649 ],
650 'link' =>
651 [
652 'fontColor' => '#21759B',
653 'textDecoration' => 'underline',
654 ],
655 'wrapper' =>
656 [
657 'backgroundColor' => '#ffffff',
658 ],
659 'body' =>
660 [
661 'backgroundColor' => '#ffffff',
662 ],
663 ],
664 'blockDefaults' =>
665 [
666 'automatedLatestContent' =>
667 [
668 'amount' => '5',
669 'withLayout' => false,
670 'contentType' => 'post',
671 'inclusionType' => 'include',
672 'displayType' => 'excerpt',
673 'titleFormat' => 'h1',
674 'titleAlignment' => 'left',
675 'titleIsLink' => false,
676 'imageFullWidth' => false,
677 'featuredImagePosition' => 'belowTitle',
678 'showAuthor' => 'no',
679 'authorPrecededBy' => 'Author:',
680 'showCategories' => 'no',
681 'categoriesPrecededBy' => 'Categories:',
682 'readMoreType' => 'button',
683 'readMoreText' => 'Read more',
684 'readMoreButton' =>
685 [
686 'text' => 'Read more',
687 'url' => '[postLink]',
688 'context' => 'automatedLatestContent.readMoreButton',
689 'styles' =>
690 [
691 'block' =>
692 [
693 'backgroundColor' => '#2ea1cd',
694 'borderColor' => '#0074a2',
695 'borderWidth' => '1px',
696 'borderRadius' => '5px',
697 'borderStyle' => 'solid',
698 'width' => '180px',
699 'lineHeight' => '40px',
700 'fontColor' => '#ffffff',
701 'fontFamily' => 'Verdana',
702 'fontSize' => '18px',
703 'fontWeight' => 'normal',
704 'textAlign' => 'center',
705 ],
706 ],
707 ],
708 'sortBy' => 'newest',
709 'showDivider' => true,
710 'divider' =>
711 [
712 'context' => 'automatedLatestContent.divider',
713 'styles' =>
714 [
715 'block' =>
716 [
717 'backgroundColor' => 'transparent',
718 'padding' => '13px',
719 'borderStyle' => 'solid',
720 'borderWidth' => '3px',
721 'borderColor' => '#aaaaaa',
722 ],
723 ],
724 ],
725 'backgroundColor' => '#ffffff',
726 'backgroundColorAlternate' => '#eeeeee',
727 ],
728 'automatedLatestContentLayout' =>
729 [
730 'amount' => '1',
731 'withLayout' => true,
732 'contentType' => 'post',
733 'inclusionType' => 'include',
734 'displayType' => 'full',
735 'titleFormat' => 'h1',
736 'titleAlignment' => 'center',
737 'titleIsLink' => true,
738 'imageFullWidth' => false,
739 'featuredImagePosition' => 'alternate',
740 'showAuthor' => 'aboveText',
741 'authorPrecededBy' => 'Author:',
742 'showCategories' => 'aboveText',
743 'categoriesPrecededBy' => 'Categories:',
744 'readMoreType' => 'link',
745 'readMoreText' => 'View this post online & share!',
746 'readMoreButton' =>
747 [
748 'text' => 'Read more',
749 'url' => '[postLink]',
750 'context' => 'automatedLatestContentLayout.readMoreButton',
751 'styles' =>
752 [
753 'block' =>
754 [
755 'backgroundColor' => '#2ea1cd',
756 'borderColor' => '#0074a2',
757 'borderWidth' => '1px',
758 'borderRadius' => '5px',
759 'borderStyle' => 'solid',
760 'width' => '180px',
761 'lineHeight' => '40px',
762 'fontColor' => '#ffffff',
763 'fontFamily' => 'Verdana',
764 'fontSize' => '18px',
765 'fontWeight' => 'normal',
766 'textAlign' => 'center',
767 ],
768 ],
769 'type' => 'button',
770 ],
771 'sortBy' => 'newest',
772 'showDivider' => true,
773 'divider' =>
774 [
775 'context' => 'automatedLatestContentLayout.divider',
776 'styles' =>
777 [
778 'block' =>
779 [
780 'backgroundColor' => 'transparent',
781 'padding' => '13px',
782 'borderStyle' => 'solid',
783 'borderWidth' => '1px',
784 'borderColor' => '#aaaaaa',
785 ],
786 ],
787 'type' => 'divider',
788 ],
789 'backgroundColor' => '#ffffff',
790 'backgroundColorAlternate' => '#eeeeee',
791 'type' => 'automatedLatestContentLayout',
792 'terms' =>
793 [
794 ],
795 ],
796 'button' =>
797 [
798 'text' => 'Read more',
799 'url' => '[postLink]',
800 'styles' =>
801 [
802 'block' =>
803 [
804 'backgroundColor' => '#2ea1cd',
805 'borderColor' => '#0074a2',
806 'borderWidth' => '1px',
807 'borderRadius' => '5px',
808 'borderStyle' => 'solid',
809 'width' => '180px',
810 'lineHeight' => '40px',
811 'fontColor' => '#ffffff',
812 'fontFamily' => 'Verdana',
813 'fontSize' => '18px',
814 'fontWeight' => 'normal',
815 'textAlign' => 'center',
816 ],
817 ],
818 'type' => 'button',
819 ],
820 'container' =>
821 [
822 'image' =>
823 [
824 'src' => null,
825 'display' => 'scale',
826 ],
827 'styles' =>
828 [
829 'block' =>
830 [
831 'backgroundColor' => 'transparent',
832 ],
833 ],
834 ],
835 'divider' =>
836 [
837 'styles' =>
838 [
839 'block' =>
840 [
841 'backgroundColor' => 'transparent',
842 'padding' => '13px',
843 'borderStyle' => 'solid',
844 'borderWidth' => '3px',
845 'borderColor' => '#aaaaaa',
846 ],
847 ],
848 'type' => 'divider',
849 ],
850 'footer' =>
851 [
852 '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>',
853 'styles' =>
854 [
855 'block' =>
856 [
857 'backgroundColor' => 'transparent',
858 ],
859 'text' =>
860 [
861 'fontColor' => '#222222',
862 'fontFamily' => 'Arial',
863 'fontSize' => '12px',
864 'textAlign' => 'center',
865 ],
866 'link' =>
867 [
868 'fontColor' => '#6cb7d4',
869 'textDecoration' => 'none',
870 ],
871 ],
872 ],
873 'posts' =>
874 [
875 'amount' => '10',
876 'withLayout' => true,
877 'contentType' => 'post',
878 'postStatus' => 'publish',
879 'inclusionType' => 'include',
880 'displayType' => 'excerpt',
881 'titleFormat' => 'h1',
882 'titleAlignment' => 'left',
883 'titleIsLink' => false,
884 'imageFullWidth' => false,
885 'featuredImagePosition' => 'alternate',
886 'showAuthor' => 'no',
887 'authorPrecededBy' => 'Author:',
888 'showCategories' => 'no',
889 'categoriesPrecededBy' => 'Categories:',
890 'readMoreType' => 'link',
891 'readMoreText' => 'Read more',
892 'readMoreButton' =>
893 [
894 'text' => 'Read more',
895 'url' => '[postLink]',
896 'context' => 'posts.readMoreButton',
897 'styles' =>
898 [
899 'block' =>
900 [
901 'backgroundColor' => '#2ea1cd',
902 'borderColor' => '#0074a2',
903 'borderWidth' => '1px',
904 'borderRadius' => '5px',
905 'borderStyle' => 'solid',
906 'width' => '180px',
907 'lineHeight' => '40px',
908 'fontColor' => '#ffffff',
909 'fontFamily' => 'Verdana',
910 'fontSize' => '18px',
911 'fontWeight' => 'normal',
912 'textAlign' => 'center',
913 ],
914 ],
915 'type' => 'button',
916 ],
917 'sortBy' => 'newest',
918 'showDivider' => true,
919 'divider' =>
920 [
921 'context' => 'posts.divider',
922 'styles' =>
923 [
924 'block' =>
925 [
926 'backgroundColor' => 'transparent',
927 'padding' => '13px',
928 'borderStyle' => 'solid',
929 'borderWidth' => '3px',
930 'borderColor' => '#aaaaaa',
931 ],
932 ],
933 'type' => 'divider',
934 ],
935 'backgroundColor' => '#ffffff',
936 'backgroundColorAlternate' => '#eeeeee',
937 ],
938 'social' =>
939 [
940 'iconSet' => 'official',
941 'icons' =>
942 [
943 0 =>
944 [
945 'type' => 'socialIcon',
946 'iconType' => 'facebook',
947 'link' => 'http://www.facebook.com',
948 'image' => $this->social_icon_url . '/11-official/Facebook.png',
949 'height' => '32px',
950 'width' => '32px',
951 'text' => 'Facebook',
952 ],
953 1 =>
954 [
955 'type' => 'socialIcon',
956 'iconType' => 'twitter',
957 'link' => 'http://www.twitter.com',
958 'image' => $this->social_icon_url . '/11-official/X.png',
959 'height' => '32px',
960 'width' => '32px',
961 'text' => 'Twitter',
962 ],
963 ],
964 ],
965 'spacer' =>
966 [
967 'styles' =>
968 [
969 'block' =>
970 [
971 'backgroundColor' => '#ffffff',
972 'height' => '63px',
973 ],
974 ],
975 'type' => 'spacer',
976 ],
977 'header' =>
978 [
979 'text' => '<a href="[link:newsletter_view_in_browser_url]">' . __("View this in your browser.", 'mailpoet') . '</a>',
980 'styles' =>
981 [
982 'block' =>
983 [
984 'backgroundColor' => 'transparent',
985 ],
986 'text' =>
987 [
988 'fontColor' => '#222222',
989 'fontFamily' => 'Arial',
990 'fontSize' => '12px',
991 'textAlign' => 'center',
992 ],
993 'link' =>
994 [
995 'fontColor' => '#6cb7d4',
996 'textDecoration' => 'underline',
997 ],
998 ],
999 ],
1000 ],
1001 ];
1002 }
1003 }
1004