template_image_url = 'https://ps.w.org/mailpoet/assets/newsletter-templates/kick_off'; $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons'; } function get() { return array( 'name' => __("Kick-Off", 'mailpoet'), 'description' => __("Sporty green template for your team or sport event.", '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' => 'image', 'link' => '', 'src' => $this->template_image_url . '/football-header.jpg', 'alt' => 'football-header', 'fullWidth' => true, 'width' => '1320px', 'height' => '540px', 'styles' => array( 'block' => array( 'textAlign' => 'center', ), ), ), 1 => array( 'type' => 'spacer', 'styles' => array( 'block' => array( 'backgroundColor' => 'transparent', 'height' => '20px', ), ), ), 2 => array( 'type' => 'text', 'text' => '
Nam convallis lorem tellus, eget sodales magna semper quis.
', ), 2 => array( 'type' => 'spacer', 'styles' => array( 'block' => array( 'backgroundColor' => 'transparent', 'height' => '20px', ), ), ), ), ), 1 => array( 'type' => 'container', 'orientation' => 'vertical', 'styles' => array( 'block' => array( 'backgroundColor' => 'transparent', ), ), 'blocks' => array( 0 => array( 'type' => 'text', 'text' => 'Nottington 0-1 East Lettersley
Little Bickburgh 2-1 Rockingham
Richmond West 1-0 Offington
Shorleton 5-2 Garphingham
Westwood 1-3 Chesham
Millham 4-2 Dunn Village
Emmington 1-1 Finham
Little Forest 0-2 Winton
Southfield 2-1 Fincham
High Ridlington 0-1 Benham
Tinton 4-6 Dortington
', ), 1 => array( 'type' => 'spacer', 'styles' => array( 'block' => array( 'backgroundColor' => 'transparent', 'height' => '20px', ), ), ), ), ), ), ), 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' => 'divider', 'styles' => array( 'block' => array( 'backgroundColor' => 'transparent', 'padding' => '25px', 'borderStyle' => 'ridge', 'borderWidth' => '5px', 'borderColor' => '#484747', ), ), ), 1 => array( 'type' => 'text', 'text' => 'Vestibulum consectetur, quam sed tristique feugiat, elit sapien molestie mi, eu dapibus eros sapien ut risus. Nullam non scelerisque ligula.
Donec vitae nunc tempus, elementum magna et, ultrices velit. Sed eu consequat sapien, at dictum diam. Sed tristique egestas justo sit amet vulputate. Proin rhoncus sem eu odio ultricies ultrices.
', ), 1 => array( 'type' => 'button', 'text' => 'READ MORE', 'url' => 'http://www.google.co.uk', 'styles' => array( 'block' => array( 'backgroundColor' => '#61cc5a', 'borderColor' => '#2f6a2c', 'borderWidth' => '3px', 'borderRadius' => '5px', 'borderStyle' => 'solid', 'width' => '180px', 'lineHeight' => '40px', 'fontColor' => '#252525', 'fontFamily' => 'Lucida', 'fontSize' => '14px', 'fontWeight' => 'bold', 'textAlign' => 'left', ), ), ), 2 => array( 'type' => 'spacer', 'styles' => array( 'block' => array( 'backgroundColor' => 'transparent', 'height' => '20px', ), ), ), ), ), 1 => array( 'type' => 'container', 'orientation' => 'vertical', 'styles' => array( 'block' => array( 'backgroundColor' => 'transparent', ), ), 'blocks' => array( 0 => array( 'type' => 'text', 'text' => 'Aenean a arcu egestas, tincidunt nisi ut, mollis arcu. Sed eget dapibus nisi. Quisque tortor mi, consequat ut erat et, porta imperdiet dui.
Mauris vestibulum tortor ut justo luctus blandit. Vestibulum mollis sollicitudin tempor. Duis gravida, dui quis eleifend scelerisque, libero orci semper metus, sed maximus odio tortor ac sem.
', ), 1 => array( 'type' => 'button', 'text' => 'READ MORE', 'url' => 'https://www.google.co.uk', 'styles' => array( 'block' => array( 'backgroundColor' => '#61cc5a', 'borderColor' => '#2f6a2c', 'borderWidth' => '3px', 'borderRadius' => '5px', 'borderStyle' => 'solid', 'width' => '180px', 'lineHeight' => '40px', 'fontColor' => '#252525', 'fontFamily' => 'Lucida', 'fontSize' => '14px', 'fontWeight' => 'bold', 'textAlign' => 'left', ), ), ), 2 => array( 'type' => 'spacer', 'styles' => array( 'block' => array( 'backgroundColor' => 'transparent', 'height' => '20px', ), ), ), ), ), ), ), 4 => array( 'type' => 'container', 'orientation' => 'horizontal', 'styles' => array( 'block' => array( 'backgroundColor' => '#8aeb83', ), ), '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' => '28px', ), ), ), 1 => array( 'type' => 'text', 'text' => 'Donec imperdiet
Tortor tincidunt, luctus libero vel, dapibus quam
Donec vulputate tempor auctor purus sit amet cursus ultricies
', ), 3 => array( 'type' => 'button', 'text' => 'SHOP', 'url' => '', 'styles' => array( 'block' => array( 'backgroundColor' => '#61cc5a', 'borderColor' => '#2f6a2c', 'borderWidth' => '3px', 'borderRadius' => '5px', 'borderStyle' => 'solid', 'width' => '180px', 'lineHeight' => '40px', 'fontColor' => '#252525', 'fontFamily' => 'Lucida', 'fontSize' => '14px', 'fontWeight' => 'bold', 'textAlign' => 'left', ), ), ), ), ), 2 => array( 'type' => 'container', 'orientation' => 'vertical', 'styles' => array( 'block' => array( 'backgroundColor' => 'transparent', ), ), 'blocks' => array( 0 => array( 'type' => 'spacer', 'styles' => array( 'block' => array( 'backgroundColor' => 'transparent', 'height' => '20px', ), ), ), 1 => array( 'type' => 'image', 'link' => '', 'src' => $this->template_image_url . '/plant-pot.jpg', 'alt' => 'plant-pot', 'fullWidth' => false, 'width' => '400px', 'height' => '400px', 'styles' => array( 'block' => array( 'textAlign' => 'center', ), ), ), 2 => array( 'type' => 'text', 'text' => 'Libero tortor aliquet metus eget efficitur est lorem sit amet purus
', ), 3 => array( 'type' => 'button', 'text' => 'SHOP', 'url' => '', 'styles' => array( 'block' => array( 'backgroundColor' => '#61cc5a', 'borderColor' => '#2f6a2c', 'borderWidth' => '3px', 'borderRadius' => '5px', 'borderStyle' => 'solid', 'width' => '180px', 'lineHeight' => '40px', 'fontColor' => '#252525', 'fontFamily' => 'Lucida', 'fontSize' => '14px', 'fontWeight' => 'bold', 'textAlign' => 'left', ), ), ), ), ), ), ), 6 => 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' => '40px', ), ), ), 1 => array( 'type' => 'footer', 'text' => 'Unsubscribe | Manage subscription