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' => '

Here\'s what we sent you

', ), ), ), ), ), 2 => 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-Images-1.jpg', 'alt' => 'Glasses-Images-1', 'fullWidth' => true, 'width' => '1280px', 'height' => '650px', 'styles' => array ( 'block' => array ( 'textAlign' => 'center', ), ), ), 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.

', ), 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' => '

Our Summer Range Is Here

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' => '

Got any questions or need some help?

We\'re just a click or a phone call away.

Call Us: 08856877854

', ), 1 => array ( 'type' => 'divider', 'styles' => array ( 'block' => array ( 'backgroundColor' => '#ffffff', 'padding' => '23.5px', 'borderStyle' => 'solid', 'borderWidth' => '2px', 'borderColor' => '#f8b849', ), ), ), ), ), ), ), 6 => 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' => 'social', 'iconSet' => 'full-symbol-black', 'icons' => array ( 0 => array ( 'type' => 'socialIcon', 'iconType' => 'facebook', 'link' => 'http://www.facebook.com', 'image' => $this->social_icon_url . '/07-full-symbol-black/Facebook.png?mailpoet_version=3.0.0-rc.2.0.0', 'height' => '32px', 'width' => '32px', 'text' => 'Facebook', ), 1 => array ( 'type' => 'socialIcon', 'iconType' => 'twitter', 'link' => 'http://www.twitter.com', 'image' => $this->social_icon_url . '/07-full-symbol-black/Twitter.png?mailpoet_version=3.0.0-rc.2.0.0', 'height' => '32px', 'width' => '32px', 'text' => 'Twitter', ), 2 => array ( 'type' => 'socialIcon', 'iconType' => 'instagram', 'link' => 'http://instagram.com', 'image' => $this->social_icon_url . '/07-full-symbol-black/Instagram.png?mailpoet_version=3.0.0-rc.2.0.0', 'height' => '32px', 'width' => '32px', 'text' => 'Instagram', ), 3 => array ( 'type' => 'socialIcon', 'iconType' => 'email', 'link' => '', 'image' => $this->social_icon_url . '/07-full-symbol-black/Email.png?mailpoet_version=3.0.0-rc.2.0.0', 'height' => '32px', 'width' => '32px', 'text' => 'Email', ), ), ), 1 => array ( 'type' => 'text', 'text' => '

Unsubscribe | Manage your subscription
Add your postal address here!

', ), ), ), ), ), ), ), 'globalStyles' => array ( 'text' => array ( 'fontColor' => '#000000', 'fontFamily' => 'Arial', 'fontSize' => '15px', ), 'h1' => array ( 'fontColor' => '#111111', 'fontFamily' => 'Arial', 'fontSize' => '30px', ), 'h2' => array ( 'fontColor' => '#222222', 'fontFamily' => 'Arial', 'fontSize' => '24px', ), 'h3' => array ( 'fontColor' => '#333333', 'fontFamily' => 'Arial', 'fontSize' => '22px', ), 'link' => array ( 'fontColor' => '#21759B', 'textDecoration' => 'underline', ), 'wrapper' => array ( 'backgroundColor' => '#ffffff', ), 'body' => array ( 'backgroundColor' => '#ffffff', ), ), ); } }