templates/frontend/general/header.html.twig line 1

Open in your IDE?
  1. <header id="rtsHeader" class="rts-header3 rts-header7">
  2.     <div class="navbar-sticky">
  3.         <div class="inline-wrapper d-flex">
  4.             <div class="navbar-wrapper">
  5.                 <div class="navbar-part navbar-part3 navbar-upper d-flex">
  6.                     <div class="container">
  7.                         <div class="navbar-inner">
  8.                             <a href="{{ path('app_frontend_index') }}" class="logo">
  9.                                 {% if customer.logo.id is defined %}
  10.                                     <img src="{{ customer.logo.src }}" height="80px" alt="{{ customer.name }}"/>
  11.                                 {% else %}
  12.                                     {{ customer.name }}
  13.                                 {% endif %}
  14.                             </a>
  15.                             <div class="rts-menu">
  16.                                 {% include 'frontend/general/navigation.html.twig' %}
  17.                             </div>
  18.                             <div class="header-action-items header-action-items1">
  19.                                 <div class="cart action-item">
  20.                                     <div class="cart-nav">
  21.                                         <div class="basket-icon cart-icon icon">
  22.                                             {% if app.request.get('_route') == 'app_frontend_index' %}
  23.                                             <a href="#0" class="btn-customer">
  24.                                                 <i class="fal fa-shopping-basket"></i>
  25.                                                 <span class="tag" id="itemsInCart">0</span>
  26.                                             </a>
  27.                                             {% else %}
  28.                                                 <a href="{{ path('app_frontend_index') }}" class="btn-customer">
  29.                                                     <i class="fal fa-shopping-basket"></i>
  30.                                                     <span class="tag" id="itemsInCart">0</span>
  31.                                                 </a>
  32.                                             {% endif %}
  33.                                         </div>
  34.                                     </div>
  35.                                 </div>
  36.                             </div>
  37.                             <a class="hamburger-menu aitem">
  38.                                 <div class="hamburger-menu-inner">
  39.                                     <span></span>
  40.                                     <span class=""></span>
  41.                                     <span></span>
  42.                                 </div>
  43.                             </a>
  44.                         </div>
  45.                     </div>
  46.                 </div>
  47.             </div>
  48.         </div>
  49.     </div>
  50.     {% include('frontend/cart/shopping-cart.html.twig') %}
  51.     <!--================= Slide Bar Start Here =================-->
  52.     <aside class="slide-bar">
  53.         <div class="offset-sidebar">
  54.             <button class="slide-bar-close ml--30"><i class="fal fa-times"></i></button>
  55.             <div class="offset-widget offset-logo mb-30">
  56.                 <a href="{{ path('app_frontend_index') }}">
  57.                     {% if customer.logo.id is defined %}
  58.                         <img src="{{ customer.logo.src }}" height="80px" alt="{{ customer.name }}"/>
  59.                     {% else %}
  60.                         {{ customer.name }}
  61.                     {% endif %}
  62.                 </a>
  63.             </div>
  64.         </div>
  65.         <!-- side-mobile-menu start -->
  66.         <nav class="side-mobile-menu side-mobile-menu1">
  67.             <ul id="mobile-menu-active">
  68.                 <li>
  69.                     <a class="menu-item active1" href="{{ path('app_frontend_index') }}">Home</a>
  70.                 </li>
  71.                 <li>
  72.                     <a class="menu-item" href="{{ path('app_frontend_index') }}#how-it-works">
  73.                         {{ 'app.about_us.title'|trans }}
  74.                     </a>
  75.                 </li>
  76.                 <li>
  77.                     <a class="menu-item" href="{{ path('app_frontend_index') }}#donation-areas">
  78.                         {{ 'app.buy_area'|trans }}
  79.                     </a>
  80.                 </li>
  81.                 <li>
  82.                     <a class="menu-item" href="{{ path('app_frontend_index') }}#faq">
  83.                         {{ 'app.faq'|trans }}
  84.                     </a>
  85.                 </li>
  86.                 <li>
  87.                     <a class="menu-item" href="{{ path('app_frontend_sponsor_list') }}#sponsor-list">Sponsorenliste</a>
  88.                 </li>
  89.             </ul>
  90.         </nav>
  91.     </aside>
  92.     <!--================= Slide Bar Start Here =================-->
  93.     <!--================= Banner Section Start Here =================-->
  94.     {% if customer.template.headerImage.id is defined %}
  95.         {% set headerImage = customer.template.headerImage.src %}
  96.     {% else %}
  97.         {% set headerImage = '/assets/images/default-header.png' %}
  98.     {% endif %}
  99.     <div class="banner banner1 nfl">
  100.         <div class="swiper bannerSlide">
  101.             <div class="swiper-wrapper">
  102.                 <div class="swiper-slide">
  103.                     <div class="banner-single banner-bg" style="background-image: url('{{ headerImage }}')">
  104.                         <div class="container">
  105.                             <div class="banner-content">
  106.                                 <span class="pretitle">{{ customer.subtitle }}</span>
  107.                                 <h1 class="banner-heading">{{ customer.name }}</h1>
  108.                             </div>
  109.                         </div>
  110.                     </div>
  111.                 </div>
  112.             </div>
  113.         </div>
  114.     </div>
  115.     <!--================= Banner Section End Here =================-->
  116. </header>