oont-contents/plugins/mailpoet/lib/Config/PopulatorData/Templates/HealthyFoodBlog.php
2025-02-08 15:10:23 +01:00

2478 lines
76 KiB
PHP

<?php // phpcs:ignore SlevomatCodingStandard.TypeHints.DeclareStrictTypes.DeclareStrictTypesMissing
namespace MailPoet\Config\PopulatorData\Templates;
if (!defined('ABSPATH')) exit;
class HealthyFoodBlog {
private $template_image_url;
private $social_icon_url;
public function __construct(
$assets_url
) {
$this->template_image_url = 'https://ps.w.org/mailpoet/assets/newsletter-templates/healthy-food-blog';
$this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons';
}
public function get() {
return [
'name' => __("Healthy Food Blog", 'mailpoet'),
'categories' => json_encode(['standard', 'all']),
'readonly' => 1,
'thumbnail' => $this->getThumbnail(),
'body' => json_encode($this->getBody()),
];
}
private function getThumbnail() {
return $this->template_image_url . '/thumbnail.20190411-1500.jpg';
}
private function getBody() {
return [
'content' =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
],
],
'blocks' =>
[
0 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'horizontal',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
],
],
'blocks' =>
[
0 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
],
],
'blocks' =>
[
0 =>
[
'type' => 'spacer',
'styles' =>
[
'block' =>
[
'backgroundColor' => '#e3e3e3',
'height' => '40px',
],
],
],
],
],
],
],
1 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'horizontal',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => '#323232',
],
],
'blocks' =>
[
0 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
],
],
'blocks' =>
[
0 =>
[
'type' => 'spacer',
'styles' =>
[
'block' =>
[
'backgroundColor' => '#323232',
'height' => '20px',
],
],
],
1 =>
[
'type' => 'text',
'text' => '<p><strong><span style="color: #ffffff; font-size: 14px;">[date:mtext] [date:y]&nbsp;Edition</span></strong></p>',
],
],
],
1 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
],
],
'blocks' =>
[
0 =>
[
'type' => 'spacer',
'styles' =>
[
'block' =>
[
'backgroundColor' => '#323232',
'height' => '22px',
],
],
],
1 =>
[
'type' => 'text',
'text' => '<p style="text-align: right; font-size: 12px;"><span style="color: #ed682a;"><strong><a href="[link:newsletter_view_in_browser_url]" style="color: #ed682a;">View this email in your browser &gt;</a></strong></span></p>',
],
],
],
],
],
2 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'horizontal',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
],
],
'blocks' =>
[
0 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
],
],
'blocks' =>
[
0 =>
[
'type' => 'spacer',
'styles' =>
[
'block' =>
[
'backgroundColor' => '#ffffff',
'height' => '30px',
],
],
],
1 =>
[
'type' => 'image',
'link' => '',
'src' => $this->template_image_url . '/HealthyFood-Logo.png',
'alt' => 'HealthyFood-Logo',
'fullWidth' => false,
'width' => '400px',
'height' => '296px',
'styles' =>
[
'block' =>
[
'textAlign' => 'center',
],
],
],
],
],
1 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
],
],
'blocks' =>
[
0 =>
[
'type' => 'spacer',
'styles' =>
[
'block' =>
[
'backgroundColor' => '#ffffff',
'height' => '25px',
],
],
],
],
],
2 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
],
],
'blocks' =>
[
0 =>
[
'type' => 'spacer',
'styles' =>
[
'block' =>
[
'backgroundColor' => '#ffffff',
'height' => '121px',
],
],
],
1 =>
[
'type' => 'social',
'iconSet' => 'circles',
'icons' =>
[
0 =>
[
'type' => 'socialIcon',
'iconType' => 'facebook',
'link' => 'http://www.facebook.com',
'image' => $this->social_icon_url . '/03-circles/Facebook.png',
'height' => '32px',
'width' => '32px',
'text' => 'Facebook',
],
1 =>
[
'type' => 'socialIcon',
'iconType' => 'twitter',
'link' => 'http://www.twitter.com',
'image' => $this->social_icon_url . '/03-circles/Twitter.png',
'height' => '32px',
'width' => '32px',
'text' => 'Twitter',
],
2 =>
[
'type' => 'socialIcon',
'iconType' => 'instagram',
'link' => 'http://instagram.com',
'image' => $this->social_icon_url . '/03-circles/Instagram.png',
'height' => '32px',
'width' => '32px',
'text' => 'Instagram',
],
3 =>
[
'type' => 'socialIcon',
'iconType' => 'youtube',
'link' => 'http://www.youtube.com',
'image' => $this->social_icon_url . '/03-circles/Youtube.png',
'height' => '32px',
'width' => '32px',
'text' => 'Youtube',
],
],
],
],
],
],
],
3 =>
[
'type' => 'container',
'columnLayout' => '2_1',
'orientation' => 'horizontal',
'image' =>
[
'src' => $this->template_image_url . '/HealthyFood-Header-1.jpg',
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => '#ed682a',
],
],
'blocks' =>
[
0 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
],
],
'blocks' =>
[
0 =>
[
'type' => 'spacer',
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
'height' => '30px',
],
],
],
1 =>
[
'type' => 'text',
'text' => '<h1 style="text-align: left;"><strong><span style="color: #ffffff;">Welcome back!</span></strong></h1>
<p><span style="color: #ffffff;">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam nisl massa, fringilla id rutrum sed, porttitor in risus. Fusce dui erat, bibendum a accumsan non.</span></p>',
],
2 =>
[
'type' => 'spacer',
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
'height' => '20px',
],
],
],
],
],
1 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
],
],
'blocks' =>
[
0 =>
[
'type' => 'spacer',
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
'height' => '40px',
],
],
],
],
],
],
],
4 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'horizontal',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => '#ffffff',
],
],
'blocks' =>
[
0 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
],
],
'blocks' =>
[
0 =>
[
'type' => 'spacer',
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
'height' => '56px',
],
],
],
1 =>
[
'type' => 'text',
'text' => '<h2 style="text-align: left;"><span style="color: #333333;"><strong>It\'s November - time to plant those 🌶</strong></span></h2>
<p><span style="color: #333333;">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam nisl massa, fringilla id rutrum sed, porttitor in risus. Fusce dui erat, bibendum a accumsan non.</span></p>
<p><span style="color: #333333;"></span></p>
<p><span style="color: #333333;">Tag your chilli images with #novemberheat for your chance to win a box of spicy treats!</span></p>
<p><span style="color: #333333;"></span></p>
<h3><span style="color: #ed682a;"><strong>#novemberheat</strong></span></h3>',
],
],
],
1 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
],
],
'blocks' =>
[
0 =>
[
'type' => 'spacer',
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
'height' => '20px',
],
],
],
1 =>
[
'type' => 'image',
'link' => '',
'src' => $this->template_image_url . '/HealthyFood-Instagram.jpg',
'alt' => 'HealthyFood-Instagram',
'fullWidth' => true,
'width' => '507px',
'height' => '600px',
'styles' =>
[
'block' =>
[
'textAlign' => 'center',
],
],
],
],
],
],
],
5 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'horizontal',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => '#ffffff',
],
],
'blocks' =>
[
0 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
],
],
'blocks' =>
[
0 =>
[
'type' => 'spacer',
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
'height' => '20px',
],
],
],
],
],
],
],
6 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'horizontal',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => '#ed682a',
],
],
'blocks' =>
[
0 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
],
],
'blocks' =>
[
0 =>
[
'type' => 'spacer',
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
'height' => '20px',
],
],
],
1 =>
[
'type' => 'text',
'text' => '<h1 style="text-align: left;"><strong><span style="color: #ffffff;">Start eating healthy today</span></strong></h1>
<h3><strong><span style="color: #ffffff;"><span>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam nisl massa, fringilla id rutrum sed, porttitor in risus. Fusce dui erat, bibendum a accumsan non.</span></span></strong></h3>',
],
],
],
],
],
7 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'horizontal',
'image' =>
[
'src' => $this->template_image_url . '/HealthyFood-CouponImage.jpg',
'display' => 'tile',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
],
],
'blocks' =>
[
0 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
],
],
'blocks' =>
[
0 =>
[
'type' => 'spacer',
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
'height' => '20px',
],
],
],
],
],
],
],
8 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'horizontal',
'image' =>
[
'src' => $this->template_image_url . '/HealthyFood-CouponImage.jpg',
'display' => 'tile',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => '#ed682a',
],
],
'blocks' =>
[
0 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
],
],
'blocks' =>
[
0 =>
[
'type' => 'image',
'link' => '',
'src' => $this->template_image_url . '/5a5b7bf514d8c4188e0b08fc-1024x766.png',
'alt' => '5a5b7bf514d8c4188e0b08fc',
'fullWidth' => true,
'width' => '298px',
'height' => '524px',
'styles' =>
[
'block' =>
[
'textAlign' => 'right',
],
],
],
],
],
1 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
],
],
'blocks' =>
[
0 =>
[
'type' => 'spacer',
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
'height' => '20px',
],
],
],
1 =>
[
'type' => 'text',
'text' => '<h3 style="text-align: left;"><strong>Get 20% off a box</strong></h3>
<p><span style="color: #333333;">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam nisl massa, fringilla</span></p>
<p><span style="color: #333333;">id rutrum sed, porttitor in risus.</span></p>',
],
2 =>
[
'type' => 'button',
'text' => 'CouPon_Cod3',
'url' => '',
'styles' =>
[
'block' =>
[
'backgroundColor' => '#ffffff',
'borderColor' => '#323232',
'borderWidth' => '2px',
'borderRadius' => '0px',
'borderStyle' => 'solid',
'width' => '255px',
'lineHeight' => '40px',
'fontColor' => '#323232',
'fontFamily' => 'Courier New',
'fontSize' => '18px',
'fontWeight' => 'bold',
'textAlign' => 'left',
],
],
],
],
],
],
],
9 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'horizontal',
'image' =>
[
'src' => $this->template_image_url . '/HealthyFood-CouponImage.jpg',
'display' => 'tile',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
],
],
'blocks' =>
[
0 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
],
],
'blocks' =>
[
0 =>
[
'type' => 'spacer',
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
'height' => '20px',
],
],
],
],
],
],
],
10 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'horizontal',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => '#ed682a',
],
],
'blocks' =>
[
0 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
],
],
'blocks' =>
[
0 =>
[
'type' => 'spacer',
'styles' =>
[
'block' =>
[
'backgroundColor' => '#ed682a',
'height' => '26px',
],
],
],
],
],
],
],
11 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'horizontal',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => '#ffffff',
],
],
'blocks' =>
[
0 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
],
],
'blocks' =>
[
0 =>
[
'type' => 'spacer',
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
'height' => '30px',
],
],
],
],
],
],
],
12 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'horizontal',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
],
],
'blocks' =>
[
0 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
],
],
'blocks' =>
[
0 =>
[
'type' => 'text',
'text' => '<h2 style="text-align: center;"><span style="color: #333333;"><strong>Your weekly recipe list</strong></span></h2>
<p style="text-align: center;"><span style="color: #333333;">Cook delicious meals right now - here\'s your list for this week.</span></p>',
],
1 =>
[
'type' => 'spacer',
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
'height' => '20px',
],
],
],
],
],
],
],
13 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'horizontal',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
],
],
'blocks' =>
[
0 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
],
],
'blocks' =>
[
0 =>
[
'type' => 'text',
'text' => '<p style="text-align: center;"><strong>MONDAY</strong></p>',
],
1 =>
[
'type' => 'image',
'link' => '',
'src' => $this->template_image_url . '/HealthyFood-01-Monday.jpg',
'alt' => 'HealthyFood-01-Monday',
'fullWidth' => false,
'width' => '500px',
'height' => '500px',
'styles' =>
[
'block' =>
[
'textAlign' => 'center',
],
],
],
2 =>
[
'type' => 'button',
'text' => 'Spicy Prawn Broth',
'url' => '',
'styles' =>
[
'block' =>
[
'backgroundColor' => '#ed682a',
'borderColor' => '#323232',
'borderWidth' => '0px',
'borderRadius' => '5px',
'borderStyle' => 'solid',
'width' => '255px',
'lineHeight' => '40px',
'fontColor' => '#ffffff',
'fontFamily' => 'Merriweather Sans',
'fontSize' => '14px',
'fontWeight' => 'bold',
'textAlign' => 'left',
],
],
],
],
],
1 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
],
],
'blocks' =>
[
0 =>
[
'type' => 'text',
'text' => '<p style="text-align: center;"><strong>TUESDAY</strong></p>',
],
1 =>
[
'type' => 'image',
'link' => '',
'src' => $this->template_image_url . '/HealthyFood-02-Tuesday.jpg',
'alt' => 'HealthyFood-02-Tuesday',
'fullWidth' => false,
'width' => '500px',
'height' => '500px',
'styles' =>
[
'block' =>
[
'textAlign' => 'center',
],
],
],
2 =>
[
'type' => 'button',
'text' => 'Classic Pizza',
'url' => '',
'styles' =>
[
'block' =>
[
'backgroundColor' => '#ed682a',
'borderColor' => '#323232',
'borderWidth' => '0px',
'borderRadius' => '5px',
'borderStyle' => 'solid',
'width' => '255px',
'lineHeight' => '40px',
'fontColor' => '#ffffff',
'fontFamily' => 'Merriweather Sans',
'fontSize' => '14px',
'fontWeight' => 'bold',
'textAlign' => 'left',
],
],
],
],
],
2 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
],
],
'blocks' =>
[
0 =>
[
'type' => 'text',
'text' => '<p style="text-align: center;"><strong>WEDNESDAY</strong></p>',
],
1 =>
[
'type' => 'image',
'link' => '',
'src' => $this->template_image_url . '/HealthyFood-03-Wednesday.jpg',
'alt' => 'HealthyFood-03-Wednesday',
'fullWidth' => false,
'width' => '500px',
'height' => '500px',
'styles' =>
[
'block' =>
[
'textAlign' => 'center',
],
],
],
2 =>
[
'type' => 'button',
'text' => 'Salad Roll',
'url' => '',
'styles' =>
[
'block' =>
[
'backgroundColor' => '#ed682a',
'borderColor' => '#323232',
'borderWidth' => '0px',
'borderRadius' => '5px',
'borderStyle' => 'solid',
'width' => '255px',
'lineHeight' => '40px',
'fontColor' => '#ffffff',
'fontFamily' => 'Merriweather Sans',
'fontSize' => '14px',
'fontWeight' => 'bold',
'textAlign' => 'left',
],
],
],
],
],
],
],
14 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'horizontal',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
],
],
'blocks' =>
[
0 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
],
],
'blocks' =>
[
0 =>
[
'type' => 'divider',
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
'padding' => '9px',
'borderStyle' => 'solid',
'borderWidth' => '2px',
'borderColor' => '#ed682a',
],
],
],
1 =>
[
'type' => 'spacer',
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
'height' => '20px',
],
],
],
],
],
],
],
15 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'horizontal',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
],
],
'blocks' =>
[
0 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
],
],
'blocks' =>
[
0 =>
[
'type' => 'text',
'text' => '<p style="text-align: center;"><strong>THURSDAY</strong></p>',
],
1 =>
[
'type' => 'image',
'link' => '',
'src' => $this->template_image_url . '/HealthyFood-04-Thursday.jpg',
'alt' => 'HealthyFood-04-Thursday',
'fullWidth' => false,
'width' => '500px',
'height' => '500px',
'styles' =>
[
'block' =>
[
'textAlign' => 'center',
],
],
],
2 =>
[
'type' => 'button',
'text' => 'Shellfish Pasta',
'url' => '',
'styles' =>
[
'block' =>
[
'backgroundColor' => '#ed682a',
'borderColor' => '#323232',
'borderWidth' => '0px',
'borderRadius' => '5px',
'borderStyle' => 'solid',
'width' => '255px',
'lineHeight' => '40px',
'fontColor' => '#ffffff',
'fontFamily' => 'Merriweather Sans',
'fontSize' => '14px',
'fontWeight' => 'bold',
'textAlign' => 'left',
],
],
],
],
],
1 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
],
],
'blocks' =>
[
0 =>
[
'type' => 'text',
'text' => '<p style="text-align: center;"><strong>FRIDAY</strong></p>',
],
1 =>
[
'type' => 'image',
'link' => '',
'src' => $this->template_image_url . '/HealthyFood-05-Friday.jpg',
'alt' => 'HealthyFood-05-Friday',
'fullWidth' => false,
'width' => '500px',
'height' => '500px',
'styles' =>
[
'block' =>
[
'textAlign' => 'center',
],
],
],
2 =>
[
'type' => 'button',
'text' => 'Thai Green Curry',
'url' => '',
'styles' =>
[
'block' =>
[
'backgroundColor' => '#ed682a',
'borderColor' => '#323232',
'borderWidth' => '0px',
'borderRadius' => '5px',
'borderStyle' => 'solid',
'width' => '255px',
'lineHeight' => '40px',
'fontColor' => '#ffffff',
'fontFamily' => 'Merriweather Sans',
'fontSize' => '14px',
'fontWeight' => 'bold',
'textAlign' => 'left',
],
],
],
],
],
2 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
],
],
'blocks' =>
[
0 =>
[
'type' => 'text',
'text' => '<p style="text-align: center;"><strong>SATURDAY</strong></p>',
],
1 =>
[
'type' => 'image',
'link' => '',
'src' => $this->template_image_url . '/HealthyFood-06-Saturday.jpg',
'alt' => 'HealthyFood-06-Saturday',
'fullWidth' => false,
'width' => '500px',
'height' => '500px',
'styles' =>
[
'block' =>
[
'textAlign' => 'center',
],
],
],
2 =>
[
'type' => 'button',
'text' => 'Stuffed Turkey',
'url' => '',
'styles' =>
[
'block' =>
[
'backgroundColor' => '#ed682a',
'borderColor' => '#323232',
'borderWidth' => '0px',
'borderRadius' => '5px',
'borderStyle' => 'solid',
'width' => '255px',
'lineHeight' => '40px',
'fontColor' => '#ffffff',
'fontFamily' => 'Merriweather Sans',
'fontSize' => '14px',
'fontWeight' => 'bold',
'textAlign' => 'left',
],
],
],
],
],
],
],
16 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'horizontal',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
],
],
'blocks' =>
[
0 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
],
],
'blocks' =>
[
0 =>
[
'type' => 'divider',
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
'padding' => '9px',
'borderStyle' => 'solid',
'borderWidth' => '2px',
'borderColor' => '#ed682a',
],
],
],
1 =>
[
'type' => 'spacer',
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
'height' => '20px',
],
],
],
],
],
],
],
17 =>
[
'type' => 'container',
'columnLayout' => '1_2',
'orientation' => 'horizontal',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
],
],
'blocks' =>
[
0 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
],
],
'blocks' =>
[
0 =>
[
'type' => 'text',
'text' => '<p style="text-align: center;"><strong>SUNDAY</strong></p>',
],
1 =>
[
'type' => 'image',
'link' => '',
'src' => $this->template_image_url . '/HealthyFood-07-Sunday.jpg',
'alt' => 'HealthyFood-07-Sunday',
'fullWidth' => false,
'width' => '500px',
'height' => '500px',
'styles' =>
[
'block' =>
[
'textAlign' => 'center',
],
],
],
2 =>
[
'type' => 'button',
'text' => 'Lemon Cake',
'url' => '',
'styles' =>
[
'block' =>
[
'backgroundColor' => '#ed682a',
'borderColor' => '#323232',
'borderWidth' => '0px',
'borderRadius' => '5px',
'borderStyle' => 'solid',
'width' => '255px',
'lineHeight' => '40px',
'fontColor' => '#ffffff',
'fontFamily' => 'Merriweather Sans',
'fontSize' => '14px',
'fontWeight' => 'bold',
'textAlign' => 'left',
],
],
],
],
],
1 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
],
],
'blocks' =>
[
0 =>
[
'type' => 'text',
'text' => '<h2 style="text-align: left;"><span style="color: #333333;"><strong>Want more recipes?</strong></span></h2>
<p><span style="color: #333333;">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam nisl massa, fringilla id rutrum sed, porttitor in risus. Fusce dui erat, bibendum a accumsan non.</span></p>
<p><span style="color: #333333;"></span></p>
<p><span style="color: #333333;">For all of our recipes, check out our website or visit one of our social media platforms below. We\'d love to hear what you think about our choices this week!</span></p>',
],
1 =>
[
'type' => 'social',
'iconSet' => 'circles',
'icons' =>
[
0 =>
[
'type' => 'socialIcon',
'iconType' => 'facebook',
'link' => 'http://www.facebook.com',
'image' => $this->social_icon_url . '/03-circles/Facebook.png',
'height' => '32px',
'width' => '32px',
'text' => 'Facebook',
],
1 =>
[
'type' => 'socialIcon',
'iconType' => 'twitter',
'link' => 'http://www.twitter.com',
'image' => $this->social_icon_url . '/03-circles/Twitter.png',
'height' => '32px',
'width' => '32px',
'text' => 'Twitter',
],
2 =>
[
'type' => 'socialIcon',
'iconType' => 'instagram',
'link' => 'http://instagram.com',
'image' => $this->social_icon_url . '/03-circles/Instagram.png',
'height' => '32px',
'width' => '32px',
'text' => 'Instagram',
],
3 =>
[
'type' => 'socialIcon',
'iconType' => 'youtube',
'link' => 'http://www.youtube.com',
'image' => $this->social_icon_url . '/03-circles/Youtube.png',
'height' => '32px',
'width' => '32px',
'text' => 'Youtube',
],
],
],
],
],
],
],
18 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'horizontal',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
],
],
'blocks' =>
[
0 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
],
],
'blocks' =>
[
0 =>
[
'type' => 'divider',
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
'padding' => '9px',
'borderStyle' => 'solid',
'borderWidth' => '2px',
'borderColor' => '#ed682a',
],
],
],
1 =>
[
'type' => 'spacer',
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
'height' => '20px',
],
],
],
],
],
],
],
19 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'horizontal',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => '#e3e3e3',
],
],
'blocks' =>
[
0 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
],
],
'blocks' =>
[
0 =>
[
'type' => 'spacer',
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
'height' => '40px',
],
],
],
],
],
],
],
20 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'horizontal',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => '#e3e3e3',
],
],
'blocks' =>
[
0 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
],
],
'blocks' =>
[
0 =>
[
'type' => 'image',
'link' => '',
'src' => $this->template_image_url . '/HealthyFood-Logo.png',
'alt' => 'HealthyFood-Logo',
'fullWidth' => false,
'width' => '110px',
'height' => '296px',
'styles' =>
[
'block' =>
[
'textAlign' => 'left',
],
],
],
],
],
1 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
],
],
'blocks' =>
[
0 =>
[
'type' => 'footer',
'text' => '<p><span style="color: #ed682a;"><a href="[link:subscription_unsubscribe_url]" style="color: #ed682a;">' . __("Unsubscribe", 'mailpoet') . '</a> | <a href="[link:subscription_manage_url]" style="color: #ed682a;">' . __("Manage your subscription", 'mailpoet') . '</a></span><br />' . __("Add your postal address here!", 'mailpoet') . '</p>',
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
],
'text' =>
[
'fontColor' => '#222222',
'fontFamily' => 'Arial',
'fontSize' => '12px',
'textAlign' => 'right',
],
'link' =>
[
'fontColor' => '#6cb7d4',
'textDecoration' => 'none',
],
],
],
],
],
],
],
],
],
'globalStyles' =>
[
'text' =>
[
'fontColor' => '#000000',
'fontFamily' => 'Merriweather Sans',
'fontSize' => '14px',
],
'h1' =>
[
'fontColor' => '#111111',
'fontFamily' => 'Merriweather Sans',
'fontSize' => '40px',
],
'h2' =>
[
'fontColor' => '#222222',
'fontFamily' => 'Merriweather Sans',
'fontSize' => '24px',
],
'h3' =>
[
'fontColor' => '#333333',
'fontFamily' => 'Merriweather Sans',
'fontSize' => '22px',
],
'link' =>
[
'fontColor' => '#ed682a',
'textDecoration' => 'underline',
],
'wrapper' =>
[
'backgroundColor' => '#ffffff',
],
'body' =>
[
'backgroundColor' => '#e3e3e3',
],
],
'blockDefaults' =>
[
'automatedLatestContent' =>
[
'amount' => '5',
'withLayout' => false,
'contentType' => 'post',
'inclusionType' => 'include',
'displayType' => 'excerpt',
'titleFormat' => 'h1',
'titleAlignment' => 'left',
'titleIsLink' => false,
'imageFullWidth' => false,
'featuredImagePosition' => 'belowTitle',
'showAuthor' => 'no',
'authorPrecededBy' => 'Author:',
'showCategories' => 'no',
'categoriesPrecededBy' => 'Categories:',
'readMoreType' => 'button',
'readMoreText' => 'Read more',
'readMoreButton' =>
[
'text' => 'Read more',
'url' => '[postLink]',
'context' => 'automatedLatestContent.readMoreButton',
'styles' =>
[
'block' =>
[
'backgroundColor' => '#2ea1cd',
'borderColor' => '#0074a2',
'borderWidth' => '1px',
'borderRadius' => '5px',
'borderStyle' => 'solid',
'width' => '180px',
'lineHeight' => '40px',
'fontColor' => '#ffffff',
'fontFamily' => 'Verdana',
'fontSize' => '18px',
'fontWeight' => 'normal',
'textAlign' => 'center',
],
],
],
'sortBy' => 'newest',
'showDivider' => true,
'divider' =>
[
'context' => 'automatedLatestContent.divider',
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
'padding' => '13px',
'borderStyle' => 'solid',
'borderWidth' => '3px',
'borderColor' => '#aaaaaa',
],
],
],
'backgroundColor' => '#ffffff',
'backgroundColorAlternate' => '#eeeeee',
],
'automatedLatestContentLayout' =>
[
'amount' => '5',
'withLayout' => true,
'contentType' => 'post',
'inclusionType' => 'include',
'displayType' => 'excerpt',
'titleFormat' => 'h1',
'titleAlignment' => 'left',
'titleIsLink' => false,
'imageFullWidth' => false,
'featuredImagePosition' => 'alternate',
'showAuthor' => 'no',
'authorPrecededBy' => 'Author:',
'showCategories' => 'no',
'categoriesPrecededBy' => 'Categories:',
'readMoreType' => 'button',
'readMoreText' => 'Read more',
'readMoreButton' =>
[
'text' => 'Read more',
'url' => '[postLink]',
'context' => 'automatedLatestContentLayout.readMoreButton',
'styles' =>
[
'block' =>
[
'backgroundColor' => '#2ea1cd',
'borderColor' => '#0074a2',
'borderWidth' => '1px',
'borderRadius' => '5px',
'borderStyle' => 'solid',
'width' => '180px',
'lineHeight' => '40px',
'fontColor' => '#ffffff',
'fontFamily' => 'Verdana',
'fontSize' => '18px',
'fontWeight' => 'normal',
'textAlign' => 'center',
],
],
],
'sortBy' => 'newest',
'showDivider' => true,
'divider' =>
[
'context' => 'automatedLatestContentLayout.divider',
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
'padding' => '13px',
'borderStyle' => 'solid',
'borderWidth' => '3px',
'borderColor' => '#aaaaaa',
],
],
],
'backgroundColor' => '#ffffff',
'backgroundColorAlternate' => '#eeeeee',
],
'button' =>
[
'text' => 'Lemon Cake',
'url' => '',
'styles' =>
[
'block' =>
[
'backgroundColor' => '#ed682a',
'borderColor' => '#323232',
'borderWidth' => '0px',
'borderRadius' => '5px',
'borderStyle' => 'solid',
'width' => '255px',
'lineHeight' => '40px',
'fontColor' => '#ffffff',
'fontFamily' => 'Merriweather Sans',
'fontSize' => '14px',
'fontWeight' => 'bold',
'textAlign' => 'left',
],
],
'type' => 'button',
],
'divider' =>
[
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
'padding' => '9px',
'borderStyle' => 'solid',
'borderWidth' => '2px',
'borderColor' => '#ed682a',
],
],
'type' => 'divider',
],
'footer' =>
[
'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>',
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
],
'text' =>
[
'fontColor' => '#222222',
'fontFamily' => 'Arial',
'fontSize' => '12px',
'textAlign' => 'right',
],
'link' =>
[
'fontColor' => '#6cb7d4',
'textDecoration' => 'none',
],
],
'type' => 'footer',
],
'posts' =>
[
'amount' => '10',
'withLayout' => true,
'contentType' => 'post',
'postStatus' => 'publish',
'inclusionType' => 'include',
'displayType' => 'excerpt',
'titleFormat' => 'h1',
'titleAlignment' => 'left',
'titleIsLink' => false,
'imageFullWidth' => false,
'featuredImagePosition' => 'alternate',
'showAuthor' => 'no',
'authorPrecededBy' => 'Author:',
'showCategories' => 'no',
'categoriesPrecededBy' => 'Categories:',
'readMoreType' => 'link',
'readMoreText' => 'Read more',
'readMoreButton' =>
[
'text' => 'Read more',
'url' => '[postLink]',
'context' => 'posts.readMoreButton',
'styles' =>
[
'block' =>
[
'backgroundColor' => '#2ea1cd',
'borderColor' => '#0074a2',
'borderWidth' => '1px',
'borderRadius' => '5px',
'borderStyle' => 'solid',
'width' => '180px',
'lineHeight' => '40px',
'fontColor' => '#ffffff',
'fontFamily' => 'Verdana',
'fontSize' => '18px',
'fontWeight' => 'normal',
'textAlign' => 'center',
],
],
],
'sortBy' => 'newest',
'showDivider' => true,
'divider' =>
[
'context' => 'posts.divider',
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
'padding' => '13px',
'borderStyle' => 'solid',
'borderWidth' => '3px',
'borderColor' => '#aaaaaa',
],
],
],
'backgroundColor' => '#ffffff',
'backgroundColorAlternate' => '#eeeeee',
],
'social' =>
[
'iconSet' => 'circles',
'icons' =>
[
0 =>
[
'type' => 'socialIcon',
'iconType' => 'facebook',
'link' => 'http://www.facebook.com',
'image' => $this->social_icon_url . '/03-circles/Facebook.png',
'height' => '32px',
'width' => '32px',
'text' => 'Facebook',
],
1 =>
[
'type' => 'socialIcon',
'iconType' => 'twitter',
'link' => 'http://www.twitter.com',
'image' => $this->social_icon_url . '/03-circles/Twitter.png',
'height' => '32px',
'width' => '32px',
'text' => 'Twitter',
],
2 =>
[
'type' => 'socialIcon',
'iconType' => 'instagram',
'link' => 'http://instagram.com',
'image' => $this->social_icon_url . '/03-circles/Instagram.png',
'height' => '32px',
'width' => '32px',
'text' => 'Instagram',
],
3 =>
[
'type' => 'socialIcon',
'iconType' => 'youtube',
'link' => 'http://www.youtube.com',
'image' => $this->social_icon_url . '/03-circles/Youtube.png',
'height' => '32px',
'width' => '32px',
'text' => 'Youtube',
],
],
'type' => 'social',
],
'spacer' =>
[
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
'height' => '20px',
],
],
'type' => 'spacer',
],
'header' =>
[
'text' => '<a href="[link:newsletter_view_in_browser_url]">' . __("View this in your browser.", 'mailpoet') . '</a>',
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
],
'text' =>
[
'fontColor' => '#222222',
'fontFamily' => 'Arial',
'fontSize' => '12px',
'textAlign' => 'right',
],
'link' =>
[
'fontColor' => '#e39171',
'textDecoration' => 'none',
],
],
'type' => 'header',
],
],
];
}
}