template_image_url = 'https://ps.w.org/mailpoet/assets/newsletter-templates/sunglasses'; $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons'; } function get() { return array( 'name' => __("Sunglasses", 'mailpoet'), 'categories' => json_encode(array('welcome', 'sample')), 'readonly' => 1, 'thumbnail' => $this->getThumbnail(), 'body' => json_encode($this->getBody()), ); } private function getThumbnail() { return $this->template_image_url . '/sunglasses.jpg'; } private function getBody() { return array ( 'content' => array ( 'type' => 'container', 'orientation' => 'vertical', 'styles' => array ( 'block' => array ( 'backgroundColor' => 'transparent', ), ), 'blocks' => array ( 0 => array ( 'type' => 'container', 'orientation' => 'horizontal', 'styles' => array ( 'block' => array ( 'backgroundColor' => 'transparent', ), ), 'blocks' => array ( 0 => array ( 'type' => 'container', 'orientation' => 'vertical', 'styles' => array ( 'block' => array ( 'backgroundColor' => 'transparent', ), ), 'blocks' => array ( 0 => array ( 'type' => 'spacer', 'styles' => array ( 'block' => array ( 'backgroundColor' => 'transparent', 'height' => '30px', ), ), ), 1 => array ( 'type' => 'image', 'link' => '', 'src' => $this->template_image_url . '/Glasses-Logo.jpg', 'alt' => 'Glasses-Logo', 'fullWidth' => false, 'width' => '250px', 'height' => '66px', 'styles' => array ( 'block' => array ( 'textAlign' => 'center', ), ), ), 2 => array ( 'type' => 'divider', 'styles' => array ( 'block' => array ( 'backgroundColor' => '#ffffff', 'padding' => '17px', 'borderStyle' => 'solid', 'borderWidth' => '2px', 'borderColor' => '#f8b849', ), ), ), 3 => array ( 'type' => 'spacer', 'styles' => array ( 'block' => array ( 'backgroundColor' => 'transparent', 'height' => '30px', ), ), ), 4 => array ( 'type' => 'image', 'link' => '', 'src' => $this->template_image_url . '/Glasses-Header-2.jpg', 'alt' => 'Glasses-Header-2', 'fullWidth' => true, 'width' => '1280px', 'height' => '116px', 'styles' => array ( 'block' => array ( 'textAlign' => 'center', ), ), ), 5 => array ( 'type' => 'spacer', 'styles' => array ( 'block' => array ( 'backgroundColor' => 'transparent', 'height' => '30px', ), ), ), ), ), ), ), 1 => array ( 'type' => 'container', 'orientation' => 'horizontal', 'styles' => array ( 'block' => array ( 'backgroundColor' => 'transparent', ), ), 'blocks' => array ( 0 => array ( 'type' => 'container', 'orientation' => 'vertical', 'styles' => array ( 'block' => array ( 'backgroundColor' => 'transparent', ), ), 'blocks' => array ( 0 => array ( 'type' => 'text', 'text' => '
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur nec nisi quis ex pulvinar molestie. Sed pulvinar placerat justo eu viverra.
', ), 2 => array ( 'type' => 'button', 'text' => 'Choose These Frames', 'url' => '', 'styles' => array ( 'block' => array ( 'backgroundColor' => '#f8b849', 'borderColor' => '#0074a2', 'borderWidth' => '0px', 'borderRadius' => '0px', 'borderStyle' => 'solid', 'width' => '195px', 'lineHeight' => '40px', 'fontColor' => '#ffffff', 'fontFamily' => 'Arial', 'fontSize' => '16px', 'fontWeight' => 'normal', 'textAlign' => 'center', ), ), ), 3 => array ( 'type' => 'image', 'link' => '', 'src' => $this->template_image_url . '/Glasses-Images-2.jpg', 'alt' => 'Glasses-Images-2', 'fullWidth' => true, 'width' => '1280px', 'height' => '650px', 'styles' => array ( 'block' => array ( 'textAlign' => 'center', ), ), ), 4 => array ( 'type' => 'text', 'text' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur nec nisi quis ex pulvinar molestie. Sed pulvinar placerat justo eu viverra.
', ), 5 => array ( 'type' => 'button', 'text' => 'Choose These Frames', 'url' => '', 'styles' => array ( 'block' => array ( 'backgroundColor' => '#f8b849', 'borderColor' => '#0074a2', 'borderWidth' => '0px', 'borderRadius' => '0px', 'borderStyle' => 'solid', 'width' => '195px', 'lineHeight' => '40px', 'fontColor' => '#ffffff', 'fontFamily' => 'Arial', 'fontSize' => '16px', 'fontWeight' => 'normal', 'textAlign' => 'center', ), ), ), 6 => array ( 'type' => 'image', 'link' => '', 'src' => $this->template_image_url . '/Glasses-Images-3.jpg', 'alt' => 'Glasses-Images-3', 'fullWidth' => true, 'width' => '1280px', 'height' => '650px', 'styles' => array ( 'block' => array ( 'textAlign' => 'center', ), ), ), 7 => array ( 'type' => 'text', 'text' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur nec nisi quis ex pulvinar molestie. Sed pulvinar placerat justo eu viverra.
', ), 8 => array ( 'type' => 'button', 'text' => 'Choose These Frames', 'url' => '', 'styles' => array ( 'block' => array ( 'backgroundColor' => '#f8b849', 'borderColor' => '#0074a2', 'borderWidth' => '0px', 'borderRadius' => '0px', 'borderStyle' => 'solid', 'width' => '195px', 'lineHeight' => '40px', 'fontColor' => '#ffffff', 'fontFamily' => 'Arial', 'fontSize' => '16px', 'fontWeight' => 'normal', 'textAlign' => 'center', ), ), ), 9 => array ( 'type' => 'divider', 'styles' => array ( 'block' => array ( 'backgroundColor' => '#ffffff', 'padding' => '34.5px', 'borderStyle' => 'solid', 'borderWidth' => '2px', 'borderColor' => '#f8b849', ), ), ), ), ), ), ), 3 => array ( 'type' => 'container', 'orientation' => 'horizontal', 'styles' => array ( 'block' => array ( 'backgroundColor' => 'transparent', ), ), 'blocks' => array ( 0 => array ( 'type' => 'container', 'orientation' => 'vertical', 'styles' => array ( 'block' => array ( 'backgroundColor' => 'transparent', ), ), 'blocks' => array ( 0 => array ( 'type' => 'image', 'link' => '', 'src' => $this->template_image_url . '/Glasses-Header.jpg', 'alt' => 'Glasses-Header', 'fullWidth' => true, 'width' => '640px', 'height' => '920px', 'styles' => array ( 'block' => array ( 'textAlign' => 'center', ), ), ), ), ), 1 => array ( 'type' => 'container', 'orientation' => 'vertical', 'styles' => array ( 'block' => array ( 'backgroundColor' => 'transparent', ), ), 'blocks' => array ( 0 => array ( 'type' => 'spacer', 'styles' => array ( 'block' => array ( 'backgroundColor' => 'transparent', 'height' => '60px', ), ), ), 1 => array ( 'type' => 'text', 'text' => 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur nec nisi quis ex pulvinar molestie. Sed pulvinar placerat justo eu viverra. Pellentesque in interdum eros, a venenatis velit.
Fusce finibus convallis augue, ut viverra felis placerat in. Curabitur et commodo ipsum. Mauris tellus metus, tristique vel sollicitudin ut, malesuada in augue.
', ), 2 => array ( 'type' => 'button', 'text' => 'Find Out More', 'url' => '', 'styles' => array ( 'block' => array ( 'backgroundColor' => '#f8b849', 'borderColor' => '#0074a2', 'borderWidth' => '0px', 'borderRadius' => '0px', 'borderStyle' => 'solid', 'width' => '137px', 'lineHeight' => '40px', 'fontColor' => '#ffffff', 'fontFamily' => 'Arial', 'fontSize' => '16px', 'fontWeight' => 'normal', 'textAlign' => 'left', ), ), ), ), ), ), ), 4 => array ( 'type' => 'container', 'orientation' => 'horizontal', 'styles' => array ( 'block' => array ( 'backgroundColor' => '#ffffff', ), ), 'blocks' => array ( 0 => array ( 'type' => 'container', 'orientation' => 'vertical', 'styles' => array ( 'block' => array ( 'backgroundColor' => 'transparent', ), ), 'blocks' => array ( 0 => array ( 'type' => 'divider', 'styles' => array ( 'block' => array ( 'backgroundColor' => '#ffffff', 'padding' => '34.5px', 'borderStyle' => 'solid', 'borderWidth' => '2px', 'borderColor' => '#f8b849', ), ), ), ), ), ), ), 5 => array ( 'type' => 'container', 'orientation' => 'horizontal', 'styles' => array ( 'block' => array ( 'backgroundColor' => 'transparent', ), ), 'blocks' => array ( 0 => array ( 'type' => 'container', 'orientation' => 'vertical', 'styles' => array ( 'block' => array ( 'backgroundColor' => 'transparent', ), ), 'blocks' => array ( 0 => array ( 'type' => 'text', 'text' => 'We\'re just a click or a phone call away.
Unsubscribe | Manage your subscription
Add your postal address here!