<header id="header"> <div class="apk-container-language-switcher"> {{ get_language_switcher_html(document, 'inline', 'code')|raw }} </div> <div class="apk-header uk-background-muted uk-visible@m"> <div class="uk-position-z-index" uk-sticky="end: !.uk-height-large;"> <div class="apk-header-top"> <div class="uk-container apk-container-1400"> <div class="uk-navbar" uk-navbar> <div class="uk-navbar-right"> <ul class="uk-navbar-nav"> {% if document.property('contactDocument') %} <li> <a href="{{ (document.getProperty('contactDocument')) }}"> {{ "Contact"|trans }} </a> </li> {% endif %} {# {% if document.property('bookDocument') %} <li> <a class="uk-button" href="{{ (document.getProperty('bookDocument')) }}" target="_blank"> <img uk-svg class="uk-margin-small-right" width="18px" height="18px" src="/static/img/pictos/calendar.svg"> {{ "Réserver"|trans }} </a> </li> {% endif %} #} <li> <button class="uk-button" uk-toggle="target: #reservation-modal"> <img uk-svg class="uk-margin-small-right" width="18px" height="18px" src="/static/img/pictos/calendar.svg"> {{ "Réserver"|trans }} </button> </li> </ul> </div> </div> </div> </div> <div class="apk-header-bottom"> <nav class="uk-navbar-container uk-navbar" uk-navbar> <div class="uk-navbar-center"> <ul class="uk-navbar-nav"> <li> <a class="apk-logo uk-margin-top uk-padding-remove" href="/{{ app.request.locale }}" title="{{ "Your website name"|trans }}"> {{ "Your website name"|trans }} </a> </li> </ul> </div> </nav> <nav class="uk-container apk-container-1400 uk-navbar-container uk-navbar uk-flex uk-flex-center" uk-navbar> <div class="uk-width-1-1"> <ul class="uk-navbar-nav"> {% include "includes/main-nav.html.twig" %} </ul> </div> </nav> </div> </div> </div> <!-- fin div desktop --> <div class="uk-background-muted apk-header-mobile uk-hidden@m" uk-sticky="end: !.uk-height-large;"> <div class="uk-position-z-index"> <div class="uk-hidden@m"> <div class="uk-grid" uk-grid> <div class="uk-width-expand"> <a class="apk-logo uk-padding-remove" href="/{{ app.request.locale }}" title="{{ "Your website name"|trans }}"> {{ "Your website name"|trans }} </a> </div> <div class="uk-width-auto"> <a width="30" height="30" uk-toggle="target: #offcanvas-nav-primary"><img src="/static/img/pictos/menu-burger.svg" alt=""></a> </div> </div> </div> <div id="offcanvas-nav-primary" class="apk-menu-mobile" uk-offcanvas="overlay: true; flip: true"> <div class="uk-offcanvas-bar uk-flex uk-flex-column"> <a class="apk-logo uk-padding-remove" href="/{{ app.request.locale }}" title="{{ "Your website name"|trans }}"> {{ "Your website name"|trans }} </a> <li> <button class="uk-button" uk-toggle="target: #reservation-modal"> <img uk-svg class="uk-margin-small-right" width="18px" height="18px" src="/static/img/pictos/calendar.svg"> {{ "Réserver"|trans }} </button> </li> {% include "includes/main-nav-sidebar.html.twig" %} {% if document.property('contactDocument') %} <li> <a href="{{ (document.getProperty('contactDocument')) }}"> {{ "Contact"|trans }} </a> </li> {% endif %} <hr> {% if document.property('companyMail') %} <div> {{ email_obfuscator_svg(document.property('companyMail'))|raw }} </div> {% endif %} {% if document.property('companyPhone') %} <div> <a href="{{ document.property('companyPhone') }}"> <img uk-svg width="15" height="15" class="uk-margin-small-right" src="/static/img/pictos/tel.svg" alt="{{ "Tel"|trans }}"> {{ document.property('companyPhone') }} </a> </div> {% endif %} </div> </div> </div> </div></header>{#{ get_language_switcher_html() }#}