| 1 | 1 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,79 @@ |
| 1 |
+<?php |
|
| 2 |
+if (TL_MODE == 'FE') {
|
|
| 3 |
+ $GLOBALS['TL_CSS'][] = 'files/base/layout/css/elements/custom-elements/ce_rsce_specialimagetext.min.css|static'; |
|
| 4 |
+} |
|
| 5 |
+?> |
|
| 6 |
+ |
|
| 7 |
+ |
|
| 8 |
+<div <?php echo $this->cssID; ?> class="content--element <?php echo $this->class; ?>"> |
|
| 9 |
+ <div class="ce--inner container force-container"> |
|
| 10 |
+ <?php if ($this->headline || $this->subline || $this->topline) : ?> |
|
| 11 |
+ <div class="ce--headline" |
|
| 12 |
+ data-aos="<?php if ($this->animation_type) : ?><?php echo $this->animation_type; ?><?php else : ?>animate__fadeInUp<?php endif; ?>"> |
|
| 13 |
+ |
|
| 14 |
+ <?php if ($this->topline) : ?> |
|
| 15 |
+ <span class="ce--topline"><?php echo $this->topline; ?></span> |
|
| 16 |
+ <?php endif; ?> |
|
| 17 |
+ |
|
| 18 |
+ <?php if ($this->headline) : ?> |
|
| 19 |
+ <<?php echo($this->hl); ?>> |
|
| 20 |
+ <?php echo($this->headline); ?> |
|
| 21 |
+ </<?php echo($this->hl); ?>> |
|
| 22 |
+ <?php endif; ?> |
|
| 23 |
+ <?php if ($this->subline) : ?> |
|
| 24 |
+ <span class=" ce--subline"><?php echo $this->subline; ?></span> |
|
| 25 |
+ <?php endif; ?> |
|
| 26 |
+ </div> |
|
| 27 |
+ <?php endif; ?> |
|
| 28 |
+ <div class="ce--specialimagetext "> |
|
| 29 |
+ <div class="row"> |
|
| 30 |
+ <div class="col-12 col-md-7"> |
|
| 31 |
+ <div class="image--wrapper image-left"> |
|
| 32 |
+ <img data-aos="<?php if ($this->animation_type) : ?><?php echo $this->animation_type; ?><?php else : ?>animate__fadeInUp<?php endif; ?>" |
|
| 33 |
+ class="lazy" |
|
| 34 |
+ data-src="<?= Image::get(FilesModel::findByUuid($this->image_left)->path, null, null, null); ?>"> |
|
| 35 |
+ </div> |
|
| 36 |
+ </div> |
|
| 37 |
+ <div class="col-12 col-md-5"> |
|
| 38 |
+ <div class="content--wrapper"> |
|
| 39 |
+ <?php if ($this->ce_headline || $this->ce_subline) : ?> |
|
| 40 |
+ <div class="headline--wrapper ce--headline" |
|
| 41 |
+ data-aos="<?php if ($this->animation_type) : ?><?php echo $this->animation_type; ?><?php else : ?>animate__fadeInDown<?php endif; ?>"> |
|
| 42 |
+ <?php if ($this->ce_headline) : ?> |
|
| 43 |
+ <?php if (!$this->onlystyle) : ?> |
|
| 44 |
+ <<?php echo $this->headline_type; ?>> |
|
| 45 |
+ <?php echo $this->ce_headline; ?> |
|
| 46 |
+ </<?php echo $this->headline_type; ?>> |
|
| 47 |
+ <?php if ($this->ce_subline) : ?> |
|
| 48 |
+ <span class="ce--subline" |
|
| 49 |
+ data-aos="<?php if ($this->animation_type) : ?><?php echo $this->animation_type; ?><?php else : ?>animate__fadeInUp<?php endif; ?>"> |
|
| 50 |
+ <?php echo $this->ce_subline; ?> |
|
| 51 |
+ </span> |
|
| 52 |
+ <?php endif; ?> |
|
| 53 |
+ <?php else : ?> |
|
| 54 |
+ <span class="<?php echo $this->headline_type; ?>"> |
|
| 55 |
+ <?php echo $this->ce_headline; ?> |
|
| 56 |
+ </span> |
|
| 57 |
+ <?php if ($this->ce_subline) : ?> |
|
| 58 |
+ <span class="ce--subline" |
|
| 59 |
+ data-aos="<?php if ($this->animation_type) : ?><?php echo $this->animation_type; ?><?php else : ?>animate__fadeInUp<?php endif; ?>"> |
|
| 60 |
+ <?php echo $this->ce_subline; ?> |
|
| 61 |
+ </span> |
|
| 62 |
+ <?php endif; ?><?php endif; ?> |
|
| 63 |
+ <?php endif; ?> |
|
| 64 |
+ </div> |
|
| 65 |
+ <?php endif; ?> |
|
| 66 |
+ <div class="text--wrapper" |
|
| 67 |
+ data-aos="<?php if ($this->animation_type) : ?><?php echo $this->animation_type; ?><?php else : ?>animate__fadeInUp<?php endif; ?>"> |
|
| 68 |
+ <?php echo $this->text; ?> |
|
| 69 |
+ </div> |
|
| 70 |
+ </div> |
|
| 71 |
+ </div> |
|
| 72 |
+ <div class="col-12"> |
|
| 73 |
+ <div class="image--wrapper image-bottom"> |
|
| 74 |
+ <img data-aos="animate__fadeInUp" class="lazy" |
|
| 75 |
+ data-src="<?= Image::get(FilesModel::findByUuid($this->image_bottom)->path, null, null, null); ?>"> |
|
| 76 |
+ </div> |
|
| 77 |
+ </div> |
|
| 78 |
+ </div> |
|
| 79 |
+</div></div></div> |
|
| 0 | 80 |
\ No newline at end of file |