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

1749 lines
54 KiB
PHP

<?php // phpcs:ignore SlevomatCodingStandard.TypeHints.DeclareStrictTypes.DeclareStrictTypesMissing
namespace MailPoet\Config\PopulatorData\Templates;
if (!defined('ABSPATH')) exit;
class Guitarist {
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/guitarist';
$this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons';
}
public function get() {
return [
'name' => __("Guitarist", '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' => '#27282e',
],
],
'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' => '23px',
],
],
],
],
],
],
],
1 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'horizontal',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => '#27282e',
],
],
'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' => 'image',
'link' => '',
'src' => $this->template_image_url . '/Guitarist-Logo.png',
'alt' => 'Guitarist-Logo',
'fullWidth' => false,
'width' => '184px',
'height' => '179px',
'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' => 'transparent',
'height' => '26px',
],
],
],
1 =>
[
'type' => 'social',
'iconSet' => 'full-symbol-grey',
'styles' =>
[
'block' =>
[
'textAlign' => 'center',
],
],
'icons' =>
[
0 =>
[
'type' => 'socialIcon',
'iconType' => 'facebook',
'link' => 'http://www.facebook.com',
'image' => $this->social_icon_url . '/08-full-symbol-grey/Facebook.png',
'height' => '32px',
'width' => '32px',
'text' => 'Facebook',
],
1 =>
[
'type' => 'socialIcon',
'iconType' => 'twitter',
'link' => 'http://www.twitter.com',
'image' => $this->social_icon_url . '/08-full-symbol-grey/Twitter.png',
'height' => '32px',
'width' => '32px',
'text' => 'Twitter',
],
2 =>
[
'type' => 'socialIcon',
'iconType' => 'instagram',
'link' => 'http://instagram.com',
'image' => $this->social_icon_url . '/08-full-symbol-grey/Instagram.png',
'height' => '32px',
'width' => '32px',
'text' => 'Instagram',
],
],
],
],
],
2 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
],
],
'blocks' =>
[
0 =>
[
'type' => 'spacer',
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
'height' => '25px',
],
],
],
1 =>
[
'type' => 'header',
'text' => '<p><a href="[link:newsletter_view_in_browser_url]">' . __("View this in your browser.", 'mailpoet') . '</a></p>',
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
],
'text' =>
[
'fontColor' => '#222222',
'fontFamily' => 'Merriweather Sans',
'fontSize' => '12px',
'textAlign' => 'center',
],
'link' =>
[
'fontColor' => '#949494',
'textDecoration' => 'underline',
],
],
],
],
],
],
],
2 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'horizontal',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => '#27282e',
],
],
'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' => '23px',
],
],
],
],
],
],
],
3 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'horizontal',
'image' =>
[
'src' => $this->template_image_url . '/Guitarist-Header.jpg',
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => '#27282e',
],
],
'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' => '700px',
],
],
],
],
],
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' => '250px',
],
],
],
1 =>
[
'type' => 'text',
'text' => '<h3><strong>Exit Stage Right</strong></h3>
<p><span style="color: #999999;">A brand new album releasing this summer on <span style="color: #ffffff;">iTunes</span> and <span style="color: #1db954;">Spotify</span></span></p>',
],
2 =>
[
'type' => 'button',
'text' => 'Find out more',
'url' => '',
'styles' =>
[
'block' =>
[
'backgroundColor' => '#4c537e',
'borderColor' => '#0074a2',
'borderWidth' => '0px',
'borderRadius' => '0px',
'borderStyle' => 'solid',
'width' => '95px',
'lineHeight' => '30px',
'fontColor' => '#ffffff',
'fontFamily' => 'Merriweather Sans',
'fontSize' => '12px',
'fontWeight' => 'normal',
'textAlign' => 'left',
],
],
],
],
],
],
],
4 =>
[
'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' => 'transparent',
'height' => '130px',
],
],
],
1 =>
[
'type' => 'text',
'text' => '<h3 style="text-align: center;"><span style="color: #27282e;"><strong>My recording setup</strong></span></h3>
<p style="text-align: center;"><span style="color: #5a5c66;">A&nbsp;lot of people have been asking how I record my albums, so I thought I would write a quick blog post to explain</span></p>',
],
2 =>
[
'type' => 'button',
'text' => 'Find out more',
'url' => '',
'styles' =>
[
'block' =>
[
'backgroundColor' => '#4c537e',
'borderColor' => '#0074a2',
'borderWidth' => '0px',
'borderRadius' => '0px',
'borderStyle' => 'solid',
'width' => '95px',
'lineHeight' => '30px',
'fontColor' => '#ffffff',
'fontFamily' => 'Merriweather Sans',
'fontSize' => '12px',
'fontWeight' => 'normal',
'textAlign' => 'center',
],
],
],
],
],
1 =>
[
'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 . '/Guitarist-Images-1-1.jpg',
'alt' => 'Guitarist-Images-1',
'fullWidth' => true,
'width' => '800px',
'height' => '1000px',
'styles' =>
[
'block' =>
[
'textAlign' => 'center',
],
],
],
],
],
],
],
5 =>
[
'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' => 'image',
'link' => '',
'src' => $this->template_image_url . '/Guitarist-Images-2-1.jpg',
'alt' => 'Guitarist-Images-2',
'fullWidth' => true,
'width' => '800px',
'height' => '1000px',
'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' => 'transparent',
'height' => '130px',
],
],
],
1 =>
[
'type' => 'text',
'text' => '<h3 style="text-align: center;"><span style="color: #27282e;"><strong>Life on the road</strong></span></h3>
<p style="text-align: center;"><span style="color: #5a5c66;">Not many people know what it\'s like to travel all over the world and perform every night in many different places</span></p>',
],
2 =>
[
'type' => 'button',
'text' => 'Find out more',
'url' => '',
'styles' =>
[
'block' =>
[
'backgroundColor' => '#4c537e',
'borderColor' => '#0074a2',
'borderWidth' => '0px',
'borderRadius' => '0px',
'borderStyle' => 'solid',
'width' => '95px',
'lineHeight' => '30px',
'fontColor' => '#ffffff',
'fontFamily' => 'Merriweather Sans',
'fontSize' => '12px',
'fontWeight' => 'normal',
'textAlign' => 'center',
],
],
],
],
],
],
],
6 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'horizontal',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => '#27282e',
],
],
'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',
],
],
],
1 =>
[
'type' => 'text',
'text' => '<h3 style="text-align: center;"><span style="color: #ffffff;"><strong>New tour dates</strong></span></h3>
<p style="text-align: center;"><span style="color: #999999;">Come see me perform new tracks from the album</span></p>',
],
2 =>
[
'type' => 'divider',
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
'padding' => '14px',
'borderStyle' => 'dashed',
'borderWidth' => '2px',
'borderColor' => '#37383e',
],
],
],
3 =>
[
'type' => 'spacer',
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
'height' => '20px',
],
],
],
],
],
],
],
7 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'horizontal',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => '#27282e',
],
],
'blocks' =>
[
0 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
],
],
'blocks' =>
[
0 =>
[
'type' => 'button',
'text' => 'March 7th 2019',
'url' => '',
'styles' =>
[
'block' =>
[
'backgroundColor' => '#4c537e',
'borderColor' => '#0074a2',
'borderWidth' => '0px',
'borderRadius' => '0px',
'borderStyle' => 'solid',
'width' => '288px',
'lineHeight' => '40px',
'fontColor' => '#ffffff',
'fontFamily' => 'Merriweather Sans',
'fontSize' => '16px',
'fontWeight' => 'normal',
'textAlign' => 'center',
],
],
],
1 =>
[
'type' => 'text',
'text' => '<p style="text-align: center;"><span style="color: #ffffff;">Metro Radio Arena - Newcastle Upon Tyne</span></p>',
],
],
],
1 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
],
],
'blocks' =>
[
0 =>
[
'type' => 'button',
'text' => 'March 8th 2019',
'url' => '',
'styles' =>
[
'block' =>
[
'backgroundColor' => '#4c537e',
'borderColor' => '#0074a2',
'borderWidth' => '0px',
'borderRadius' => '0px',
'borderStyle' => 'solid',
'width' => '288px',
'lineHeight' => '40px',
'fontColor' => '#ffffff',
'fontFamily' => 'Merriweather Sans',
'fontSize' => '16px',
'fontWeight' => 'normal',
'textAlign' => 'center',
],
],
],
1 =>
[
'type' => 'text',
'text' => '<p style="text-align: center;"><span style="color: #ffffff;">First Direct Arena</span></p>
<p style="text-align: center;"><span style="color: #ffffff;">- Leeds</span></p>',
],
],
],
2 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
],
],
'blocks' =>
[
0 =>
[
'type' => 'button',
'text' => 'March 9th 2019',
'url' => '',
'styles' =>
[
'block' =>
[
'backgroundColor' => '#4c537e',
'borderColor' => '#0074a2',
'borderWidth' => '0px',
'borderRadius' => '0px',
'borderStyle' => 'solid',
'width' => '288px',
'lineHeight' => '40px',
'fontColor' => '#ffffff',
'fontFamily' => 'Merriweather Sans',
'fontSize' => '16px',
'fontWeight' => 'normal',
'textAlign' => 'center',
],
],
],
1 =>
[
'type' => 'text',
'text' => '<p style="text-align: center;"><span style="color: #ffffff;">Liverpool Echo Arena - Liverpool</span></p>',
],
],
],
],
],
8 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'horizontal',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => '#27282e',
],
],
'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',
],
],
],
],
],
],
],
9 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'horizontal',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => '#27282e',
],
],
'blocks' =>
[
0 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
],
],
'blocks' =>
[
0 =>
[
'type' => 'button',
'text' => 'March 11th 2019',
'url' => '',
'styles' =>
[
'block' =>
[
'backgroundColor' => '#4c537e',
'borderColor' => '#0074a2',
'borderWidth' => '0px',
'borderRadius' => '0px',
'borderStyle' => 'solid',
'width' => '288px',
'lineHeight' => '40px',
'fontColor' => '#ffffff',
'fontFamily' => 'Merriweather Sans',
'fontSize' => '16px',
'fontWeight' => 'normal',
'textAlign' => 'center',
],
],
],
1 =>
[
'type' => 'text',
'text' => '<p style="text-align: center;"><span style="color: #ffffff;">The Brighton Centre - Brighton</span></p>',
],
],
],
1 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
],
],
'blocks' =>
[
0 =>
[
'type' => 'button',
'text' => 'March 12th 2019',
'url' => '',
'styles' =>
[
'block' =>
[
'backgroundColor' => '#4c537e',
'borderColor' => '#0074a2',
'borderWidth' => '0px',
'borderRadius' => '0px',
'borderStyle' => 'solid',
'width' => '288px',
'lineHeight' => '40px',
'fontColor' => '#ffffff',
'fontFamily' => 'Merriweather Sans',
'fontSize' => '16px',
'fontWeight' => 'normal',
'textAlign' => 'center',
],
],
],
1 =>
[
'type' => 'text',
'text' => '<p style="text-align: center;"><span style="color: #ffffff;">Motorpoint Arena Nottingham - Nottingham</span></p>',
],
],
],
2 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'vertical',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
],
],
'blocks' =>
[
0 =>
[
'type' => 'button',
'text' => 'March 13th 2019',
'url' => '',
'styles' =>
[
'block' =>
[
'backgroundColor' => '#4c537e',
'borderColor' => '#0074a2',
'borderWidth' => '0px',
'borderRadius' => '0px',
'borderStyle' => 'solid',
'width' => '288px',
'lineHeight' => '40px',
'fontColor' => '#ffffff',
'fontFamily' => 'Merriweather Sans',
'fontSize' => '16px',
'fontWeight' => 'normal',
'textAlign' => 'center',
],
],
],
1 =>
[
'type' => 'text',
'text' => '<p style="text-align: center;"><span style="color: #ffffff;">Motorpoint Arena Cardiff - Cardiff</span></p>',
],
],
],
],
],
10 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'horizontal',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => '#27282e',
],
],
'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' => '14px',
'borderStyle' => 'dashed',
'borderWidth' => '2px',
'borderColor' => '#37383e',
],
],
],
1 =>
[
'type' => 'spacer',
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
'height' => '40px',
],
],
],
],
],
],
],
11 =>
[
'type' => 'container',
'columnLayout' => false,
'orientation' => 'horizontal',
'image' =>
[
'src' => null,
'display' => 'scale',
],
'styles' =>
[
'block' =>
[
'backgroundColor' => '#27282e',
],
],
'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 . '/Guitarist-Logo.png',
'alt' => 'Guitarist-Logo',
'fullWidth' => true,
'width' => '176px',
'height' => '179px',
'styles' =>
[
'block' =>
[
'textAlign' => 'center',
],
],
],
1 =>
[
'type' => 'footer',
'text' => '<p><a href="[link:subscription_unsubscribe_url]">' . __("Unsubscribe", 'mailpoet') . '</a> | <a href="[link:subscription_manage_url]">' . __("Manage your subscription", 'mailpoet') . '</a><br /><span style="color: #999999;">' . __("Add your postal address here!", 'mailpoet') . '</span></p>',
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
],
'text' =>
[
'fontColor' => '#222222',
'fontFamily' => 'Merriweather Sans',
'fontSize' => '12px',
'textAlign' => 'center',
],
'link' =>
[
'fontColor' => '#4c537e',
'textDecoration' => 'none',
],
],
],
2 =>
[
'type' => 'spacer',
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
'height' => '40px',
],
],
],
],
],
],
],
],
],
'globalStyles' =>
[
'text' =>
[
'fontColor' => '#27282e',
'fontFamily' => 'Merriweather Sans',
'fontSize' => '15px',
],
'h1' =>
[
'fontColor' => '#27282e',
'fontFamily' => 'Merriweather Sans',
'fontSize' => '30px',
],
'h2' =>
[
'fontColor' => '#27282e',
'fontFamily' => 'Merriweather Sans',
'fontSize' => '24px',
],
'h3' =>
[
'fontColor' => '#ffffff',
'fontFamily' => 'Merriweather Sans',
'fontSize' => '22px',
],
'link' =>
[
'fontColor' => '#21759B',
'textDecoration' => 'underline',
],
'wrapper' =>
[
'backgroundColor' => '#ffffff',
],
'body' =>
[
'backgroundColor' => '#27282e',
],
],
'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' => 'March 13th 2019',
'url' => '',
'styles' =>
[
'block' =>
[
'backgroundColor' => '#4c537e',
'borderColor' => '#0074a2',
'borderWidth' => '0px',
'borderRadius' => '0px',
'borderStyle' => 'solid',
'width' => '288px',
'lineHeight' => '40px',
'fontColor' => '#ffffff',
'fontFamily' => 'Merriweather Sans',
'fontSize' => '16px',
'fontWeight' => 'normal',
'textAlign' => 'center',
],
],
'type' => 'button',
],
'divider' =>
[
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
'padding' => '14px',
'borderStyle' => 'dashed',
'borderWidth' => '2px',
'borderColor' => '#37383e',
],
],
'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' => 'Merriweather Sans',
'fontSize' => '12px',
'textAlign' => 'center',
],
'link' =>
[
'fontColor' => '#4c537e',
'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' => 'full-symbol-grey',
'icons' =>
[
0 =>
[
'type' => 'socialIcon',
'iconType' => 'facebook',
'link' => 'http://www.facebook.com',
'image' => $this->social_icon_url . '/08-full-symbol-grey/Facebook.png',
'height' => '32px',
'width' => '32px',
'text' => 'Facebook',
],
1 =>
[
'type' => 'socialIcon',
'iconType' => 'twitter',
'link' => 'http://www.twitter.com',
'image' => $this->social_icon_url . '/08-full-symbol-grey/Twitter.png',
'height' => '32px',
'width' => '32px',
'text' => 'Twitter',
],
2 =>
[
'type' => 'socialIcon',
'iconType' => 'instagram',
'link' => 'http://instagram.com',
'image' => $this->social_icon_url . '/08-full-symbol-grey/Instagram.png',
'height' => '32px',
'width' => '32px',
'text' => 'Instagram',
],
],
'type' => 'social',
],
'spacer' =>
[
'styles' =>
[
'block' =>
[
'backgroundColor' => 'transparent',
'height' => '40px',
],
],
'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' => 'Merriweather Sans',
'fontSize' => '12px',
'textAlign' => 'center',
],
'link' =>
[
'fontColor' => '#949494',
'textDecoration' => 'underline',
],
],
'type' => 'header',
],
],
];
}
}