system/modules/hideaway/templates/ce_hideaway_country_header_reader.html5 line 5

Open in your IDE?
  1. <section class="hero <?= $this->class ?>"<?= $this->cssID ?>>
  2. <?php if ($this->entry['image_path']): ?>
  3. <div class="hero__background">
  4. <img src="<?= $this->getImage($this->entry['image_path'], $width, $height, 'center_center'); ?>"
  5. alt="<?= ($this->entry['row']['headline_'.$_COOKIE['target']] ? $this->entry['row']['headline_'.$_COOKIE['target']] : $this->entry['row']['headline_family']) ?>"
  6. loading="eager">
  7. </div>
  8. <?php endif; ?>
  9. <div class="hero__overlay"></div>
  10. <div class="container hero__content">
  11. <div class="row">
  12. <div class="col-12 col-lg-8">
  13. <ul class="breadcrumb">
  14. <li class="first"><a href="/">Home</a></li>
  15. <?php foreach($this->entry['breadcrumb'] as $bce): ?>
  16. <li><a href="<?php echo $bce['url'] ?>"><?php echo $bce['title'] ?></a></li>
  17. <?php endforeach ?>
  18. <li class="last"><span><?php echo $this->entry['row']['title'] ?><span></li>
  19. </ul>
  20. <h1 class="hero__headline">
  21. <span class="hero__headline-highlight"><?= ($this->entry['row']['headline_'.$_COOKIE['target']] ? $this->entry['row']['headline_'.$_COOKIE['target']] : $this->entry['row']['headline_family']) ?></span><br>
  22. <span class="hero__headline-highlight fw-normal"><?= $this->entry['row']['pageimage_subline'] ?></span>
  23. </h1>
  24. <div class="hero__description">
  25. <?= $this->entry['row']['teaser'] ?>
  26. </div>
  27. <?php if ($this->entry['row']['usp']): ?>
  28. <div class="hero__usp has-checklist type-check-filled">
  29. <?= $this->entry['row']['usp'] ?>
  30. </div>
  31. <?php endif; ?>
  32. <div class="hero__cta">
  33. <a href="{{link_url::kontakt}}?subject=<?= urlencode($this->entry['row']['title']) ?>" class="btn btn-lg btn-success">Infos & Preise unverbindlich anfordern</a>
  34. </div>
  35. </div>
  36. </div>
  37. </div>
  38. <!-- Trust-Bar -->
  39. <?php if (!empty($this->testimonials)): ?>
  40. <div class="hero__trust-bar">
  41. <div class="container">
  42. <div class="hero__trust-rotator" aria-live="polite">
  43. <?php foreach ($this->testimonials as $i => $t): ?>
  44. <div class="hero__trust-item<?= $i === 0 ? ' is-active' : '' ?>" aria-hidden="<?= $i === 0 ? 'false' : 'true' ?>">
  45. <span class="hero__trust-stars" aria-label="<?= $t->rating ?> von 5 Sternen">
  46. <?php for ($s = 1; $s <= 5; $s++): ?>
  47. <i class="<?= $s <= $t->rating ? 'icon-star-fat' : 'icon-star-fat hero__trust-star--empty' ?>" aria-hidden="true"></i>
  48. <?php endfor; ?>
  49. </span>
  50. <!-- <span class="hero__trust-rating"><?= $t->rating ?>/5 Sterne</span> -->
  51. <?php if ($t->title): ?>
  52. <span class="hero__trust-quote">„<?= $t->title ?>"</span>
  53. <?php endif; ?>
  54. <span class="hero__trust-author">– <?= $t->name ?></span>
  55. </div>
  56. <?php endforeach; ?>
  57. </div>
  58. </div>
  59. </div>
  60. <?php endif; ?>
  61. </section>