templates/includes/header-mobile-sticky.html.twig line 1

Open in your IDE?
  1. <div class='apk-header-mobile apk-header-mobile-sticky uk-hidden@s uk-dark' uk-sticky='top: 0; animation: uk-animation-slide-bottom'>
  2.     <div class='uk-container'>
  3.         <ul class='uk-navbar-nav uk-width-1-1'>
  4.             <li class='uk-width-auto uk-flex uk-flex-left'>
  5.                 <a href='#menu-mobile' title="Menu" uk-toggle>
  6.                     <svg width="25" height="25" viewBox="0 0 38 34" fill="none" xmlns="http://www.w3.org/2000/svg" class=" uk-svg" data-svg="/static/img/pictos/menu-burger.svg">
  7.                         <rect x="0.5" width="37" height="8.18462" fill="currentColor"></rect>
  8.                         <rect x="0.5" y="12.4708" width="37" height="8.18462" fill="currentColor"></rect>
  9.                         <rect x="0.5" y="25.8154" width="37" height="8.18462" fill="currentColor"></rect>
  10.                     </svg>
  11.                 </a>
  12.             </li>
  13.             <li class='uk-width-3-5 uk-flex uk-flex-center'>
  14.                 <a href='/{{app.request.locale}}' title="{{ "Your website name"|trans }}">
  15.                     <div class='apk-logo uk-text-center'>
  16.                         <span>{{ "Your website name"|trans }}</span>
  17.                     </div>
  18.                 </a>
  19.             </li>
  20.             {% if document.getProperty('BookNowLink') %}
  21.                 <li class='uk-width-1-3 uk-flex uk-flex-right'>
  22.                     {% if document.getProperty('studio-type') %}
  23.                         {% set studType = document.getProperty('studio-type') %}
  24.                         {% if document.getProperty('studio-type') is instanceof('\\Pimcore\\Model\\DataObject')  %}
  25.                             <a class='uk-button uk-button-primary' href="{{ document.getProperty('BookNowLink') }}?studioTypeId={{ studType.id }}">{{ "Book now"|trans }}</a>    
  26.                         {% else %}
  27.                         <a class='uk-button uk-button-primary' href="{{ document.getProperty('BookNowLink') }}?studioTypeId={{ studType }}">{{ "Book now"|trans }}</a>    
  28.                         {% endif %}
  29.                         
  30.                     {% else %}
  31.                         <a class='uk-button uk-button-primary' href="{{ document.getProperty('BookNowLink') }}">{{ "Book now"|trans }}</a>    
  32.                     {% endif %}
  33.                 </li>
  34.             {% endif %}
  35.         </ul>
  36.     </div>
  37. </div>