template_image_url = 'https://ps.w.org/mailpoet/assets/newsletter-templates/franks-roast-house'; $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons'; } function get() { return array( 'name' => __("Coffee Shop", 'mailpoet'), 'description' => __("Coffee and sugar in your coffee?", 'mailpoet'), 'readonly' => 1, 'thumbnail' => $this->getThumbnail(), 'body' => json_encode($this->getBody()), ); } 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' => '#ccc6c6', 'height' => '20px', ), ), ), 1 => array( 'type' => 'spacer', 'styles' => array( 'block' => array( 'backgroundColor' => 'transparent', 'height' => '40px', ), ), ), 2 => array( 'type' => 'image', 'link' => 'http://www.example.com', 'src' => $this->template_image_url . '/header-v2.jpg', 'alt' => 'Frank\'s Café', 'fullWidth' => true, 'width' => '600px', 'height' => '220px', 'styles' => array( 'block' => array( 'textAlign' => 'center', ), ), ), 3 => array( 'type' => 'spacer', 'styles' => array( 'block' => array( 'backgroundColor' => 'transparent', 'height' => '30px', ), ), ), 4 => array( 'type' => 'text', 'text' => '
Hi there [subscriber:firstname | default:coffee drinker]
Sit back and enjoy your favorite roast as you read this week\'s newsletter.
', ), 5 => array( 'type' => 'image', 'link' => 'http://example.org', 'src' => $this->template_image_url . '/coffee-grain.jpg', 'alt' => 'Coffee grain', 'fullWidth' => true, 'width' => '1599px', 'height' => '777px', 'styles' => array( 'block' => array( 'textAlign' => 'center', ), ), ), 6 => array( 'type' => 'text', 'text' => '
Visit our Center Avenue store to try the latest guest coffee from Brew Bros, a local coffee roaster. This young duo started only two years ago, but have quickly gained popularity through pop-up shops, local events, and collaborations with food trucks.
', ), 7 => array( 'type' => 'spacer', 'styles' => array( 'block' => array( 'backgroundColor' => 'transparent', 'height' => '22px', ), ), ), ), ), ), ), 1 => array( 'type' => 'container', 'orientation' => 'horizontal', 'styles' => array( 'block' => array( 'backgroundColor' => '#ebebeb', ), ), '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' => '40px', ), ), ), 1 => array( 'type' => 'text', 'text' => 'Tasting notes: A rich, caramel flavor with subtle hints of molasses. The perfect wake-up morning espresso!
Have an idea for the Next Great Sandwich? Tell us! We\'re offering free lunch for a month if you can invent an awesome new sandwich for our menu.
Simply tweet your ideas to @franksroasthouse and use #sandwichcomp and we\'ll let you know if you\'re a winner.
', ), 4 => array( 'type' => 'button', 'text' => 'Find out more', 'url' => 'http://example.org', 'styles' => array( 'block' => array( 'backgroundColor' => '#604b4b', 'borderColor' => '#443232', 'borderWidth' => '1px', 'borderRadius' => '3px', 'borderStyle' => 'solid', 'width' => '180px', 'lineHeight' => '34px', 'fontColor' => '#ffffff', 'fontFamily' => 'Arial', 'fontSize' => '14px', 'fontWeight' => 'normal', 'textAlign' => 'center', ), ), ), 5 => array( 'type' => 'spacer', 'styles' => array( 'block' => array( 'backgroundColor' => 'transparent', 'height' => '40px', ), ), ), 6 => array( 'type' => 'text', 'text' => 'Watch out Broad Street, we\'re coming to you very soon!
Keep an eye on your inbox, as we\'ll have some special offers for our email subscribers plus an exclusive launch party invite!
Frank\'s is now open even later, so you can get your caffeine fix all day (and night) long! Here\'s our new opening hours:
Unsubscribe | Manage subscription
12345 MailPoet Drive, EmailVille, 76543