templates/partials/experience/image-header.html.twig line 1

Open in your IDE?
  1. <section class="image-header is-underlined has-submenu">
  2.     <div class="container">
  3.         <picture-component class="js-picture-component is-absolute" :image="{{ picture_data(experience.headerImage, null) }}"></picture-component>
  4.         {% if experience.headerYoutubeUrl is not empty %}
  5.             <div class="image-header--media">
  6.                 <video class="image-header--video" poster="{{ experience.headerImage | resize(1920)|file_url }}" loop muted autoplay data-setup='{ "techOrder": ["youtube"], "sources": [{ "type": "video/youtube", "src": "{{ experience.headerYoutubeUrl }}"}] }'></video>
  7.             </div>
  8.         {% endif %}
  9.         <a class="image-header--return js-return-page" href="{{ app.request.headers.get('referer') }}">
  10.             {% include 'partials/global/svg/arrow-left.svg.twig' %}
  11.         </a>
  12.         <div class="image-header--content">
  13.             <h1 class="image-header--subtitle title-p2">
  14.                 {{ experience.hotel.title }}
  15.             </h1>
  16.             <h1 class="image-header--title title-l">{{ experience.title }}</h2>
  17.         </div>
  18.     </div>
  19. </section>