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
YogaStudio.php
798 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 YogaStudio { |
| 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/yoga_studio'; |
| 17 | $this->social_icon_url = $assets_url . '/img/newsletter_editor/social-icons'; |
| 18 | } |
| 19 | |
| 20 | public function get() { |
| 21 | return [ |
| 22 | 'name' => __("Yoga Studio", '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 | 0 => [ |
| 42 | 'type' => 'container', |
| 43 | 'orientation' => 'horizontal', |
| 44 | 'styles' => [ |
| 45 | 'block' => [ |
| 46 | 'backgroundColor' => '#f8f8f8', |
| 47 | ], |
| 48 | ], |
| 49 | 'blocks' => [ |
| 50 | 0 => [ |
| 51 | 'type' => 'container', |
| 52 | 'orientation' => 'vertical', |
| 53 | 'styles' => [ |
| 54 | 'block' => [ |
| 55 | 'backgroundColor' => 'transparent', |
| 56 | ], |
| 57 | ], |
| 58 | 'blocks' => [ |
| 59 | 0 => [ |
| 60 | 'type' => 'spacer', |
| 61 | 'styles' => [ |
| 62 | 'block' => [ |
| 63 | 'backgroundColor' => '#1e2937', |
| 64 | 'height' => '20px', |
| 65 | ], |
| 66 | ], |
| 67 | ], |
| 68 | ], |
| 69 | ], |
| 70 | ], |
| 71 | ], |
| 72 | 1 => [ |
| 73 | 'type' => 'container', |
| 74 | 'orientation' => 'horizontal', |
| 75 | 'styles' => [ |
| 76 | 'block' => [ |
| 77 | 'backgroundColor' => '#ffffff', |
| 78 | ], |
| 79 | ], |
| 80 | 'blocks' => [ |
| 81 | 0 => [ |
| 82 | 'type' => 'container', |
| 83 | 'orientation' => 'vertical', |
| 84 | 'styles' => [ |
| 85 | 'block' => [ |
| 86 | 'backgroundColor' => 'transparent', |
| 87 | ], |
| 88 | ], |
| 89 | 'blocks' => [ |
| 90 | 0 => [ |
| 91 | 'type' => 'image', |
| 92 | 'link' => '', |
| 93 | 'src' => $this->template_image_url . '/yoga-1.png', |
| 94 | 'alt' => 'yoga-1', |
| 95 | 'fullWidth' => true, |
| 96 | 'width' => '1280px', |
| 97 | 'height' => '740px', |
| 98 | 'styles' => [ |
| 99 | 'block' => [ |
| 100 | 'textAlign' => 'center', |
| 101 | ], |
| 102 | ], |
| 103 | ], |
| 104 | 1 => [ |
| 105 | 'type' => 'spacer', |
| 106 | 'styles' => [ |
| 107 | 'block' => [ |
| 108 | 'backgroundColor' => 'transparent', |
| 109 | 'height' => '30px', |
| 110 | ], |
| 111 | ], |
| 112 | ], |
| 113 | 2 => [ |
| 114 | 'type' => 'text', |
| 115 | 'text' => '<h2 style="text-align: center;"><strong>Here\'s your classes for this week:</strong></h2>', |
| 116 | ], |
| 117 | 3 => [ |
| 118 | 'type' => 'spacer', |
| 119 | 'styles' => [ |
| 120 | 'block' => [ |
| 121 | 'backgroundColor' => 'transparent', |
| 122 | 'height' => '20px', |
| 123 | ], |
| 124 | ], |
| 125 | ], |
| 126 | ], |
| 127 | ], |
| 128 | ], |
| 129 | ], |
| 130 | 2 => [ |
| 131 | 'type' => 'container', |
| 132 | 'orientation' => 'horizontal', |
| 133 | 'styles' => [ |
| 134 | 'block' => [ |
| 135 | 'backgroundColor' => 'transparent', |
| 136 | ], |
| 137 | ], |
| 138 | 'blocks' => [ |
| 139 | 0 => [ |
| 140 | 'type' => 'container', |
| 141 | 'orientation' => 'vertical', |
| 142 | 'styles' => [ |
| 143 | 'block' => [ |
| 144 | 'backgroundColor' => 'transparent', |
| 145 | ], |
| 146 | ], |
| 147 | 'blocks' => [ |
| 148 | 0 => [ |
| 149 | 'type' => 'text', |
| 150 | 'text' => '<h3><strong><span style="color: #83bd31;"><em>Weekdays</em></span></strong></h3> |
| 151 | <p><strong>Monday</strong>: 7am, 9am, 11am, 3pm and 5pm.</p> |
| 152 | <p><strong>Tuesday</strong>: 7am, 9am, 11am, 3pm and 5pm.</p> |
| 153 | <p><strong>Wednesday</strong>: 7am, 9am, 11am, 3pm and 5pm.</p> |
| 154 | <p><strong>Thursday</strong>: CLOSED FOR PRIVATE CLASS.</p> |
| 155 | <p><strong>Friday</strong>: 7am, 9am, 11am, and 3pm.</p>', |
| 156 | ], |
| 157 | ], |
| 158 | ], |
| 159 | 1 => [ |
| 160 | 'type' => 'container', |
| 161 | 'orientation' => 'vertical', |
| 162 | 'styles' => [ |
| 163 | 'block' => [ |
| 164 | 'backgroundColor' => 'transparent', |
| 165 | ], |
| 166 | ], |
| 167 | 'blocks' => [ |
| 168 | 0 => [ |
| 169 | 'type' => 'text', |
| 170 | 'text' => '<h3><strong><span style="color: #83bd31;"><em>Weekend</em></span></strong></h3> |
| 171 | <p><strong>Saturday</strong>: 7am, 9am, 11am, 3pm and 5pm.</p> |
| 172 | <p><strong>Sunday</strong>: 7am, 9am, 11am, 3pm and 5pm.</p> |
| 173 | <p></p>', |
| 174 | ], |
| 175 | ], |
| 176 | ], |
| 177 | ], |
| 178 | ], |
| 179 | 3 => [ |
| 180 | 'type' => 'container', |
| 181 | 'orientation' => 'horizontal', |
| 182 | 'styles' => [ |
| 183 | 'block' => [ |
| 184 | 'backgroundColor' => 'transparent', |
| 185 | ], |
| 186 | ], |
| 187 | 'blocks' => [ |
| 188 | 0 => [ |
| 189 | 'type' => 'container', |
| 190 | 'orientation' => 'vertical', |
| 191 | 'styles' => [ |
| 192 | 'block' => [ |
| 193 | 'backgroundColor' => 'transparent', |
| 194 | ], |
| 195 | ], |
| 196 | 'blocks' => [ |
| 197 | 0 => [ |
| 198 | 'type' => 'spacer', |
| 199 | 'styles' => [ |
| 200 | 'block' => [ |
| 201 | 'backgroundColor' => 'transparent', |
| 202 | 'height' => '20px', |
| 203 | ], |
| 204 | ], |
| 205 | ], |
| 206 | 1 => [ |
| 207 | 'type' => 'divider', |
| 208 | 'styles' => [ |
| 209 | 'block' => [ |
| 210 | 'backgroundColor' => 'transparent', |
| 211 | 'padding' => '22px', |
| 212 | 'borderStyle' => 'solid', |
| 213 | 'borderWidth' => '1px', |
| 214 | 'borderColor' => '#d5d5d5', |
| 215 | ], |
| 216 | ], |
| 217 | ], |
| 218 | 2 => [ |
| 219 | 'type' => 'text', |
| 220 | 'text' => '<h3 style="text-align: center;"><span style="font-weight: 600;">Meet the instructors</span></h3>', |
| 221 | ], |
| 222 | ], |
| 223 | ], |
| 224 | ], |
| 225 | ], |
| 226 | 4 => [ |
| 227 | 'type' => 'container', |
| 228 | 'orientation' => 'horizontal', |
| 229 | 'styles' => [ |
| 230 | 'block' => [ |
| 231 | 'backgroundColor' => 'transparent', |
| 232 | ], |
| 233 | ], |
| 234 | 'blocks' => [ |
| 235 | 0 => [ |
| 236 | 'type' => 'container', |
| 237 | 'orientation' => 'vertical', |
| 238 | 'styles' => [ |
| 239 | 'block' => [ |
| 240 | 'backgroundColor' => 'transparent', |
| 241 | ], |
| 242 | ], |
| 243 | 'blocks' => [ |
| 244 | 0 => [ |
| 245 | 'type' => 'spacer', |
| 246 | 'styles' => [ |
| 247 | 'block' => [ |
| 248 | 'backgroundColor' => 'transparent', |
| 249 | 'height' => '20px', |
| 250 | ], |
| 251 | ], |
| 252 | ], |
| 253 | 1 => [ |
| 254 | 'type' => 'image', |
| 255 | 'link' => '', |
| 256 | 'src' => $this->template_image_url . '/yoga-person-1.png', |
| 257 | 'alt' => 'yoga-person-1', |
| 258 | 'fullWidth' => false, |
| 259 | 'width' => '400px', |
| 260 | 'height' => '400px', |
| 261 | 'styles' => [ |
| 262 | 'block' => [ |
| 263 | 'textAlign' => 'center', |
| 264 | ], |
| 265 | ], |
| 266 | ], |
| 267 | 2 => [ |
| 268 | 'type' => 'text', |
| 269 | 'text' => '<h3 style="text-align: center;"><span style="color: #83bd31;"><span style="font-weight: 600;">Maria Smith</span></span></h3> |
| 270 | <p style="text-align: center;">Nullam hendrerit feugiat feugiat. Praesent mollis ante lacus, quis tempor leo sagittis vel. Donec sagittis eros at felis venenatis ultricies.</p>', |
| 271 | ], |
| 272 | 3 => [ |
| 273 | 'type' => 'button', |
| 274 | 'text' => 'Find Out More', |
| 275 | 'url' => '', |
| 276 | 'styles' => [ |
| 277 | 'block' => [ |
| 278 | 'backgroundColor' => '#83bd31', |
| 279 | 'borderColor' => '#83bd31', |
| 280 | 'borderWidth' => '1px', |
| 281 | 'borderRadius' => '40px', |
| 282 | 'borderStyle' => 'solid', |
| 283 | 'width' => '180px', |
| 284 | 'lineHeight' => '30px', |
| 285 | 'fontColor' => '#ffffff', |
| 286 | 'fontFamily' => 'Arial', |
| 287 | 'fontSize' => '14px', |
| 288 | 'fontWeight' => 'normal', |
| 289 | 'textAlign' => 'center', |
| 290 | ], |
| 291 | ], |
| 292 | ], |
| 293 | 4 => [ |
| 294 | 'type' => 'spacer', |
| 295 | 'styles' => [ |
| 296 | 'block' => [ |
| 297 | 'backgroundColor' => 'transparent', |
| 298 | 'height' => '30px', |
| 299 | ], |
| 300 | ], |
| 301 | ], |
| 302 | ], |
| 303 | ], |
| 304 | 1 => [ |
| 305 | 'type' => 'container', |
| 306 | 'orientation' => 'vertical', |
| 307 | 'styles' => [ |
| 308 | 'block' => [ |
| 309 | 'backgroundColor' => 'transparent', |
| 310 | ], |
| 311 | ], |
| 312 | 'blocks' => [ |
| 313 | 0 => [ |
| 314 | 'type' => 'spacer', |
| 315 | 'styles' => [ |
| 316 | 'block' => [ |
| 317 | 'backgroundColor' => 'transparent', |
| 318 | 'height' => '20px', |
| 319 | ], |
| 320 | ], |
| 321 | ], |
| 322 | 1 => [ |
| 323 | 'type' => 'image', |
| 324 | 'link' => '', |
| 325 | 'src' => $this->template_image_url . '/yoga-person-2.png', |
| 326 | 'alt' => 'yoga-person-2', |
| 327 | 'fullWidth' => false, |
| 328 | 'width' => '400px', |
| 329 | 'height' => '400px', |
| 330 | 'styles' => [ |
| 331 | 'block' => [ |
| 332 | 'textAlign' => 'center', |
| 333 | ], |
| 334 | ], |
| 335 | ], |
| 336 | 2 => [ |
| 337 | 'type' => 'text', |
| 338 | 'text' => '<h3 style="text-align: center;"><span style="color: #83bd31;"><span style="font-weight: 600;">Fiona Davies</span></span></h3> |
| 339 | <p style="text-align: center;">Nullam hendrerit feugiat feugiat. Praesent mollis ante lacus, quis tempor leo sagittis vel. Donec sagittis eros at felis venenatis ultricies.</p>', |
| 340 | ], |
| 341 | 3 => [ |
| 342 | 'type' => 'button', |
| 343 | 'text' => 'Find Out More', |
| 344 | 'url' => '', |
| 345 | 'styles' => [ |
| 346 | 'block' => [ |
| 347 | 'backgroundColor' => '#83bd31', |
| 348 | 'borderColor' => '#83bd31', |
| 349 | 'borderWidth' => '1px', |
| 350 | 'borderRadius' => '40px', |
| 351 | 'borderStyle' => 'solid', |
| 352 | 'width' => '180px', |
| 353 | 'lineHeight' => '30px', |
| 354 | 'fontColor' => '#ffffff', |
| 355 | 'fontFamily' => 'Arial', |
| 356 | 'fontSize' => '14px', |
| 357 | 'fontWeight' => 'normal', |
| 358 | 'textAlign' => 'center', |
| 359 | ], |
| 360 | ], |
| 361 | ], |
| 362 | 4 => [ |
| 363 | 'type' => 'spacer', |
| 364 | 'styles' => [ |
| 365 | 'block' => [ |
| 366 | 'backgroundColor' => 'transparent', |
| 367 | 'height' => '30px', |
| 368 | ], |
| 369 | ], |
| 370 | ], |
| 371 | ], |
| 372 | ], |
| 373 | 2 => [ |
| 374 | 'type' => 'container', |
| 375 | 'orientation' => 'vertical', |
| 376 | 'styles' => [ |
| 377 | 'block' => [ |
| 378 | 'backgroundColor' => 'transparent', |
| 379 | ], |
| 380 | ], |
| 381 | 'blocks' => [ |
| 382 | 0 => [ |
| 383 | 'type' => 'spacer', |
| 384 | 'styles' => [ |
| 385 | 'block' => [ |
| 386 | 'backgroundColor' => 'transparent', |
| 387 | 'height' => '20px', |
| 388 | ], |
| 389 | ], |
| 390 | ], |
| 391 | 1 => [ |
| 392 | 'type' => 'image', |
| 393 | 'link' => '', |
| 394 | 'src' => $this->template_image_url . '/yoga-person-3.png', |
| 395 | 'alt' => 'yoga-person-3', |
| 396 | 'fullWidth' => false, |
| 397 | 'width' => '400px', |
| 398 | 'height' => '400px', |
| 399 | 'styles' => [ |
| 400 | 'block' => [ |
| 401 | 'textAlign' => 'center', |
| 402 | ], |
| 403 | ], |
| 404 | ], |
| 405 | 2 => [ |
| 406 | 'type' => 'text', |
| 407 | 'text' => '<h3 style="text-align: center;"><span style="color: #83bd31;"><span style="font-weight: 600;">Matthew Johnson</span></span></h3> |
| 408 | <p style="text-align: center;">Nullam hendrerit feugiat feugiat. Praesent mollis ante lacus, quis tempor leo sagittis vel. Donec sagittis eros at felis venenatis ultricies.</p>', |
| 409 | ], |
| 410 | 3 => [ |
| 411 | 'type' => 'button', |
| 412 | 'text' => 'Find Out More', |
| 413 | 'url' => '', |
| 414 | 'styles' => [ |
| 415 | 'block' => [ |
| 416 | 'backgroundColor' => '#83bd31', |
| 417 | 'borderColor' => '#83bd31', |
| 418 | 'borderWidth' => '1px', |
| 419 | 'borderRadius' => '40px', |
| 420 | 'borderStyle' => 'solid', |
| 421 | 'width' => '180px', |
| 422 | 'lineHeight' => '31px', |
| 423 | 'fontColor' => '#ffffff', |
| 424 | 'fontFamily' => 'Arial', |
| 425 | 'fontSize' => '14px', |
| 426 | 'fontWeight' => 'normal', |
| 427 | 'textAlign' => 'center', |
| 428 | ], |
| 429 | ], |
| 430 | ], |
| 431 | 4 => [ |
| 432 | 'type' => 'spacer', |
| 433 | 'styles' => [ |
| 434 | 'block' => [ |
| 435 | 'backgroundColor' => 'transparent', |
| 436 | 'height' => '30px', |
| 437 | ], |
| 438 | ], |
| 439 | ], |
| 440 | ], |
| 441 | ], |
| 442 | ], |
| 443 | ], |
| 444 | 5 => [ |
| 445 | 'type' => 'container', |
| 446 | 'orientation' => 'horizontal', |
| 447 | 'styles' => [ |
| 448 | 'block' => [ |
| 449 | 'backgroundColor' => '#83bd31', |
| 450 | ], |
| 451 | ], |
| 452 | 'blocks' => [ |
| 453 | 0 => [ |
| 454 | 'type' => 'container', |
| 455 | 'orientation' => 'vertical', |
| 456 | 'styles' => [ |
| 457 | 'block' => [ |
| 458 | 'backgroundColor' => 'transparent', |
| 459 | ], |
| 460 | ], |
| 461 | 'blocks' => [ |
| 462 | 0 => [ |
| 463 | 'type' => 'spacer', |
| 464 | 'styles' => [ |
| 465 | 'block' => [ |
| 466 | 'backgroundColor' => 'transparent', |
| 467 | 'height' => '40px', |
| 468 | ], |
| 469 | ], |
| 470 | ], |
| 471 | 1 => [ |
| 472 | 'type' => 'text', |
| 473 | 'text' => '<p><strong>Pose of the week:</strong></p> |
| 474 | <h2>Virabhadrasana I</h2> |
| 475 | <p>The myth is that the powerful priest Daksha made a great yagna (ritual sacrifice) but did not invite his youngest daughter Sati and her husband Shiva, the supreme ruler of the universe. Sati found out and decided to go alone to the yagna.</p> |
| 476 | <p></p> |
| 477 | <p>When she arrived, Sati entered into an argument with her father. Unable to withstand his insults, she spoke a vow to her father, “Since it was you who gave me this body, I no longer wish to be associated with it.”</p>', |
| 478 | ], |
| 479 | 2 => [ |
| 480 | 'type' => 'spacer', |
| 481 | 'styles' => [ |
| 482 | 'block' => [ |
| 483 | 'backgroundColor' => 'transparent', |
| 484 | 'height' => '40px', |
| 485 | ], |
| 486 | ], |
| 487 | ], |
| 488 | ], |
| 489 | ], |
| 490 | 1 => [ |
| 491 | 'type' => 'container', |
| 492 | 'orientation' => 'vertical', |
| 493 | 'styles' => [ |
| 494 | 'block' => [ |
| 495 | 'backgroundColor' => 'transparent', |
| 496 | ], |
| 497 | ], |
| 498 | 'blocks' => [ |
| 499 | 0 => [ |
| 500 | 'type' => 'spacer', |
| 501 | 'styles' => [ |
| 502 | 'block' => [ |
| 503 | 'backgroundColor' => 'transparent', |
| 504 | 'height' => '40px', |
| 505 | ], |
| 506 | ], |
| 507 | ], |
| 508 | 1 => [ |
| 509 | 'type' => 'image', |
| 510 | 'link' => '', |
| 511 | 'src' => $this->template_image_url . '/yoga-pose.png', |
| 512 | 'alt' => 'yoga-pose', |
| 513 | 'fullWidth' => false, |
| 514 | 'width' => '400px', |
| 515 | 'height' => '400px', |
| 516 | 'styles' => [ |
| 517 | 'block' => [ |
| 518 | 'textAlign' => 'center', |
| 519 | ], |
| 520 | ], |
| 521 | ], |
| 522 | 2 => [ |
| 523 | 'type' => 'spacer', |
| 524 | 'styles' => [ |
| 525 | 'block' => [ |
| 526 | 'backgroundColor' => 'transparent', |
| 527 | 'height' => '35px', |
| 528 | ], |
| 529 | ], |
| 530 | ], |
| 531 | ], |
| 532 | ], |
| 533 | ], |
| 534 | ], |
| 535 | 6 => [ |
| 536 | 'type' => 'container', |
| 537 | 'orientation' => 'horizontal', |
| 538 | 'styles' => [ |
| 539 | 'block' => [ |
| 540 | 'backgroundColor' => '#ffffff', |
| 541 | ], |
| 542 | ], |
| 543 | 'blocks' => [ |
| 544 | 0 => [ |
| 545 | 'type' => 'container', |
| 546 | 'orientation' => 'vertical', |
| 547 | 'styles' => [ |
| 548 | 'block' => [ |
| 549 | 'backgroundColor' => 'transparent', |
| 550 | ], |
| 551 | ], |
| 552 | 'blocks' => [ |
| 553 | 0 => [ |
| 554 | 'type' => 'spacer', |
| 555 | 'styles' => [ |
| 556 | 'block' => [ |
| 557 | 'backgroundColor' => 'transparent', |
| 558 | 'height' => '40px', |
| 559 | ], |
| 560 | ], |
| 561 | ], |
| 562 | 1 => [ |
| 563 | 'type' => 'text', |
| 564 | 'text' => '<h3 style="text-align: center;"><span style="font-weight: 600;">Quote of the week</span></h3>', |
| 565 | ], |
| 566 | 2 => [ |
| 567 | 'type' => 'text', |
| 568 | 'text' => '<h2 style="text-align: center;"><em>Be a lamp to yourself. Be your own confidence. Hold on to the truth within yourself as to the only truth.</em></h2> |
| 569 | <p style="text-align: center;"><span style="font-family: Arial, sans-serif; font-size: 14px; text-align: center; color: #999999;">Buddha</span><em></em></p>', |
| 570 | ], |
| 571 | 3 => [ |
| 572 | 'type' => 'spacer', |
| 573 | 'styles' => [ |
| 574 | 'block' => [ |
| 575 | 'backgroundColor' => '#ffffff', |
| 576 | 'height' => '20px', |
| 577 | ], |
| 578 | ], |
| 579 | ], |
| 580 | 4 => [ |
| 581 | 'type' => 'divider', |
| 582 | 'styles' => [ |
| 583 | 'block' => [ |
| 584 | 'backgroundColor' => '#d5d5d5', |
| 585 | 'padding' => '15px', |
| 586 | 'borderStyle' => 'solid', |
| 587 | 'borderWidth' => '1px', |
| 588 | 'borderColor' => '#b3b3b3', |
| 589 | ], |
| 590 | ], |
| 591 | ], |
| 592 | ], |
| 593 | ], |
| 594 | ], |
| 595 | ], |
| 596 | 7 => [ |
| 597 | 'type' => 'container', |
| 598 | 'orientation' => 'horizontal', |
| 599 | 'styles' => [ |
| 600 | 'block' => [ |
| 601 | 'backgroundColor' => '#d5d5d5', |
| 602 | ], |
| 603 | ], |
| 604 | 'blocks' => [ |
| 605 | 0 => [ |
| 606 | 'type' => 'container', |
| 607 | 'orientation' => 'vertical', |
| 608 | 'styles' => [ |
| 609 | 'block' => [ |
| 610 | 'backgroundColor' => 'transparent', |
| 611 | ], |
| 612 | ], |
| 613 | 'blocks' => [ |
| 614 | 0 => [ |
| 615 | 'type' => 'image', |
| 616 | 'link' => '', |
| 617 | 'src' => $this->template_image_url . '/yoga-logo-small.png', |
| 618 | 'alt' => 'yoga-logo-small', |
| 619 | 'fullWidth' => false, |
| 620 | 'width' => '50px', |
| 621 | 'height' => '50px', |
| 622 | 'styles' => [ |
| 623 | 'block' => [ |
| 624 | 'textAlign' => 'center', |
| 625 | ], |
| 626 | ], |
| 627 | ], |
| 628 | 1 => [ |
| 629 | 'type' => 'social', |
| 630 | 'iconSet' => 'official', |
| 631 | 'icons' => [ |
| 632 | 0 => [ |
| 633 | 'type' => 'socialIcon', |
| 634 | 'iconType' => 'facebook', |
| 635 | 'link' => 'http://www.facebook.com', |
| 636 | 'image' => $this->social_icon_url . '/11-official/Facebook.png', |
| 637 | 'height' => '32px', |
| 638 | 'width' => '32px', |
| 639 | 'text' => 'Facebook', |
| 640 | ], |
| 641 | 1 => [ |
| 642 | 'type' => 'socialIcon', |
| 643 | 'iconType' => 'twitter', |
| 644 | 'link' => 'http://www.twitter.com', |
| 645 | 'image' => $this->social_icon_url . '/11-official/X.png', |
| 646 | 'height' => '32px', |
| 647 | 'width' => '32px', |
| 648 | 'text' => 'Twitter', |
| 649 | ], |
| 650 | 2 => [ |
| 651 | 'type' => 'socialIcon', |
| 652 | 'iconType' => 'instagram', |
| 653 | 'link' => 'http://instagram.com', |
| 654 | 'image' => $this->social_icon_url . '/11-official/Instagram.png', |
| 655 | 'height' => '32px', |
| 656 | 'width' => '32px', |
| 657 | 'text' => 'Instagram', |
| 658 | ], |
| 659 | 3 => [ |
| 660 | 'type' => 'socialIcon', |
| 661 | 'iconType' => 'youtube', |
| 662 | 'link' => 'http://www.youtube.com', |
| 663 | 'image' => $this->social_icon_url . '/11-official/Youtube.png', |
| 664 | 'height' => '32px', |
| 665 | 'width' => '32px', |
| 666 | 'text' => 'Youtube', |
| 667 | ], |
| 668 | ], |
| 669 | ], |
| 670 | ], |
| 671 | ], |
| 672 | 1 => [ |
| 673 | 'type' => 'container', |
| 674 | 'orientation' => 'vertical', |
| 675 | 'styles' => [ |
| 676 | 'block' => [ |
| 677 | 'backgroundColor' => 'transparent', |
| 678 | ], |
| 679 | ], |
| 680 | 'blocks' => [ |
| 681 | 0 => [ |
| 682 | 'type' => 'text', |
| 683 | 'text' => '<p style="font-size: 13px; text-align: center;"><strong>Yoga Studio</strong></p> |
| 684 | <p style="font-size: 11px; text-align: center;">Address Line 1</p> |
| 685 | <p style="font-size: 11px; text-align: center;">Address Line 2</p> |
| 686 | <p style="font-size: 11px; text-align: center;">City/Town</p> |
| 687 | <p style="font-size: 11px; text-align: center;">Country</p>', |
| 688 | ], |
| 689 | ], |
| 690 | ], |
| 691 | 2 => [ |
| 692 | 'type' => 'container', |
| 693 | 'orientation' => 'vertical', |
| 694 | 'styles' => [ |
| 695 | 'block' => [ |
| 696 | 'backgroundColor' => 'transparent', |
| 697 | ], |
| 698 | ], |
| 699 | 'blocks' => [ |
| 700 | 0 => [ |
| 701 | 'type' => 'footer', |
| 702 | 'text' => '<p><a href="[link:subscription_unsubscribe_url]">' . __("Unsubscribe", 'mailpoet') . '</a></p><p><a href="[link:subscription_manage_url]">' . __("Manage your subscription", 'mailpoet') . '</a></p>', |
| 703 | 'styles' => [ |
| 704 | 'block' => [ |
| 705 | 'backgroundColor' => 'transparent', |
| 706 | ], |
| 707 | 'text' => [ |
| 708 | 'fontColor' => '#222222', |
| 709 | 'fontFamily' => 'Arial', |
| 710 | 'fontSize' => '11px', |
| 711 | 'textAlign' => 'center', |
| 712 | ], |
| 713 | 'link' => [ |
| 714 | 'fontColor' => '#000000', |
| 715 | 'textDecoration' => 'underline', |
| 716 | ], |
| 717 | ], |
| 718 | ], |
| 719 | ], |
| 720 | ], |
| 721 | ], |
| 722 | ], |
| 723 | 8 => [ |
| 724 | 'type' => 'container', |
| 725 | 'orientation' => 'horizontal', |
| 726 | 'styles' => [ |
| 727 | 'block' => [ |
| 728 | 'backgroundColor' => 'transparent', |
| 729 | ], |
| 730 | ], |
| 731 | 'blocks' => [ |
| 732 | 0 => [ |
| 733 | 'type' => 'container', |
| 734 | 'orientation' => 'vertical', |
| 735 | 'styles' => [ |
| 736 | 'block' => [ |
| 737 | 'backgroundColor' => 'transparent', |
| 738 | ], |
| 739 | ], |
| 740 | 'blocks' => [ |
| 741 | 0 => [ |
| 742 | 'type' => 'divider', |
| 743 | 'styles' => [ |
| 744 | 'block' => [ |
| 745 | 'backgroundColor' => '#d5d5d5', |
| 746 | 'padding' => '13px', |
| 747 | 'borderStyle' => 'solid', |
| 748 | 'borderWidth' => '1px', |
| 749 | 'borderColor' => '#aaaaaa', |
| 750 | ], |
| 751 | ], |
| 752 | ], |
| 753 | ], |
| 754 | ], |
| 755 | ], |
| 756 | ], |
| 757 | ], |
| 758 | ], |
| 759 | 'globalStyles' => [ |
| 760 | 'text' => [ |
| 761 | 'fontColor' => '#1e2937', |
| 762 | 'fontFamily' => 'Arial', |
| 763 | 'fontSize' => '13px', |
| 764 | ], |
| 765 | 'h1' => [ |
| 766 | 'fontColor' => '#1e2937', |
| 767 | 'fontFamily' => 'Arial', |
| 768 | 'fontSize' => '30px', |
| 769 | ], |
| 770 | 'h2' => [ |
| 771 | 'fontColor' => '#1e2937', |
| 772 | 'fontFamily' => 'Arial', |
| 773 | 'fontSize' => '24px', |
| 774 | ], |
| 775 | 'h3' => [ |
| 776 | 'fontColor' => '#1e2937', |
| 777 | 'fontFamily' => 'Arial', |
| 778 | 'fontSize' => '20px', |
| 779 | ], |
| 780 | 'link' => [ |
| 781 | 'fontColor' => '#83bd31', |
| 782 | 'textDecoration' => 'underline', |
| 783 | ], |
| 784 | 'wrapper' => [ |
| 785 | 'backgroundColor' => '#ffffff', |
| 786 | ], |
| 787 | 'body' => [ |
| 788 | 'backgroundColor' => '#1e2937', |
| 789 | ], |
| 790 | ], |
| 791 | ]; |
| 792 | } |
| 793 | |
| 794 | private function getThumbnail() { |
| 795 | return $this->template_image_url . '/thumbnail.20190411-1500.jpg'; |
| 796 | } |
| 797 | } |
| 798 |