templates/include/CONFERENCE/_header.html.twig line 1

Open in your IDE?
  1. {% set websiteTitle = configsService.getConfig('HEADER', 'WebsiteTitle') %}
  2. {% set button1Text = configsService.getConfig('HEADER', 'Button1Text') %}
  3. {% set button1Link = configsService.getConfig('HEADER', 'Button1Link') %}
  4. {% set button2Text = configsService.getConfig('HEADER', 'Button2Text') %}
  5. {% set button2Link = configsService.getConfig('HEADER', 'Button2Link') %}
  6. <div class="header sticky-top">
  7.     <div class="container-md">
  8.             <div class="row justify-content-between align-items-center">
  9.                 <div class="col"> 
  10.                     <h1>
  11.                         <a class="navbar-brand" href="{{ path('home') }}">
  12.                             <img class="img-fluid" src="{{ asset('img/CONFERENCE/logo.png') }}" alt="{{ websiteTitle }}">
  13.                         </a>
  14.                     </h1>
  15.                 </div>
  16.                 <div class="col hide-mobile"> 
  17.                     <div class="d-flex justify-content-center">
  18.                         <button class="login-btn btn btn-sm btn-primary" type="button"><a style="color:white" href="{{ button1Link }}">{{ button1Text }}</a></button>
  19.                         <button class="login-btn btn btn-sm btn-primary" type="button"><a style="color:white" href="{{ button2Link }}">{{ button2Text }}</a></button>
  20.                     </div>
  21.                 </div>
  22.             </div>
  23.         </div>
  24.     <nav class="navbar navbar-expand-lg sticky-top navbar-dark blue-style">
  25.         <div class="container-md">
  26.             {% include "include/_menu_mobile.html.twig" %}
  27.             {% include "include/_menu_desktop.html.twig" %}            
  28.         </div>
  29.     </nav> 
  30. </div>