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
Coffee.php
1007 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 Coffee { |
| 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/coffee'; |
| 17 | $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons'; |
| 18 | } |
| 19 | |
| 20 | public function get() { |
| 21 | return [ |
| 22 | 'name' => __("Coffee", '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 getThumbnail() { |
| 31 | return $this->template_image_url . '/thumbnail.20190411-1500.jpg'; |
| 32 | } |
| 33 | |
| 34 | private function getBody() { |
| 35 | return [ |
| 36 | 'content' => |
| 37 | [ |
| 38 | 'type' => 'container', |
| 39 | 'orientation' => 'vertical', |
| 40 | 'styles' => |
| 41 | [ |
| 42 | 'block' => |
| 43 | [ |
| 44 | 'backgroundColor' => 'transparent', |
| 45 | ], |
| 46 | ], |
| 47 | 'blocks' => |
| 48 | [ |
| 49 | 0 => |
| 50 | [ |
| 51 | 'type' => 'container', |
| 52 | 'orientation' => 'horizontal', |
| 53 | 'styles' => |
| 54 | [ |
| 55 | 'block' => |
| 56 | [ |
| 57 | 'backgroundColor' => 'transparent', |
| 58 | ], |
| 59 | ], |
| 60 | 'blocks' => |
| 61 | [ |
| 62 | 0 => |
| 63 | [ |
| 64 | 'type' => 'container', |
| 65 | 'orientation' => 'vertical', |
| 66 | 'styles' => |
| 67 | [ |
| 68 | 'block' => |
| 69 | [ |
| 70 | 'backgroundColor' => 'transparent', |
| 71 | ], |
| 72 | ], |
| 73 | 'blocks' => |
| 74 | [ |
| 75 | 0 => |
| 76 | [ |
| 77 | 'type' => 'spacer', |
| 78 | 'styles' => |
| 79 | [ |
| 80 | 'block' => |
| 81 | [ |
| 82 | 'backgroundColor' => 'transparent', |
| 83 | 'height' => '50px', |
| 84 | ], |
| 85 | ], |
| 86 | ], |
| 87 | ], |
| 88 | ], |
| 89 | ], |
| 90 | ], |
| 91 | 1 => |
| 92 | [ |
| 93 | 'type' => 'container', |
| 94 | 'orientation' => 'horizontal', |
| 95 | 'styles' => |
| 96 | [ |
| 97 | 'block' => |
| 98 | [ |
| 99 | 'backgroundColor' => 'transparent', |
| 100 | ], |
| 101 | ], |
| 102 | 'blocks' => |
| 103 | [ |
| 104 | 0 => |
| 105 | [ |
| 106 | 'type' => 'container', |
| 107 | 'orientation' => 'vertical', |
| 108 | 'styles' => |
| 109 | [ |
| 110 | 'block' => |
| 111 | [ |
| 112 | 'backgroundColor' => 'transparent', |
| 113 | ], |
| 114 | ], |
| 115 | 'blocks' => |
| 116 | [ |
| 117 | 0 => |
| 118 | [ |
| 119 | 'type' => 'spacer', |
| 120 | 'styles' => |
| 121 | [ |
| 122 | 'block' => |
| 123 | [ |
| 124 | 'backgroundColor' => 'transparent', |
| 125 | 'height' => '20px', |
| 126 | ], |
| 127 | ], |
| 128 | ], |
| 129 | 1 => |
| 130 | [ |
| 131 | 'type' => 'social', |
| 132 | 'iconSet' => 'official', |
| 133 | 'icons' => |
| 134 | [ |
| 135 | 0 => |
| 136 | [ |
| 137 | 'type' => 'socialIcon', |
| 138 | 'iconType' => 'facebook', |
| 139 | 'link' => 'http://www.facebook.com', |
| 140 | 'image' => $this->social_icon_url . '/11-official/Facebook.png', |
| 141 | 'height' => '32px', |
| 142 | 'width' => '32px', |
| 143 | 'text' => 'Facebook', |
| 144 | ], |
| 145 | 1 => |
| 146 | [ |
| 147 | 'type' => 'socialIcon', |
| 148 | 'iconType' => 'twitter', |
| 149 | 'link' => 'http://www.twitter.com', |
| 150 | 'image' => $this->social_icon_url . '/11-official/X.png', |
| 151 | 'height' => '32px', |
| 152 | 'width' => '32px', |
| 153 | 'text' => 'Twitter', |
| 154 | ], |
| 155 | 2 => |
| 156 | [ |
| 157 | 'type' => 'socialIcon', |
| 158 | 'iconType' => 'instagram', |
| 159 | 'link' => 'http://instagram.com', |
| 160 | 'image' => $this->social_icon_url . '/11-official/Instagram.png', |
| 161 | 'height' => '32px', |
| 162 | 'width' => '32px', |
| 163 | 'text' => 'Instagram', |
| 164 | ], |
| 165 | ], |
| 166 | ], |
| 167 | ], |
| 168 | ], |
| 169 | 1 => |
| 170 | [ |
| 171 | 'type' => 'container', |
| 172 | 'orientation' => 'vertical', |
| 173 | 'styles' => |
| 174 | [ |
| 175 | 'block' => |
| 176 | [ |
| 177 | 'backgroundColor' => 'transparent', |
| 178 | ], |
| 179 | ], |
| 180 | 'blocks' => |
| 181 | [ |
| 182 | 0 => |
| 183 | [ |
| 184 | 'type' => 'image', |
| 185 | 'link' => '', |
| 186 | 'src' => $this->template_image_url . '/Coffee-Logo-1.png', |
| 187 | 'alt' => 'Coffee-Logo-1', |
| 188 | 'fullWidth' => false, |
| 189 | 'width' => '120px', |
| 190 | 'height' => '71px', |
| 191 | 'styles' => |
| 192 | [ |
| 193 | 'block' => |
| 194 | [ |
| 195 | 'textAlign' => 'center', |
| 196 | ], |
| 197 | ], |
| 198 | ], |
| 199 | ], |
| 200 | ], |
| 201 | 2 => |
| 202 | [ |
| 203 | 'type' => 'container', |
| 204 | 'orientation' => 'vertical', |
| 205 | 'styles' => |
| 206 | [ |
| 207 | 'block' => |
| 208 | [ |
| 209 | 'backgroundColor' => 'transparent', |
| 210 | ], |
| 211 | ], |
| 212 | 'blocks' => |
| 213 | [ |
| 214 | 0 => |
| 215 | [ |
| 216 | 'type' => 'spacer', |
| 217 | 'styles' => |
| 218 | [ |
| 219 | 'block' => |
| 220 | [ |
| 221 | 'backgroundColor' => 'transparent', |
| 222 | 'height' => '20px', |
| 223 | ], |
| 224 | ], |
| 225 | ], |
| 226 | 1 => |
| 227 | [ |
| 228 | 'type' => 'header', |
| 229 | 'text' => '<p><span style="color: #000000;"><a href="[link:newsletter_view_in_browser_url]" style="color: #000000;">' . __("View this in your browser.", 'mailpoet') . '</a></span></p>', |
| 230 | 'styles' => |
| 231 | [ |
| 232 | 'block' => |
| 233 | [ |
| 234 | 'backgroundColor' => 'transparent', |
| 235 | ], |
| 236 | 'text' => |
| 237 | [ |
| 238 | 'fontColor' => '#222222', |
| 239 | 'fontFamily' => 'Arial', |
| 240 | 'fontSize' => '12px', |
| 241 | 'textAlign' => 'center', |
| 242 | ], |
| 243 | 'link' => |
| 244 | [ |
| 245 | 'fontColor' => '#6cb7d4', |
| 246 | 'textDecoration' => 'underline', |
| 247 | ], |
| 248 | ], |
| 249 | ], |
| 250 | ], |
| 251 | ], |
| 252 | ], |
| 253 | ], |
| 254 | 2 => |
| 255 | [ |
| 256 | 'type' => 'container', |
| 257 | 'orientation' => 'horizontal', |
| 258 | 'styles' => |
| 259 | [ |
| 260 | 'block' => |
| 261 | [ |
| 262 | 'backgroundColor' => 'transparent', |
| 263 | ], |
| 264 | ], |
| 265 | 'blocks' => |
| 266 | [ |
| 267 | 0 => |
| 268 | [ |
| 269 | 'type' => 'container', |
| 270 | 'orientation' => 'vertical', |
| 271 | 'styles' => |
| 272 | [ |
| 273 | 'block' => |
| 274 | [ |
| 275 | 'backgroundColor' => 'transparent', |
| 276 | ], |
| 277 | ], |
| 278 | 'blocks' => |
| 279 | [ |
| 280 | 0 => |
| 281 | [ |
| 282 | 'type' => 'image', |
| 283 | 'link' => '', |
| 284 | 'src' => $this->template_image_url . '/Coffee-Header.jpg', |
| 285 | 'alt' => 'Coffee-Header', |
| 286 | 'fullWidth' => false, |
| 287 | 'width' => '1280px', |
| 288 | 'height' => '260px', |
| 289 | 'styles' => |
| 290 | [ |
| 291 | 'block' => |
| 292 | [ |
| 293 | 'textAlign' => 'center', |
| 294 | ], |
| 295 | ], |
| 296 | ], |
| 297 | 1 => |
| 298 | [ |
| 299 | 'type' => 'image', |
| 300 | 'link' => '', |
| 301 | 'src' => $this->template_image_url . '/coffee.gif', |
| 302 | 'alt' => 'coffee', |
| 303 | 'fullWidth' => true, |
| 304 | 'width' => '660px', |
| 305 | 'height' => '371px', |
| 306 | 'styles' => |
| 307 | [ |
| 308 | 'block' => |
| 309 | [ |
| 310 | 'textAlign' => 'center', |
| 311 | ], |
| 312 | ], |
| 313 | ], |
| 314 | 2 => |
| 315 | [ |
| 316 | 'type' => 'spacer', |
| 317 | 'styles' => |
| 318 | [ |
| 319 | 'block' => |
| 320 | [ |
| 321 | 'backgroundColor' => 'transparent', |
| 322 | 'height' => '30px', |
| 323 | ], |
| 324 | ], |
| 325 | ], |
| 326 | ], |
| 327 | ], |
| 328 | ], |
| 329 | ], |
| 330 | 3 => |
| 331 | [ |
| 332 | 'type' => 'container', |
| 333 | 'orientation' => 'horizontal', |
| 334 | 'styles' => |
| 335 | [ |
| 336 | 'block' => |
| 337 | [ |
| 338 | 'backgroundColor' => 'transparent', |
| 339 | ], |
| 340 | ], |
| 341 | 'blocks' => |
| 342 | [ |
| 343 | 0 => |
| 344 | [ |
| 345 | 'type' => 'container', |
| 346 | 'orientation' => 'vertical', |
| 347 | 'styles' => |
| 348 | [ |
| 349 | 'block' => |
| 350 | [ |
| 351 | 'backgroundColor' => 'transparent', |
| 352 | ], |
| 353 | ], |
| 354 | 'blocks' => |
| 355 | [ |
| 356 | 0 => |
| 357 | [ |
| 358 | 'type' => 'text', |
| 359 | 'text' => '<h2 style="text-align: center;"><strong>We\'ve got some new blends, just for you.</strong></h2> |
| 360 | <p style="text-align: center;">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer vehicula magna sit amet lorem venenatis, quis condimentum odio egestas. Suspendisse felis felis, tempor id convallis in, tincidunt quis nisi. Morbi dolor elit, maximus et velit quis, fermentum porta lectus. Nulla odio est, tempus vitae nunc sit amet, fermentum tristique lacus. In bibendum fringilla cursus.</p>', |
| 361 | ], |
| 362 | 1 => |
| 363 | [ |
| 364 | 'type' => 'button', |
| 365 | 'text' => 'Check Them Out', |
| 366 | 'url' => '', |
| 367 | 'styles' => |
| 368 | [ |
| 369 | 'block' => |
| 370 | [ |
| 371 | 'backgroundColor' => '#6fb910', |
| 372 | 'borderColor' => '#6fb910', |
| 373 | 'borderWidth' => '0px', |
| 374 | 'borderRadius' => '5px', |
| 375 | 'borderStyle' => 'solid', |
| 376 | 'width' => '150px', |
| 377 | 'lineHeight' => '40px', |
| 378 | 'fontColor' => '#ffffff', |
| 379 | 'fontFamily' => 'Arial', |
| 380 | 'fontSize' => '16px', |
| 381 | 'fontWeight' => 'bold', |
| 382 | 'textAlign' => 'center', |
| 383 | ], |
| 384 | ], |
| 385 | ], |
| 386 | 2 => |
| 387 | [ |
| 388 | 'type' => 'divider', |
| 389 | 'styles' => |
| 390 | [ |
| 391 | 'block' => |
| 392 | [ |
| 393 | 'backgroundColor' => 'transparent', |
| 394 | 'padding' => '13px', |
| 395 | 'borderStyle' => 'solid', |
| 396 | 'borderWidth' => '1px', |
| 397 | 'borderColor' => '#d6d6d6', |
| 398 | ], |
| 399 | ], |
| 400 | ], |
| 401 | ], |
| 402 | ], |
| 403 | ], |
| 404 | ], |
| 405 | 4 => |
| 406 | [ |
| 407 | 'type' => 'container', |
| 408 | 'orientation' => 'horizontal', |
| 409 | 'styles' => |
| 410 | [ |
| 411 | 'block' => |
| 412 | [ |
| 413 | 'backgroundColor' => 'transparent', |
| 414 | ], |
| 415 | ], |
| 416 | 'blocks' => |
| 417 | [ |
| 418 | 0 => |
| 419 | [ |
| 420 | 'type' => 'container', |
| 421 | 'orientation' => 'vertical', |
| 422 | 'styles' => |
| 423 | [ |
| 424 | 'block' => |
| 425 | [ |
| 426 | 'backgroundColor' => 'transparent', |
| 427 | ], |
| 428 | ], |
| 429 | 'blocks' => |
| 430 | [ |
| 431 | 0 => |
| 432 | [ |
| 433 | 'type' => 'image', |
| 434 | 'link' => '', |
| 435 | 'src' => $this->template_image_url . '/Coffee-Mid.jpg', |
| 436 | 'alt' => 'Coffee-Mid', |
| 437 | 'fullWidth' => true, |
| 438 | 'width' => '1280px', |
| 439 | 'height' => '411px', |
| 440 | 'styles' => |
| 441 | [ |
| 442 | 'block' => |
| 443 | [ |
| 444 | 'textAlign' => 'center', |
| 445 | ], |
| 446 | ], |
| 447 | ], |
| 448 | 1 => |
| 449 | [ |
| 450 | 'type' => 'spacer', |
| 451 | 'styles' => |
| 452 | [ |
| 453 | 'block' => |
| 454 | [ |
| 455 | 'backgroundColor' => '#eaeaea', |
| 456 | 'height' => '20px', |
| 457 | ], |
| 458 | ], |
| 459 | ], |
| 460 | ], |
| 461 | ], |
| 462 | ], |
| 463 | ], |
| 464 | 5 => |
| 465 | [ |
| 466 | 'type' => 'container', |
| 467 | 'orientation' => 'horizontal', |
| 468 | 'styles' => |
| 469 | [ |
| 470 | 'block' => |
| 471 | [ |
| 472 | 'backgroundColor' => '#eaeaea', |
| 473 | ], |
| 474 | ], |
| 475 | 'blocks' => |
| 476 | [ |
| 477 | 0 => |
| 478 | [ |
| 479 | 'type' => 'container', |
| 480 | 'orientation' => 'vertical', |
| 481 | 'styles' => |
| 482 | [ |
| 483 | 'block' => |
| 484 | [ |
| 485 | 'backgroundColor' => 'transparent', |
| 486 | ], |
| 487 | ], |
| 488 | 'blocks' => |
| 489 | [ |
| 490 | 0 => |
| 491 | [ |
| 492 | 'type' => 'text', |
| 493 | 'text' => '<p><span>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer vehicula magna sit amet lorem venenatis, quis condimentum odio egestas. Suspendisse felis felis, tempor id convallis in, tincidunt quis nisi.</span></p> |
| 494 | <p><span></span></p> |
| 495 | <p><span> Morbi dolor elit, maximus et velit quis, fermentum porta lectus. Nulla odio est, tempus vitae nunc sit amet, fermentum tristique lacus. In bibendum fringilla cursus.</span></p>', |
| 496 | ], |
| 497 | ], |
| 498 | ], |
| 499 | 1 => |
| 500 | [ |
| 501 | 'type' => 'container', |
| 502 | 'orientation' => 'vertical', |
| 503 | 'styles' => |
| 504 | [ |
| 505 | 'block' => |
| 506 | [ |
| 507 | 'backgroundColor' => 'transparent', |
| 508 | ], |
| 509 | ], |
| 510 | 'blocks' => |
| 511 | [ |
| 512 | 0 => |
| 513 | [ |
| 514 | 'type' => 'text', |
| 515 | 'text' => '<p><span>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer vehicula magna sit amet lorem venenatis, quis condimentum odio egestas. Suspendisse felis felis, tempor id convallis in, tincidunt quis nisi.</span></p> |
| 516 | <p><span></span></p> |
| 517 | <p><span>Morbi dolor elit, maximus et velit quis, fermentum porta lectus. Nulla odio est, tempus vitae nunc sit amet, fermentum tristique lacus. In bibendum fringilla cursus.</span></p>', |
| 518 | ], |
| 519 | ], |
| 520 | ], |
| 521 | ], |
| 522 | ], |
| 523 | 6 => |
| 524 | [ |
| 525 | 'type' => 'container', |
| 526 | 'orientation' => 'horizontal', |
| 527 | 'styles' => |
| 528 | [ |
| 529 | 'block' => |
| 530 | [ |
| 531 | 'backgroundColor' => 'transparent', |
| 532 | ], |
| 533 | ], |
| 534 | 'blocks' => |
| 535 | [ |
| 536 | 0 => |
| 537 | [ |
| 538 | 'type' => 'container', |
| 539 | 'orientation' => 'vertical', |
| 540 | 'styles' => |
| 541 | [ |
| 542 | 'block' => |
| 543 | [ |
| 544 | 'backgroundColor' => 'transparent', |
| 545 | ], |
| 546 | ], |
| 547 | 'blocks' => |
| 548 | [ |
| 549 | 0 => |
| 550 | [ |
| 551 | 'type' => 'spacer', |
| 552 | 'styles' => |
| 553 | [ |
| 554 | 'block' => |
| 555 | [ |
| 556 | 'backgroundColor' => 'transparent', |
| 557 | 'height' => '40px', |
| 558 | ], |
| 559 | ], |
| 560 | ], |
| 561 | 1 => |
| 562 | [ |
| 563 | 'type' => 'text', |
| 564 | 'text' => '<h2 style="text-align: center;"><strong>Interested in upgrading your subscription?</strong></h2> |
| 565 | <p style="text-align: center;">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p> |
| 566 | <p style="text-align: center;">Integer vehicula magna sit amet lorem venenatis, quis condimentum odio egestas.</p>', |
| 567 | ], |
| 568 | 2 => |
| 569 | [ |
| 570 | 'type' => 'button', |
| 571 | 'text' => 'Get Started', |
| 572 | 'url' => '', |
| 573 | 'styles' => |
| 574 | [ |
| 575 | 'block' => |
| 576 | [ |
| 577 | 'backgroundColor' => '#6fb910', |
| 578 | 'borderColor' => '#6fb910', |
| 579 | 'borderWidth' => '0px', |
| 580 | 'borderRadius' => '5px', |
| 581 | 'borderStyle' => 'solid', |
| 582 | 'width' => '118px', |
| 583 | 'lineHeight' => '40px', |
| 584 | 'fontColor' => '#ffffff', |
| 585 | 'fontFamily' => 'Arial', |
| 586 | 'fontSize' => '16px', |
| 587 | 'fontWeight' => 'bold', |
| 588 | 'textAlign' => 'center', |
| 589 | ], |
| 590 | ], |
| 591 | ], |
| 592 | 3 => |
| 593 | [ |
| 594 | 'type' => 'divider', |
| 595 | 'styles' => |
| 596 | [ |
| 597 | 'block' => |
| 598 | [ |
| 599 | 'backgroundColor' => 'transparent', |
| 600 | 'padding' => '13px', |
| 601 | 'borderStyle' => 'solid', |
| 602 | 'borderWidth' => '1px', |
| 603 | 'borderColor' => '#d6d6d6', |
| 604 | ], |
| 605 | ], |
| 606 | ], |
| 607 | ], |
| 608 | ], |
| 609 | ], |
| 610 | ], |
| 611 | 7 => |
| 612 | [ |
| 613 | 'type' => 'container', |
| 614 | 'orientation' => 'horizontal', |
| 615 | 'styles' => |
| 616 | [ |
| 617 | 'block' => |
| 618 | [ |
| 619 | 'backgroundColor' => 'transparent', |
| 620 | ], |
| 621 | ], |
| 622 | 'blocks' => |
| 623 | [ |
| 624 | 0 => |
| 625 | [ |
| 626 | 'type' => 'container', |
| 627 | 'orientation' => 'vertical', |
| 628 | 'styles' => |
| 629 | [ |
| 630 | 'block' => |
| 631 | [ |
| 632 | 'backgroundColor' => 'transparent', |
| 633 | ], |
| 634 | ], |
| 635 | 'blocks' => |
| 636 | [ |
| 637 | 0 => |
| 638 | [ |
| 639 | 'type' => 'spacer', |
| 640 | 'styles' => |
| 641 | [ |
| 642 | 'block' => |
| 643 | [ |
| 644 | 'backgroundColor' => 'transparent', |
| 645 | 'height' => '20px', |
| 646 | ], |
| 647 | ], |
| 648 | ], |
| 649 | 1 => |
| 650 | [ |
| 651 | 'type' => 'text', |
| 652 | 'text' => '<h2 style="text-align: center;"><strong>Latest News</strong></h2>', |
| 653 | ], |
| 654 | ], |
| 655 | ], |
| 656 | ], |
| 657 | ], |
| 658 | 8 => |
| 659 | [ |
| 660 | 'type' => 'container', |
| 661 | 'orientation' => 'horizontal', |
| 662 | 'styles' => |
| 663 | [ |
| 664 | 'block' => |
| 665 | [ |
| 666 | 'backgroundColor' => 'transparent', |
| 667 | ], |
| 668 | ], |
| 669 | 'blocks' => |
| 670 | [ |
| 671 | 0 => |
| 672 | [ |
| 673 | 'type' => 'container', |
| 674 | 'orientation' => 'vertical', |
| 675 | 'styles' => |
| 676 | [ |
| 677 | 'block' => |
| 678 | [ |
| 679 | 'backgroundColor' => 'transparent', |
| 680 | ], |
| 681 | ], |
| 682 | 'blocks' => |
| 683 | [ |
| 684 | 0 => |
| 685 | [ |
| 686 | 'type' => 'image', |
| 687 | 'link' => 'http://mailpoet.info/cutting-through-the-smog-what-to-do-to-fight-air-pollution/', |
| 688 | 'src' => $this->template_image_url . '/Coffee-Cup.jpg', |
| 689 | 'alt' => 'Coffee-Cup', |
| 690 | 'fullWidth' => false, |
| 691 | 'width' => '400px', |
| 692 | 'height' => '400px', |
| 693 | 'styles' => |
| 694 | [ |
| 695 | 'block' => |
| 696 | [ |
| 697 | 'textAlign' => 'center', |
| 698 | ], |
| 699 | ], |
| 700 | ], |
| 701 | 1 => |
| 702 | [ |
| 703 | 'type' => 'text', |
| 704 | 'text' => '<p style="text-align: left;"><span style="color: #6fb910;"><strong>Capsule MFG Launches Upgraded Line of Modular Coffee Bars</strong></span></p> |
| 705 | <p style="text-align: left;">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p> |
| 706 | <p style="text-align: left;">Integer vehicula magna sit amet lorem venenatis, quis condimentum odio egestas.</p> |
| 707 | <p style="text-align: left;"></p> |
| 708 | <p><span style="color: #6fb910;"><strong><a href="http://mailpoet.info/" style="color: #6fb910;">Read more</a></strong></span></p>', |
| 709 | ], |
| 710 | ], |
| 711 | ], |
| 712 | 1 => |
| 713 | [ |
| 714 | 'type' => 'container', |
| 715 | 'orientation' => 'vertical', |
| 716 | 'styles' => |
| 717 | [ |
| 718 | 'block' => |
| 719 | [ |
| 720 | 'backgroundColor' => 'transparent', |
| 721 | ], |
| 722 | ], |
| 723 | 'blocks' => |
| 724 | [ |
| 725 | 0 => |
| 726 | [ |
| 727 | 'type' => 'image', |
| 728 | 'link' => 'http://mailpoet.info/cutting-through-the-smog-what-to-do-to-fight-air-pollution/', |
| 729 | 'src' => $this->template_image_url . '/Coffee-Cup.jpg', |
| 730 | 'alt' => 'Coffee-Cup', |
| 731 | 'fullWidth' => false, |
| 732 | 'width' => '400px', |
| 733 | 'height' => '400px', |
| 734 | 'styles' => |
| 735 | [ |
| 736 | 'block' => |
| 737 | [ |
| 738 | 'textAlign' => 'center', |
| 739 | ], |
| 740 | ], |
| 741 | ], |
| 742 | 1 => |
| 743 | [ |
| 744 | 'type' => 'text', |
| 745 | 'text' => '<p style="text-align: left;"><span style="color: #6fb910;"><strong>British-Designed Niche Zero Aims to Leave No Grind Behind</strong></span></p> |
| 746 | <p style="text-align: left;">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p> |
| 747 | <p style="text-align: left;">Integer vehicula magna sit amet lorem venenatis, quis condimentum odio egestas.</p> |
| 748 | <p style="text-align: left;"></p> |
| 749 | <p><strong><span style="color: #6fb910;"><a href="http://mailpoet.info/" style="color: #6fb910;">Read more</a></span></strong></p>', |
| 750 | ], |
| 751 | ], |
| 752 | ], |
| 753 | 2 => |
| 754 | [ |
| 755 | 'type' => 'container', |
| 756 | 'orientation' => 'vertical', |
| 757 | 'styles' => |
| 758 | [ |
| 759 | 'block' => |
| 760 | [ |
| 761 | 'backgroundColor' => 'transparent', |
| 762 | ], |
| 763 | ], |
| 764 | 'blocks' => |
| 765 | [ |
| 766 | 0 => |
| 767 | [ |
| 768 | 'type' => 'image', |
| 769 | 'link' => 'http://mailpoet.info/cutting-through-the-smog-what-to-do-to-fight-air-pollution/', |
| 770 | 'src' => $this->template_image_url . '/Coffee-Cup.jpg', |
| 771 | 'alt' => 'Coffee-Cup', |
| 772 | 'fullWidth' => false, |
| 773 | 'width' => '400px', |
| 774 | 'height' => '400px', |
| 775 | 'styles' => |
| 776 | [ |
| 777 | 'block' => |
| 778 | [ |
| 779 | 'textAlign' => 'center', |
| 780 | ], |
| 781 | ], |
| 782 | ], |
| 783 | 1 => |
| 784 | [ |
| 785 | 'type' => 'text', |
| 786 | 'text' => '<p style="text-align: left;"><span style="color: #6fb910;"><strong>Boyd’s Being Acquired by Farmer Bros for Approximately $58.6M</strong></span></p> |
| 787 | <p style="text-align: left;">Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p> |
| 788 | <p style="text-align: left;">Integer vehicula magna sit amet lorem venenatis, quis condimentum odio egestas.</p> |
| 789 | <p style="text-align: left;"></p> |
| 790 | <p><strong><span style="color: #6fb910;"><a href="http://mailpoet.info/" style="color: #6fb910;">Read more</a></span></strong></p>', |
| 791 | ], |
| 792 | ], |
| 793 | ], |
| 794 | ], |
| 795 | ], |
| 796 | 9 => |
| 797 | [ |
| 798 | 'type' => 'container', |
| 799 | 'orientation' => 'horizontal', |
| 800 | 'styles' => |
| 801 | [ |
| 802 | 'block' => |
| 803 | [ |
| 804 | 'backgroundColor' => 'transparent', |
| 805 | ], |
| 806 | ], |
| 807 | 'blocks' => |
| 808 | [ |
| 809 | 0 => |
| 810 | [ |
| 811 | 'type' => 'container', |
| 812 | 'orientation' => 'vertical', |
| 813 | 'styles' => |
| 814 | [ |
| 815 | 'block' => |
| 816 | [ |
| 817 | 'backgroundColor' => 'transparent', |
| 818 | ], |
| 819 | ], |
| 820 | 'blocks' => |
| 821 | [ |
| 822 | 0 => |
| 823 | [ |
| 824 | 'type' => 'divider', |
| 825 | 'styles' => |
| 826 | [ |
| 827 | 'block' => |
| 828 | [ |
| 829 | 'backgroundColor' => 'transparent', |
| 830 | 'padding' => '22.5px', |
| 831 | 'borderStyle' => 'solid', |
| 832 | 'borderWidth' => '1px', |
| 833 | 'borderColor' => '#d6d6d6', |
| 834 | ], |
| 835 | ], |
| 836 | ], |
| 837 | ], |
| 838 | ], |
| 839 | ], |
| 840 | ], |
| 841 | 10 => |
| 842 | [ |
| 843 | 'type' => 'container', |
| 844 | 'orientation' => 'horizontal', |
| 845 | 'styles' => |
| 846 | [ |
| 847 | 'block' => |
| 848 | [ |
| 849 | 'backgroundColor' => 'transparent', |
| 850 | ], |
| 851 | ], |
| 852 | 'blocks' => |
| 853 | [ |
| 854 | 0 => |
| 855 | [ |
| 856 | 'type' => 'container', |
| 857 | 'orientation' => 'vertical', |
| 858 | 'styles' => |
| 859 | [ |
| 860 | 'block' => |
| 861 | [ |
| 862 | 'backgroundColor' => 'transparent', |
| 863 | ], |
| 864 | ], |
| 865 | 'blocks' => |
| 866 | [ |
| 867 | 0 => |
| 868 | [ |
| 869 | 'type' => 'spacer', |
| 870 | 'styles' => |
| 871 | [ |
| 872 | 'block' => |
| 873 | [ |
| 874 | 'backgroundColor' => 'transparent', |
| 875 | 'height' => '20px', |
| 876 | ], |
| 877 | ], |
| 878 | ], |
| 879 | 1 => |
| 880 | [ |
| 881 | 'type' => 'image', |
| 882 | 'link' => '', |
| 883 | 'src' => $this->template_image_url . '/Coffee-Logo-1.png', |
| 884 | 'alt' => 'Coffee-Logo-1', |
| 885 | 'fullWidth' => false, |
| 886 | 'width' => '120px', |
| 887 | 'height' => '71px', |
| 888 | 'styles' => |
| 889 | [ |
| 890 | 'block' => |
| 891 | [ |
| 892 | 'textAlign' => 'center', |
| 893 | ], |
| 894 | ], |
| 895 | ], |
| 896 | 2 => |
| 897 | [ |
| 898 | 'type' => 'social', |
| 899 | 'iconSet' => 'official', |
| 900 | 'icons' => |
| 901 | [ |
| 902 | 0 => |
| 903 | [ |
| 904 | 'type' => 'socialIcon', |
| 905 | 'iconType' => 'facebook', |
| 906 | 'link' => 'http://www.facebook.com', |
| 907 | 'image' => $this->social_icon_url . '/11-official/Facebook.png', |
| 908 | 'height' => '32px', |
| 909 | 'width' => '32px', |
| 910 | 'text' => 'Facebook', |
| 911 | ], |
| 912 | 1 => |
| 913 | [ |
| 914 | 'type' => 'socialIcon', |
| 915 | 'iconType' => 'twitter', |
| 916 | 'link' => 'http://www.twitter.com', |
| 917 | 'image' => $this->social_icon_url . '/11-official/X.png', |
| 918 | 'height' => '32px', |
| 919 | 'width' => '32px', |
| 920 | 'text' => 'Twitter', |
| 921 | ], |
| 922 | 2 => |
| 923 | [ |
| 924 | 'type' => 'socialIcon', |
| 925 | 'iconType' => 'instagram', |
| 926 | 'link' => 'http://instagram.com', |
| 927 | 'image' => $this->social_icon_url . '/11-official/Instagram.png', |
| 928 | 'height' => '32px', |
| 929 | 'width' => '32px', |
| 930 | 'text' => 'Instagram', |
| 931 | ], |
| 932 | ], |
| 933 | ], |
| 934 | 3 => |
| 935 | [ |
| 936 | 'type' => 'footer', |
| 937 | 'text' => '<p><strong><span style="color: #000000;"><a href="[link:subscription_unsubscribe_url]" style="color: #000000;">' . __("Unsubscribe", 'mailpoet') . '</a> | <a href="[link:subscription_manage_url]" style="color: #000000;">' . __("Manage your subscription", 'mailpoet') . '</a></span></strong><br />' . __("Add your postal address here!", 'mailpoet') . '</p>', |
| 938 | 'styles' => |
| 939 | [ |
| 940 | 'block' => |
| 941 | [ |
| 942 | 'backgroundColor' => 'transparent', |
| 943 | ], |
| 944 | 'text' => |
| 945 | [ |
| 946 | 'fontColor' => '#222222', |
| 947 | 'fontFamily' => 'Arial', |
| 948 | 'fontSize' => '12px', |
| 949 | 'textAlign' => 'center', |
| 950 | ], |
| 951 | 'link' => |
| 952 | [ |
| 953 | 'fontColor' => '#6cb7d4', |
| 954 | 'textDecoration' => 'none', |
| 955 | ], |
| 956 | ], |
| 957 | ], |
| 958 | ], |
| 959 | ], |
| 960 | ], |
| 961 | ], |
| 962 | ], |
| 963 | ], |
| 964 | 'globalStyles' => |
| 965 | [ |
| 966 | 'text' => |
| 967 | [ |
| 968 | 'fontColor' => '#000000', |
| 969 | 'fontFamily' => 'Arial', |
| 970 | 'fontSize' => '14px', |
| 971 | ], |
| 972 | 'h1' => |
| 973 | [ |
| 974 | 'fontColor' => '#111111', |
| 975 | 'fontFamily' => 'Arial', |
| 976 | 'fontSize' => '30px', |
| 977 | ], |
| 978 | 'h2' => |
| 979 | [ |
| 980 | 'fontColor' => '#222222', |
| 981 | 'fontFamily' => 'Arial', |
| 982 | 'fontSize' => '24px', |
| 983 | ], |
| 984 | 'h3' => |
| 985 | [ |
| 986 | 'fontColor' => '#333333', |
| 987 | 'fontFamily' => 'Arial', |
| 988 | 'fontSize' => '18px', |
| 989 | ], |
| 990 | 'link' => |
| 991 | [ |
| 992 | 'fontColor' => '#0f0f0f', |
| 993 | 'textDecoration' => 'underline', |
| 994 | ], |
| 995 | 'wrapper' => |
| 996 | [ |
| 997 | 'backgroundColor' => '#ffffff', |
| 998 | ], |
| 999 | 'body' => |
| 1000 | [ |
| 1001 | 'backgroundColor' => '#ffffff', |
| 1002 | ], |
| 1003 | ], |
| 1004 | ]; |
| 1005 | } |
| 1006 | } |
| 1007 |