templates/front/theme1/partials/header/modeles/_header1.html.twig line 1

Open in your IDE?
  1. <header class="header1  {{className}}">  
  2.     {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/header/elements/_banniere_pub_header.html.twig')}}
  3.     <div class="header-bottom {{social_bandeau}}">
  4.         <div class="container-fluid wrapper">
  5.             <div class="item-header item-header2 d-flex justify-content-between align-items-center">
  6.                 <div class="logo">
  7.                     <a href="{{app.request.schemeAndHttpHost ~ app.request.baseUrl}}" class="logo_h">
  8.                         <img src="{{asset('/uploads/images/'~ parametre.image)}}" alt="{{parametre.titre}}">
  9.                     </a>        
  10.                 </div>
  11.                 <div class="header-right align-self-md-start d-flex {{infos_items_flex}}">
  12.                     <div class="infos-header d-flex justify-content-end align-items-center flex-wrap">
  13.                         
  14.                         {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/header/elements/_adresses.html.twig')}}
  15.                         {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/header/elements/_horaires.html.twig')}}
  16.                         {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/header/elements/_telephones.html.twig')}}
  17.                         {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/header/elements/_emails.html.twig')}}
  18.                         {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/header/elements/_social_network.html.twig')}}
  19.                                                                       
  20.                         {% if button1 and button1Position == 1 %}
  21.                             <div class="boutons-header d-flex align-items-center">
  22.                                 {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/header/elements/_header_button.html.twig', {'bouton' : 1})}}
  23.                             </div>
  24.                         {% endif %}
  25.                         {% if button2 and button2Position == 1 %}
  26.                             <div class="boutons-header d-flex align-items-center">
  27.                                 {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/header/elements/_header_button.html.twig', {'bouton' : 2})}}
  28.                             </div>
  29.                         {% endif %}
  30.                         {% if button3 and button3Position == 1 %}
  31.                             <div class="boutons-header d-flex align-items-center">
  32.                                 {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/header/elements/_header_button.html.twig', {'bouton' : 3})}}
  33.                             </div>
  34.                         {% endif %}
  35.                     </div>
  36.                     <div class="header-menu d-flex justify-content-end align-items-center">
  37.                         {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/_navbar.html.twig')}}
  38.                         {% if button1 and button1Position == 2 or button1Position == 3 %}
  39.                             <div class="boutons-header d-flex align-items-center ml-3">
  40.                                 {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/header/elements/_header_button.html.twig', {'bouton' : 1})}}
  41.                             </div>
  42.                         {% endif %}
  43.                         {% if button2 and button2Position == 2 or button2Position == 3 %}
  44.                             <div class="boutons-header d-flex align-items-center ml-3">
  45.                                 {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/header/elements/_header_button.html.twig', {'bouton' : 2})}}
  46.                             </div>
  47.                         {% endif %}
  48.                         {% if button3 and button3Position == 2 or button3Position == 3 %}
  49.                             <div class="boutons-header d-flex align-items-center ml-3">
  50.                                 {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/header/elements/_header_button.html.twig', {'bouton' :3})}}
  51.                             </div>
  52.                         {% endif %}
  53.                     </div>
  54.                     
  55.                 </div>    
  56.             </div>
  57.         </div>
  58.     </div>
  59. </header>