AppWelcome.php
1 year ago
Avocado.php
1 year ago
Birds.php
1 year ago
BirthdayCelebration.php
2 months ago
BookStoreWithCoupon.php
1 year ago
BrandingAgencyNews.php
1 year ago
BuddhistTemple.php
1 year ago
Charity.php
1 year ago
CityLocalNews.php
1 year ago
ClearNews.php
1 year ago
Coffee.php
1 year ago
College.php
1 year ago
ComputerRepair.php
1 year ago
ConfirmInterestBeforeDeactivation.php
2 years ago
ConfirmInterestOrUnsubscribe.php
2 years ago
DogFood.php
1 year ago
Drone.php
1 year ago
Engineering.php
1 year ago
Faith.php
1 year ago
FarmersMarket.php
1 year ago
FashionBlog.php
1 year ago
FashionBlogA.php
1 year ago
FashionShop.php
1 year ago
FashionStore.php
1 year ago
FestivalEvent.php
1 year ago
Fitness.php
1 year ago
FlowersWithCoupon.php
1 year ago
FoodBox.php
1 year ago
GiftWelcome.php
1 year ago
Guitarist.php
1 year ago
HealthyFoodBlog.php
1 year ago
Hotels.php
1 year ago
IndustryConference.php
1 year ago
JazzClub.php
1 year ago
KidsClothing.php
1 year ago
LifestyleBlogA.php
1 year ago
LifestyleBlogB.php
1 year ago
Minimal.php
1 year ago
ModularStyleStories.php
1 year ago
Mosque.php
1 year ago
Motor.php
1 year ago
Music.php
1 year ago
NewsDay.php
1 year ago
NewsletterBlank121Column.php
1 year ago
NewsletterBlank12Column.php
1 year ago
NewsletterBlank13Column.php
1 year ago
NewsletterBlank1Column.php
1 year ago
NewspaperTraditional.php
1 year ago
NotSoMedium.php
1 year ago
Painter.php
1 year ago
Phone.php
1 year ago
Photography.php
1 year ago
PieceOfCake.php
1 year ago
Poet.php
1 year ago
PostNotificationsBlank1Column.php
1 year ago
PrimarySchool.php
1 year ago
RealEstate.php
1 year ago
RenewableEnergy.php
1 year ago
Retro.php
1 year ago
RetroComputingMagazine.php
1 year ago
RockBand.php
1 year ago
RssSimpleNews.php
1 year ago
ScienceWeekly.php
1 year ago
Shoes.php
1 year ago
SimpleText.php
2 years ago
Software.php
1 year ago
Sunglasses.php
1 year ago
Synagogue.php
1 year ago
TakeAHike.php
1 year ago
Vlogger.php
1 year ago
WelcomeBlank12Column.php
1 year ago
WelcomeBlank1Column.php
1 year ago
WideStoryLayout.php
1 year ago
WineCity.php
1 year ago
WordPressTheme.php
1 year ago
WorldCup.php
1 year ago
YogaStudio.php
1 year ago
index.php
3 years ago
WorldCup.php
790 lines
| 1 | <?php // phpcs:ignore SlevomatCodingStandard.TypeHints.DeclareStrictTypes.DeclareStrictTypesMissing |
| 2 | |
| 3 | namespace MailPoet\Config\PopulatorData\Templates; |
| 4 | |
| 5 | if (!defined('ABSPATH')) exit; |
| 6 | |
| 7 | |
| 8 | class WorldCup { |
| 9 | |
| 10 | private $template_image_url; |
| 11 | private $social_icon_url; |
| 12 | |
| 13 | public function __construct( |
| 14 | $assets_url |
| 15 | ) { |
| 16 | $this->template_image_url = 'https://ps.w.org/mailpoet/assets/newsletter-templates/world_cup'; |
| 17 | $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons'; |
| 18 | } |
| 19 | |
| 20 | public function get() { |
| 21 | return [ |
| 22 | 'name' => __("World Cup", 'mailpoet'), |
| 23 | 'categories' => json_encode(['standard', 'all']), |
| 24 | 'readonly' => 1, |
| 25 | 'thumbnail' => $this->getThumbnail(), |
| 26 | 'body' => json_encode($this->getBody()), |
| 27 | ]; |
| 28 | } |
| 29 | |
| 30 | private function getBody() { |
| 31 | return [ |
| 32 | 'content' => [ |
| 33 | 'type' => 'container', |
| 34 | 'orientation' => 'vertical', |
| 35 | 'styles' => [ |
| 36 | 'block' => [ |
| 37 | 'backgroundColor' => 'transparent', |
| 38 | ], |
| 39 | ], |
| 40 | 'blocks' => [ |
| 41 | [ |
| 42 | 'type' => 'container', |
| 43 | 'orientation' => 'horizontal', |
| 44 | 'styles' => [ |
| 45 | 'block' => [ |
| 46 | 'backgroundColor' => '#222222', |
| 47 | ], |
| 48 | ], |
| 49 | 'blocks' => [ |
| 50 | [ |
| 51 | 'type' => 'container', |
| 52 | 'orientation' => 'vertical', |
| 53 | 'styles' => [ |
| 54 | 'block' => [ |
| 55 | 'backgroundColor' => 'transparent', |
| 56 | ], |
| 57 | ], |
| 58 | 'blocks' => [ |
| 59 | [ |
| 60 | 'type' => 'spacer', |
| 61 | 'styles' => [ |
| 62 | 'block' => [ |
| 63 | 'backgroundColor' => 'transparent', |
| 64 | 'height' => '20px', |
| 65 | ], |
| 66 | ], |
| 67 | ], |
| 68 | [ |
| 69 | 'type' => 'image', |
| 70 | 'link' => '', |
| 71 | 'src' => $this->template_image_url . '/Sports-Football-Header.png', |
| 72 | 'alt' => 'Sports-Football-Header', |
| 73 | 'fullWidth' => true, |
| 74 | 'width' => '1280px', |
| 75 | 'height' => '220px', |
| 76 | 'styles' => [ |
| 77 | 'block' => [ |
| 78 | 'textAlign' => 'center', |
| 79 | ], |
| 80 | ], |
| 81 | ], |
| 82 | [ |
| 83 | 'type' => 'image', |
| 84 | 'link' => '', |
| 85 | 'src' => $this->template_image_url . '/Sports-Football-Divider-1.png', |
| 86 | 'alt' => 'Sports-Football-Divider-1', |
| 87 | 'fullWidth' => true, |
| 88 | 'width' => '1280px', |
| 89 | 'height' => '50px', |
| 90 | 'styles' => [ |
| 91 | 'block' => [ |
| 92 | 'textAlign' => 'center', |
| 93 | ], |
| 94 | ], |
| 95 | ], |
| 96 | ], |
| 97 | ], |
| 98 | ], |
| 99 | ], |
| 100 | [ |
| 101 | 'type' => 'container', |
| 102 | 'orientation' => 'horizontal', |
| 103 | 'styles' => [ |
| 104 | 'block' => [ |
| 105 | 'backgroundColor' => '#da6110', |
| 106 | ], |
| 107 | ], |
| 108 | 'blocks' => [ |
| 109 | [ |
| 110 | 'type' => 'container', |
| 111 | 'orientation' => 'vertical', |
| 112 | 'styles' => [ |
| 113 | 'block' => [ |
| 114 | 'backgroundColor' => 'transparent', |
| 115 | ], |
| 116 | ], |
| 117 | 'blocks' => [ |
| 118 | [ |
| 119 | 'type' => 'spacer', |
| 120 | 'styles' => [ |
| 121 | 'block' => [ |
| 122 | 'backgroundColor' => 'transparent', |
| 123 | 'height' => '20px', |
| 124 | ], |
| 125 | ], |
| 126 | ], |
| 127 | [ |
| 128 | 'type' => 'text', |
| 129 | 'text' => '<p><strong><span style="color: #ffffff; font-size: 14px;">Issue #1</span></strong></p>', |
| 130 | ], |
| 131 | ], |
| 132 | ], |
| 133 | [ |
| 134 | 'type' => 'container', |
| 135 | 'orientation' => 'vertical', |
| 136 | 'styles' => [ |
| 137 | 'block' => [ |
| 138 | 'backgroundColor' => 'transparent', |
| 139 | ], |
| 140 | ], |
| 141 | 'blocks' => [ |
| 142 | [ |
| 143 | 'type' => 'text', |
| 144 | 'text' => '<p style="text-align: right;"><a href="[link:newsletter_view_in_browser_url]" target="_blank" style="color: #ffffff; font-size: 14px; text-align: center;">View In Browser</a></p> |
| 145 | <p style="text-align: right;"><span style="color: #ffffff; text-align: start;">Monday 1st January 2017</span></p>', |
| 146 | ], |
| 147 | ], |
| 148 | ], |
| 149 | ], |
| 150 | ], |
| 151 | [ |
| 152 | 'type' => 'container', |
| 153 | 'orientation' => 'horizontal', |
| 154 | 'styles' => [ |
| 155 | 'block' => [ |
| 156 | 'backgroundColor' => '#ffffff', |
| 157 | ], |
| 158 | ], |
| 159 | 'blocks' => [ |
| 160 | [ |
| 161 | 'type' => 'container', |
| 162 | 'orientation' => 'vertical', |
| 163 | 'styles' => [ |
| 164 | 'block' => [ |
| 165 | 'backgroundColor' => 'transparent', |
| 166 | ], |
| 167 | ], |
| 168 | 'blocks' => [ |
| 169 | [ |
| 170 | 'type' => 'spacer', |
| 171 | 'styles' => [ |
| 172 | 'block' => [ |
| 173 | 'backgroundColor' => '#da6110', |
| 174 | 'height' => '20px', |
| 175 | ], |
| 176 | ], |
| 177 | ], |
| 178 | [ |
| 179 | 'type' => 'image', |
| 180 | 'link' => '', |
| 181 | 'src' => $this->template_image_url . '/Sports-Football-Header-1.png', |
| 182 | 'alt' => 'Sports-Football-Header', |
| 183 | 'fullWidth' => true, |
| 184 | 'width' => '1280px', |
| 185 | 'height' => '580px', |
| 186 | 'styles' => [ |
| 187 | 'block' => [ |
| 188 | 'textAlign' => 'center', |
| 189 | ], |
| 190 | ], |
| 191 | ], |
| 192 | [ |
| 193 | 'type' => 'spacer', |
| 194 | 'styles' => [ |
| 195 | 'block' => [ |
| 196 | 'backgroundColor' => 'transparent', |
| 197 | 'height' => '30px', |
| 198 | ], |
| 199 | ], |
| 200 | ], |
| 201 | [ |
| 202 | 'type' => 'text', |
| 203 | 'text' => '<h2 style="text-align: left;"><strong>Welcome Back!</strong></h2> |
| 204 | <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam consequat lorem at est congue, non consequat lacus iaculis. Integer euismod mauris velit, vel ultrices nibh bibendum quis. Donec eget fermentum magna.</p> |
| 205 | <p></p> |
| 206 | <p>Nullam congue dui lectus, quis pellentesque orci placerat eu. Fusce semper neque a mi aliquet vulputate sed sit amet nisi. Etiam sed nisl nec orci pretium lacinia eget in turpis. Maecenas in posuere justo. Vestibulum et sapien vestibulum, imperdiet neque in, maximus velit.</p> |
| 207 | <p></p> |
| 208 | <p>Proin dignissim elit magna, viverra scelerisque libero vehicula sed</p>', |
| 209 | ], |
| 210 | [ |
| 211 | 'type' => 'image', |
| 212 | 'link' => '', |
| 213 | 'src' => $this->template_image_url . '/Sports-Football-Divider-3.png', |
| 214 | 'alt' => 'Sports-Football-Divider-3', |
| 215 | 'fullWidth' => true, |
| 216 | 'width' => '1280px', |
| 217 | 'height' => '50px', |
| 218 | 'styles' => [ |
| 219 | 'block' => [ |
| 220 | 'textAlign' => 'center', |
| 221 | ], |
| 222 | ], |
| 223 | ], |
| 224 | [ |
| 225 | 'type' => 'spacer', |
| 226 | 'styles' => [ |
| 227 | 'block' => [ |
| 228 | 'backgroundColor' => '#efefef', |
| 229 | 'height' => '20px', |
| 230 | ], |
| 231 | ], |
| 232 | ], |
| 233 | ], |
| 234 | ], |
| 235 | ], |
| 236 | ], |
| 237 | [ |
| 238 | 'type' => 'container', |
| 239 | 'orientation' => 'horizontal', |
| 240 | 'styles' => [ |
| 241 | 'block' => [ |
| 242 | 'backgroundColor' => '#efefef', |
| 243 | ], |
| 244 | ], |
| 245 | 'blocks' => [ |
| 246 | [ |
| 247 | 'type' => 'container', |
| 248 | 'orientation' => 'vertical', |
| 249 | 'styles' => [ |
| 250 | 'block' => [ |
| 251 | 'backgroundColor' => 'transparent', |
| 252 | ], |
| 253 | ], |
| 254 | 'blocks' => [ |
| 255 | |
| 256 | [ |
| 257 | 'type' => 'text', |
| 258 | 'text' => '<h2 style="padding-bottom: 0;"><span style="font-weight: 600;">Latest News</span></h2>', |
| 259 | ], |
| 260 | ], |
| 261 | ], |
| 262 | [ |
| 263 | 'type' => 'container', |
| 264 | 'orientation' => 'vertical', |
| 265 | 'styles' => [ |
| 266 | 'block' => [ |
| 267 | 'backgroundColor' => 'transparent', |
| 268 | ], |
| 269 | ], |
| 270 | 'blocks' => [ |
| 271 | [ |
| 272 | 'type' => 'button', |
| 273 | 'text' => 'View All News', |
| 274 | 'url' => '', |
| 275 | 'styles' => [ |
| 276 | 'block' => [ |
| 277 | 'backgroundColor' => '#d35400', |
| 278 | 'borderColor' => '#d35400', |
| 279 | 'borderWidth' => '1px', |
| 280 | 'borderRadius' => '5px', |
| 281 | 'borderStyle' => 'solid', |
| 282 | 'width' => '110px', |
| 283 | 'lineHeight' => '36px', |
| 284 | 'fontColor' => '#ffffff', |
| 285 | 'fontFamily' => 'Tahoma', |
| 286 | 'fontSize' => '14px', |
| 287 | 'fontWeight' => 'normal', |
| 288 | 'textAlign' => 'right', |
| 289 | ], |
| 290 | ], |
| 291 | ], |
| 292 | ], |
| 293 | ], |
| 294 | ], |
| 295 | ], |
| 296 | [ |
| 297 | 'type' => 'container', |
| 298 | 'orientation' => 'horizontal', |
| 299 | 'styles' => [ |
| 300 | 'block' => [ |
| 301 | 'backgroundColor' => '#efefef', |
| 302 | ], |
| 303 | ], |
| 304 | 'blocks' => [ |
| 305 | [ |
| 306 | 'type' => 'container', |
| 307 | 'orientation' => 'vertical', |
| 308 | 'styles' => [ |
| 309 | 'block' => [ |
| 310 | 'backgroundColor' => 'transparent', |
| 311 | ], |
| 312 | ], |
| 313 | 'blocks' => [ |
| 314 | [ |
| 315 | 'type' => 'spacer', |
| 316 | 'styles' => [ |
| 317 | 'block' => [ |
| 318 | 'backgroundColor' => 'transparent', |
| 319 | 'height' => '20px', |
| 320 | ], |
| 321 | ], |
| 322 | ], |
| 323 | ], |
| 324 | ], |
| 325 | ], |
| 326 | ], |
| 327 | [ |
| 328 | 'type' => 'container', |
| 329 | 'orientation' => 'horizontal', |
| 330 | 'styles' => [ |
| 331 | 'block' => [ |
| 332 | 'backgroundColor' => '#efefef', |
| 333 | ], |
| 334 | ], |
| 335 | 'blocks' => [ |
| 336 | [ |
| 337 | 'type' => 'container', |
| 338 | 'orientation' => 'vertical', |
| 339 | 'styles' => [ |
| 340 | 'block' => [ |
| 341 | 'backgroundColor' => 'transparent', |
| 342 | ], |
| 343 | ], |
| 344 | 'blocks' => [ |
| 345 | [ |
| 346 | 'type' => 'image', |
| 347 | 'link' => 'http://mailpoet.info/brazils-history-making-hurricane/', |
| 348 | 'src' => $this->template_image_url . '/2865897_full-lnd.jpg', |
| 349 | 'alt' => 'Brazil’s history-making Hurricane', |
| 350 | 'fullWidth' => false, |
| 351 | 'width' => 652, |
| 352 | 'height' => 366, |
| 353 | 'styles' => [ |
| 354 | 'block' => [ |
| 355 | 'textAlign' => 'center', |
| 356 | ], |
| 357 | ], |
| 358 | ], |
| 359 | [ |
| 360 | 'type' => 'text', |
| 361 | 'text' => '<h3 style="text-align: left;"><strong>Brazil’s history-making Hurricane</strong></h3> |
| 362 | <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam consequat lorem at est congue, non consequat lacus iaculis. Integer euismod mauris velit, vel ultrices nibh bibendum quis. Donec eget fermentum magna. Nullam congue dui lectus, quis pellentesque orci placerat eu. Fusce semper neque a mi aliquet vulputate sed sit amet nisi...</p> |
| 363 | <p><a href="http://mailpoet.info/brazils-history-making-hurricane/">Read More</a></p>', |
| 364 | ], |
| 365 | [ |
| 366 | 'type' => 'spacer', |
| 367 | 'styles' => [ |
| 368 | 'block' => [ |
| 369 | 'backgroundColor' => 'transparent', |
| 370 | 'height' => '20px', |
| 371 | ], |
| 372 | ], |
| 373 | ], |
| 374 | ], |
| 375 | ], |
| 376 | ], |
| 377 | ], |
| 378 | [ |
| 379 | 'type' => 'container', |
| 380 | 'orientation' => 'horizontal', |
| 381 | 'styles' => [ |
| 382 | 'block' => [ |
| 383 | 'backgroundColor' => '#efefef', |
| 384 | ], |
| 385 | ], |
| 386 | 'blocks' => [ |
| 387 | |
| 388 | [ |
| 389 | 'type' => 'container', |
| 390 | 'orientation' => 'vertical', |
| 391 | 'styles' => [ |
| 392 | 'block' => [ |
| 393 | 'backgroundColor' => 'transparent', |
| 394 | ], |
| 395 | ], |
| 396 | 'blocks' => [ |
| 397 | [ |
| 398 | 'type' => 'image', |
| 399 | 'link' => 'http://mailpoet.info/icelands-dentist-coach-defying-convention-and-expectations/', |
| 400 | 'src' => $this->template_image_url . '/2866107_full-lnd.jpg', |
| 401 | 'alt' => 'Iceland’s dentist-coach defying convention and expectations', |
| 402 | 'fullWidth' => false, |
| 403 | 'width' => 652, |
| 404 | 'height' => 366, |
| 405 | 'styles' => [ |
| 406 | 'block' => [ |
| 407 | 'textAlign' => 'center', |
| 408 | ], |
| 409 | ], |
| 410 | ], |
| 411 | [ |
| 412 | 'type' => 'text', |
| 413 | 'text' => '<h3><strong>Iceland’s dentist-coach defying convention and expectations</strong></h3> |
| 414 | <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam consequat lorem at est congue, non consequat lacus iaculis. Integer euismod mauris velit...</p> |
| 415 | <p><a href="http://mailpoet.info/icelands-dentist-coach-defying-convention-and-expectations/">Read More</a></p>', |
| 416 | ], |
| 417 | ], |
| 418 | ], |
| 419 | [ |
| 420 | 'type' => 'container', |
| 421 | 'orientation' => 'vertical', |
| 422 | 'styles' => [ |
| 423 | 'block' => [ |
| 424 | 'backgroundColor' => 'transparent', |
| 425 | ], |
| 426 | ], |
| 427 | 'blocks' => [ |
| 428 | [ |
| 429 | 'type' => 'image', |
| 430 | 'link' => 'http://mailpoet.info/impact-and-legacy-of-2018-fifa-world-cup-russia-facts-and-figures/', |
| 431 | 'src' => $this->template_image_url . '/2709222_full-lnd.jpg', |
| 432 | 'alt' => 'Impact and legacy of 2018 FIFA World Cup Russia: facts and figures', |
| 433 | 'fullWidth' => false, |
| 434 | 'width' => 652, |
| 435 | 'height' => 366, |
| 436 | 'styles' => [ |
| 437 | 'block' => [ |
| 438 | 'textAlign' => 'center', |
| 439 | ], |
| 440 | ], |
| 441 | ], |
| 442 | [ |
| 443 | 'type' => 'text', |
| 444 | 'text' => '<h3 style="text-align: left;"><strong>Impact and legacy of 2018 FIFA World Cup Russia: facts and figures</strong></h3> |
| 445 | <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam consequat lorem at est congue, non consequat lacus iaculis. Integer euismod...</p> |
| 446 | <p><a href="http://mailpoet.info/impact-and-legacy-of-2018-fifa-world-cup-russia-facts-and-figures/">Read More</a></p>', |
| 447 | ], |
| 448 | ], |
| 449 | ], |
| 450 | [ |
| 451 | 'type' => 'container', |
| 452 | 'orientation' => 'vertical', |
| 453 | 'styles' => [ |
| 454 | 'block' => [ |
| 455 | 'backgroundColor' => 'transparent', |
| 456 | ], |
| 457 | ], |
| 458 | 'blocks' => [ |
| 459 | [ |
| 460 | 'type' => 'image', |
| 461 | 'link' => 'http://mailpoet.info/linekers-life-changing-treble/', |
| 462 | 'src' => $this->template_image_url . '/2867790_full-lnd.jpg', |
| 463 | 'alt' => 'Lineker’s life-changing treble', |
| 464 | 'fullWidth' => false, |
| 465 | 'width' => 652, |
| 466 | 'height' => 366, |
| 467 | 'styles' => [ |
| 468 | 'block' => [ |
| 469 | 'textAlign' => 'center', |
| 470 | ], |
| 471 | ], |
| 472 | ], |
| 473 | |
| 474 | [ |
| 475 | 'type' => 'text', |
| 476 | 'text' => '<h3 style="text-align: left;"><strong>Lineker’s life-changing treble</strong></h3> |
| 477 | <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam consequat lorem at est congue, non consequat lacus iaculis. Integer euismod mauris velit <span style="background-color: inherit;">consequat lorem at est congue...</span></p> |
| 478 | <p><a href="http://mailpoet.info/linekers-life-changing-treble/">Read More</a></p>', |
| 479 | ], |
| 480 | ], |
| 481 | ], |
| 482 | ], |
| 483 | ], |
| 484 | [ |
| 485 | 'type' => 'container', |
| 486 | 'orientation' => 'horizontal', |
| 487 | 'styles' => [ |
| 488 | 'block' => [ |
| 489 | 'backgroundColor' => '#f8f8f8', |
| 490 | ], |
| 491 | ], |
| 492 | 'blocks' => [ |
| 493 | [ |
| 494 | 'type' => 'container', |
| 495 | 'orientation' => 'vertical', |
| 496 | 'styles' => [ |
| 497 | 'block' => [ |
| 498 | 'backgroundColor' => 'transparent', |
| 499 | ], |
| 500 | ], |
| 501 | 'blocks' => [ |
| 502 | [ |
| 503 | 'type' => 'spacer', |
| 504 | 'styles' => [ |
| 505 | 'block' => [ |
| 506 | 'backgroundColor' => '#efefef', |
| 507 | 'height' => '20px', |
| 508 | ], |
| 509 | ], |
| 510 | ], |
| 511 | [ |
| 512 | 'type' => 'image', |
| 513 | 'link' => '', |
| 514 | 'src' => $this->template_image_url . '/Sports-Football-Divider-2.png', |
| 515 | 'alt' => 'Sports-Football-Divider-2', |
| 516 | 'fullWidth' => true, |
| 517 | 'width' => '1280px', |
| 518 | 'height' => '50px', |
| 519 | 'styles' => [ |
| 520 | 'block' => [ |
| 521 | 'textAlign' => 'center', |
| 522 | ], |
| 523 | ], |
| 524 | ], |
| 525 | ], |
| 526 | ], |
| 527 | ], |
| 528 | ], |
| 529 | [ |
| 530 | 'type' => 'container', |
| 531 | 'orientation' => 'horizontal', |
| 532 | 'styles' => [ |
| 533 | 'block' => [ |
| 534 | 'backgroundColor' => '#222222', |
| 535 | ], |
| 536 | ], |
| 537 | 'blocks' => [ |
| 538 | [ |
| 539 | 'type' => 'container', |
| 540 | 'orientation' => 'vertical', |
| 541 | 'styles' => [ |
| 542 | 'block' => [ |
| 543 | 'backgroundColor' => 'transparent', |
| 544 | ], |
| 545 | ], |
| 546 | 'blocks' => [ |
| 547 | [ |
| 548 | 'type' => 'image', |
| 549 | 'link' => '', |
| 550 | 'src' => $this->template_image_url . '/Sports-Football-Footer-1.png', |
| 551 | 'alt' => 'Sports-Football-Footer', |
| 552 | 'fullWidth' => true, |
| 553 | 'width' => '1280px', |
| 554 | 'height' => '500px', |
| 555 | 'styles' => [ |
| 556 | 'block' => [ |
| 557 | 'textAlign' => 'center', |
| 558 | ], |
| 559 | ], |
| 560 | ], |
| 561 | [ |
| 562 | 'type' => 'spacer', |
| 563 | 'styles' => [ |
| 564 | 'block' => [ |
| 565 | 'backgroundColor' => '#da6110', |
| 566 | 'height' => '20px', |
| 567 | ], |
| 568 | ], |
| 569 | ], |
| 570 | ], |
| 571 | ], |
| 572 | ], |
| 573 | ], |
| 574 | [ |
| 575 | 'type' => 'container', |
| 576 | 'orientation' => 'horizontal', |
| 577 | 'styles' => [ |
| 578 | 'block' => [ |
| 579 | 'backgroundColor' => '#da6110', |
| 580 | ], |
| 581 | ], |
| 582 | 'blocks' => [ |
| 583 | [ |
| 584 | 'type' => 'container', |
| 585 | 'orientation' => 'vertical', |
| 586 | 'styles' => [ |
| 587 | 'block' => [ |
| 588 | 'backgroundColor' => 'transparent', |
| 589 | ], |
| 590 | ], |
| 591 | 'blocks' => [ |
| 592 | [ |
| 593 | 'type' => 'social', |
| 594 | 'iconSet' => 'official-white', |
| 595 | 'icons' => [ |
| 596 | [ |
| 597 | 'type' => 'socialIcon', |
| 598 | 'iconType' => 'facebook', |
| 599 | 'link' => 'http://www.facebook.com', |
| 600 | 'image' => $this->social_icon_url . '/12-official-white/Facebook.png', |
| 601 | 'height' => '32px', |
| 602 | 'width' => '32px', |
| 603 | 'text' => 'Facebook', |
| 604 | ], |
| 605 | [ |
| 606 | 'type' => 'socialIcon', |
| 607 | 'iconType' => 'twitter', |
| 608 | 'link' => 'http://www.twitter.com', |
| 609 | 'image' => $this->social_icon_url . '/12-official-white/X.png', |
| 610 | 'height' => '32px', |
| 611 | 'width' => '32px', |
| 612 | 'text' => 'Twitter', |
| 613 | ], |
| 614 | [ |
| 615 | 'type' => 'socialIcon', |
| 616 | 'iconType' => 'youtube', |
| 617 | 'link' => 'http://www.youtube.com', |
| 618 | 'image' => $this->social_icon_url . '/12-official-white/Youtube.png', |
| 619 | 'height' => '32px', |
| 620 | 'width' => '32px', |
| 621 | 'text' => 'Youtube', |
| 622 | ], |
| 623 | [ |
| 624 | 'type' => 'socialIcon', |
| 625 | 'iconType' => 'instagram', |
| 626 | 'link' => 'http://instagram.com', |
| 627 | 'image' => $this->social_icon_url . '/12-official-white/Instagram.png', |
| 628 | 'height' => '32px', |
| 629 | 'width' => '32px', |
| 630 | 'text' => 'Instagram', |
| 631 | ], |
| 632 | ], |
| 633 | ], |
| 634 | ], |
| 635 | ], |
| 636 | ], |
| 637 | ], |
| 638 | [ |
| 639 | 'type' => 'container', |
| 640 | 'orientation' => 'horizontal', |
| 641 | 'styles' => [ |
| 642 | 'block' => [ |
| 643 | 'backgroundColor' => '#b55311', |
| 644 | ], |
| 645 | ], |
| 646 | 'blocks' => [ |
| 647 | [ |
| 648 | 'type' => 'container', |
| 649 | 'orientation' => 'vertical', |
| 650 | 'styles' => [ |
| 651 | 'block' => [ |
| 652 | 'backgroundColor' => 'transparent', |
| 653 | ], |
| 654 | ], |
| 655 | 'blocks' => [ |
| 656 | [ |
| 657 | 'type' => 'spacer', |
| 658 | 'styles' => [ |
| 659 | 'block' => [ |
| 660 | 'backgroundColor' => '#da6110', |
| 661 | 'height' => '20px', |
| 662 | ], |
| 663 | ], |
| 664 | ], |
| 665 | [ |
| 666 | 'type' => 'spacer', |
| 667 | 'styles' => [ |
| 668 | 'block' => [ |
| 669 | 'backgroundColor' => 'transparent', |
| 670 | 'height' => '20px', |
| 671 | ], |
| 672 | ], |
| 673 | ], |
| 674 | [ |
| 675 | 'type' => 'image', |
| 676 | 'link' => '', |
| 677 | 'src' => $this->template_image_url . '/Sports-Football-Logo-Small.png', |
| 678 | 'alt' => 'Sports-Football-Logo-Small', |
| 679 | 'fullWidth' => false, |
| 680 | 'width' => '772px', |
| 681 | 'height' => '171px', |
| 682 | 'styles' => [ |
| 683 | 'block' => [ |
| 684 | 'textAlign' => 'center', |
| 685 | ], |
| 686 | ], |
| 687 | ], |
| 688 | [ |
| 689 | 'type' => 'spacer', |
| 690 | 'styles' => [ |
| 691 | 'block' => [ |
| 692 | 'backgroundColor' => 'transparent', |
| 693 | 'height' => '20px', |
| 694 | ], |
| 695 | ], |
| 696 | ], |
| 697 | ], |
| 698 | ], |
| 699 | [ |
| 700 | 'type' => 'container', |
| 701 | 'orientation' => 'vertical', |
| 702 | 'styles' => [ |
| 703 | 'block' => [ |
| 704 | 'backgroundColor' => 'transparent', |
| 705 | ], |
| 706 | ], |
| 707 | 'blocks' => [ |
| 708 | [ |
| 709 | 'type' => 'spacer', |
| 710 | 'styles' => [ |
| 711 | 'block' => [ |
| 712 | 'backgroundColor' => '#da6110', |
| 713 | 'height' => '20px', |
| 714 | ], |
| 715 | ], |
| 716 | ], |
| 717 | [ |
| 718 | 'type' => 'spacer', |
| 719 | 'styles' => [ |
| 720 | 'block' => [ |
| 721 | 'backgroundColor' => 'transparent', |
| 722 | 'height' => '20px', |
| 723 | ], |
| 724 | ], |
| 725 | ], |
| 726 | [ |
| 727 | 'type' => 'footer', |
| 728 | 'text' => '<p><a href="[link:subscription_unsubscribe_url]">' . __("Unsubscribe", 'mailpoet') . '</a> | <a href="[link:subscription_manage_url]">' . __("Manage your subscription", 'mailpoet') . '</a><br />' . __("Add your postal address here!", 'mailpoet') . '</p>', |
| 729 | 'styles' => [ |
| 730 | 'block' => [ |
| 731 | 'backgroundColor' => 'transparent', |
| 732 | ], |
| 733 | 'text' => [ |
| 734 | 'fontColor' => '#ffffff', |
| 735 | 'fontFamily' => 'Tahoma', |
| 736 | 'fontSize' => '12px', |
| 737 | 'textAlign' => 'right', |
| 738 | ], |
| 739 | 'link' => [ |
| 740 | 'fontColor' => '#ffffff', |
| 741 | 'textDecoration' => 'underline', |
| 742 | ], |
| 743 | ], |
| 744 | ], |
| 745 | ], |
| 746 | ], |
| 747 | ], |
| 748 | ], |
| 749 | ], |
| 750 | ], |
| 751 | 'globalStyles' => [ |
| 752 | 'text' => [ |
| 753 | 'fontColor' => '#000000', |
| 754 | 'fontFamily' => 'Tahoma', |
| 755 | 'fontSize' => '14px', |
| 756 | ], |
| 757 | 'h1' => [ |
| 758 | 'fontColor' => '#111111', |
| 759 | 'fontFamily' => 'Tahoma', |
| 760 | 'fontSize' => '30px', |
| 761 | ], |
| 762 | 'h2' => [ |
| 763 | 'fontColor' => '#da6110', |
| 764 | 'fontFamily' => 'Tahoma', |
| 765 | 'fontSize' => '24px', |
| 766 | ], |
| 767 | 'h3' => [ |
| 768 | 'fontColor' => '#333333', |
| 769 | 'fontFamily' => 'Tahoma', |
| 770 | 'fontSize' => '18px', |
| 771 | ], |
| 772 | 'link' => [ |
| 773 | 'fontColor' => '#da6110', |
| 774 | 'textDecoration' => 'underline', |
| 775 | ], |
| 776 | 'wrapper' => [ |
| 777 | 'backgroundColor' => '#ffffff', |
| 778 | ], |
| 779 | 'body' => [ |
| 780 | 'backgroundColor' => '#222222', |
| 781 | ], |
| 782 | ], |
| 783 | ]; |
| 784 | } |
| 785 | |
| 786 | private function getThumbnail() { |
| 787 | return $this->template_image_url . '/thumbnail.20190411-1500.jpg'; |
| 788 | } |
| 789 | } |
| 790 |