template_image_url = 'https://ps.w.org/mailpoet/assets/newsletter-templates/synagogue'; $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons'; } public function get() { return [ 'name' => __("Synagogue", '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' => '#2b3d5e', ], ], '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' => 'header', 'text' => '
' . __("View this in your browser.", 'mailpoet') . '
', 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', ], 'text' => [ 'fontColor' => '#222222', 'fontFamily' => 'Merriweather Sans', 'fontSize' => '12px', 'textAlign' => 'left', ], 'link' => [ 'fontColor' => '#7386a7', 'textDecoration' => 'underline', ], ], ], ], ], ], ], 1 => [ 'type' => 'container', 'columnLayout' => false, 'orientation' => 'horizontal', 'image' => [ 'src' => null, 'display' => 'scale', ], 'styles' => [ 'block' => [ 'backgroundColor' => '#384e76', ], ], 'blocks' => [ 0 => [ 'type' => 'container', 'columnLayout' => false, 'orientation' => 'vertical', 'image' => [ 'src' => null, 'display' => 'scale', ], 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', ], ], 'blocks' => [ 0 => [ 'type' => 'divider', 'styles' => [ 'block' => [ 'backgroundColor' => '#04aeb9', 'padding' => '7.5px', 'borderStyle' => 'dashed', 'borderWidth' => '2px', 'borderColor' => '#0d7e85', ], ], ], 1 => [ 'type' => 'spacer', 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', 'height' => '20px', ], ], ], ], ], ], ], 2 => [ 'type' => 'container', 'columnLayout' => '1_2', 'orientation' => 'horizontal', 'image' => [ 'src' => null, 'display' => 'scale', ], 'styles' => [ 'block' => [ 'backgroundColor' => '#384e76', ], ], '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 . '/Synagogue-Logo.png', 'alt' => 'Synagogue-Logo', 'fullWidth' => false, 'width' => '180px', 'height' => '208px', 'styles' => [ 'block' => [ 'textAlign' => 'left', ], ], ], ], ], 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' => '27px', ], ], ], 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', ], ], ], ], ], ], ], 3 => [ 'type' => 'container', 'columnLayout' => '1_2', 'orientation' => 'horizontal', 'image' => [ 'src' => $this->template_image_url . '/Synagogue-Header-2.jpg', 'display' => 'scale', ], 'styles' => [ 'block' => [ 'backgroundColor' => '#384e76', ], ], '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' => '140px', ], ], ], ], ], 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' => '44px', ], ], ], 1 => [ 'type' => 'text', 'text' => 'This month we\'ll be discussing important topics around our faith, and highlighting some events that you may be interested in.
', ], 2 => [ 'type' => 'spacer', 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', 'height' => '38px', ], ], ], 3 => [ 'type' => 'text', 'text' => 'S P E C I A L E V E N T
An afternoon of comedy and music with Daniel Cainer. This multi-award-winning master-songwriter and great musician brings our family trees to life.
', ], 4 => [ 'type' => 'button', 'text' => 'Tickets available here', 'url' => '', 'styles' => [ 'block' => [ 'backgroundColor' => '#04aeb9', 'borderColor' => '#0074a2', 'borderWidth' => '0px', 'borderRadius' => '0px', 'borderStyle' => 'solid', 'width' => '175px', 'lineHeight' => '38px', 'fontColor' => '#093c3f', 'fontFamily' => 'Merriweather Sans', 'fontSize' => '14px', 'fontWeight' => 'bold', 'textAlign' => 'left', ], ], ], 5 => [ 'type' => 'spacer', 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', 'height' => '43px', ], ], ], ], ], ], ], 4 => [ 'type' => 'container', 'columnLayout' => '1_2', 'orientation' => 'horizontal', 'image' => [ 'src' => $this->template_image_url . '/Synagogue-Back-1.jpg', 'display' => 'tile', ], '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', ], ], ], 1 => [ 'type' => 'image', 'link' => '', 'src' => $this->template_image_url . '/male-18.jpg', 'alt' => 'male-18', 'fullWidth' => false, 'width' => '150px', 'height' => '360px', 'styles' => [ 'block' => [ 'textAlign' => 'right', ], ], ], 2 => [ 'type' => 'text', 'text' => 'Ariel Abel
Princes Road Synagogue Rabbi
', ], 3 => [ 'type' => 'button', 'text' => 'Get in touch', 'url' => '', 'styles' => [ 'block' => [ 'backgroundColor' => '#04aeb9', 'borderColor' => '#0074a2', 'borderWidth' => '0px', 'borderRadius' => '0px', 'borderStyle' => 'solid', 'width' => '90px', 'lineHeight' => '30px', 'fontColor' => '#093c3f', 'fontFamily' => 'Merriweather Sans', 'fontSize' => '12px', 'fontWeight' => 'bold', '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' => '30px', ], ], ], 1 => [ 'type' => 'text', 'text' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed pellentesque magna erat, vitae ultricies eros porttitor eleifend. Fusce luctus accumsan risus, at rhoncus ante vehicula in. Praesent ut ultricies ipsum. Sed lacus dolor, laoreet nec tincidunt ut, commodo nec augue. In dignissim justo eget ante facilisis ornare.
Cras in lacus ac lectus hendrerit porta. Morbi pretium id nisi eget placerat. Integer nec quam nec augue luctus facilisis. Nam sollicitudin velit nec risus mattis, quis porttitor tortor consequat. Vivamus nec justo vel lectus pharetra volutpat.
Quisque eget vestibulum quam, eu fermentum ipsum.
', ], 2 => [ 'type' => 'spacer', 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', 'height' => '20px', ], ], ], ], ], ], ], 5 => [ 'type' => 'container', 'columnLayout' => false, 'orientation' => 'horizontal', 'image' => [ 'src' => null, 'display' => 'scale', ], 'styles' => [ 'block' => [ 'backgroundColor' => '#384e76', ], ], 'blocks' => [ 0 => [ 'type' => 'container', 'columnLayout' => false, 'orientation' => 'vertical', 'image' => [ 'src' => null, 'display' => 'scale', ], 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', ], ], 'blocks' => [ 0 => [ 'type' => 'divider', 'styles' => [ 'block' => [ 'backgroundColor' => '#04aeb9', 'padding' => '6.5px', 'borderStyle' => 'dashed', 'borderWidth' => '2px', 'borderColor' => '#04aeb9', ], ], ], ], ], ], ], 6 => [ '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' => '30px', ], ], ], 1 => [ 'type' => 'text', 'text' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed pellentesque magna erat, vitae ultricies eros porttitor eleifend.
', ], ], ], ], ], 7 => [ '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 . '/Synagogue-Images-1.jpg', 'alt' => 'Synagogue-Images-1', 'fullWidth' => false, 'width' => '800px', 'height' => '500px', 'styles' => [ 'block' => [ 'textAlign' => 'center', ], ], ], 1 => [ 'type' => 'text', 'text' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed pellentesque magna erat.
', ], 2 => [ 'type' => 'button', 'text' => 'Read more', 'url' => '', 'styles' => [ 'block' => [ 'backgroundColor' => '#04aeb9', 'borderColor' => '#0074a2', 'borderWidth' => '0px', 'borderRadius' => '0px', 'borderStyle' => 'solid', 'width' => '81px', 'lineHeight' => '30px', 'fontColor' => '#093c3f', 'fontFamily' => 'Merriweather Sans', 'fontSize' => '12px', 'fontWeight' => 'bold', 'textAlign' => 'left', ], ], ], ], ], 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 . '/Synagogue-Images-2.jpg', 'alt' => 'Synagogue-Images-2', 'fullWidth' => false, 'width' => '800px', 'height' => '500px', 'styles' => [ 'block' => [ 'textAlign' => 'center', ], ], ], 1 => [ 'type' => 'text', 'text' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed pellentesque magna erat.
', ], 2 => [ 'type' => 'button', 'text' => 'Read more', 'url' => '', 'styles' => [ 'block' => [ 'backgroundColor' => '#04aeb9', 'borderColor' => '#0074a2', 'borderWidth' => '0px', 'borderRadius' => '0px', 'borderStyle' => 'solid', 'width' => '81px', 'lineHeight' => '30px', 'fontColor' => '#093c3f', 'fontFamily' => 'Merriweather Sans', 'fontSize' => '12px', 'fontWeight' => 'bold', 'textAlign' => 'left', ], ], ], ], ], 2 => [ '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 . '/Synagogue-Images-3.jpg', 'alt' => 'Synagogue-Images-3', 'fullWidth' => false, 'width' => '800px', 'height' => '500px', 'styles' => [ 'block' => [ 'textAlign' => 'center', ], ], ], 1 => [ 'type' => 'text', 'text' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed pellentesque magna erat.
', ], 2 => [ 'type' => 'button', 'text' => 'Read more', 'url' => '', 'styles' => [ 'block' => [ 'backgroundColor' => '#04aeb9', 'borderColor' => '#0074a2', 'borderWidth' => '0px', 'borderRadius' => '0px', 'borderStyle' => 'solid', 'width' => '81px', 'lineHeight' => '30px', 'fontColor' => '#093c3f', 'fontFamily' => 'Merriweather Sans', 'fontSize' => '12px', 'fontWeight' => 'bold', 'textAlign' => 'left', ], ], ], ], ], ], ], 8 => [ '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' => '20px', ], ], ], ], ], ], ], 9 => [ 'type' => 'container', 'columnLayout' => false, 'orientation' => 'horizontal', 'image' => [ 'src' => null, 'display' => 'scale', ], 'styles' => [ 'block' => [ 'backgroundColor' => '#2b3d5e', ], ], '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', ], ], ], ], ], ], ], 10 => [ 'type' => 'container', 'columnLayout' => false, 'orientation' => 'horizontal', 'image' => [ 'src' => null, 'display' => 'scale', ], 'styles' => [ 'block' => [ 'backgroundColor' => '#04aeb9', ], ], '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' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed pellentesque magna erat, vitae ultricies eros porttitor eleifend.
', ], 2 => [ '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', ], ], ], 3 => [ 'type' => 'spacer', 'styles' => [ 'block' => [ 'backgroundColor' => 'transparent', 'height' => '20px', ], ], ], ], ], ], ], 11 => [ 'type' => 'container', 'columnLayout' => false, 'orientation' => 'horizontal', 'image' => [ 'src' => null, 'display' => 'scale', ], 'styles' => [ 'block' => [ 'backgroundColor' => '#2b3d5e', ], ], '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' => '1_2', 'orientation' => 'horizontal', 'image' => [ 'src' => null, 'display' => 'scale', ], 'styles' => [ 'block' => [ 'backgroundColor' => '#2b3d5e', ], ], '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 . '/Synagogue-Logo.png', 'alt' => 'Synagogue-Logo', 'fullWidth' => false, 'width' => '180px', 'height' => '208px', 'styles' => [ 'block' => [ 'textAlign' => 'left', ], ], ], ], ], 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' => 'footer', 'text' => '' . __("Unsubscribe", 'mailpoet') . ' | ' . __("Manage your subscription", 'mailpoet') . '
' . __("Add your postal address here!", 'mailpoet') . '
' . __("Unsubscribe", 'mailpoet') . ' | ' . __("Manage your subscription", 'mailpoet') . '
' . __("Add your postal address here!", 'mailpoet') . '