templates/siteBase/header.html.twig line 1

Open in your IDE?
  1. <body onload=" if($('.preloader').length){$('.preloader').delay(200).fadeOut(500); }">
  2. <div class="preloader">
  3. </div>
  4. {#
  5. -- İletişim bilgileri için : {{ 'alan'|site_iletisimBilgileri|raw }} kullanın. Ör: {{ 'telefon'|site_iletisimBilgileri|raw }}
  6. -- Anasayfa Linki : {{ ''|site_anaLink }} kullanın.
  7. -- İletişim Linki : {{ iletisimLink }} kullanın.
  8. -- Logolar : {{ path('panel_storage',{'file':'logo.webp'}) }} kullanın. Logo sabit isimleri logo.webp, beyazLogo.webp, favicon.webp 'dir.
  9. -- Sosyal Ağlar : "sosyalAglar" adında bir dizide döndürülmektedir. Dizinin "adi, link, ikon" değişkenleri bulunuyor. Bu bilgiler ile kodlayınız.
  10. -- Menüler : "menuler" adında bir dizide döndürülmektedir. Dizinin "adi, link, altmenuler[]" değişkenleri bulunuyor. "altmenuler" adında her döngüde varsa yine "adi, link" değişkenleri dizi halinde döndürülüyor. Eğer altmenüler dizisi yok ise açılır menü yapmayınız. Bu bilgiler ile kodlamayınız.
  11. ----------------------------------------------------
  12. #}
  13. <!-- header style two -->
  14.     <!-- rts header three start -->
  15.     <header class="header-three header--sticky">
  16.         <div class="container">
  17.             <div class="row">
  18.                 <div class="col-lg-12">
  19.                     <div class="header-three-wrapper">
  20.                         <div class="logo-area">
  21.                             <a href="{{ ''|site_anaLink }}" class="thumbnail">
  22.                                 <img src="{{ path('panel_storage',{'file':'beyazLogo.webp'}) }}" alt="logo-area" width="75px">
  23.                             </a>
  24.                             <a href="{{ ''|site_anaLink }}" class="thumbnail-2">
  25.                                 <img src="{{ path('panel_storage',{'file':'logo.webp'}) }}" alt="logo-area" width="75px">
  26.                             </a>
  27.                         </div>
  28.                         <!-- header style two -->
  29.                         <!-- nav area start -->
  30.                         <div class="main-nav-desk nav-area">
  31.                             <nav>
  32.                                 <ul>
  33.                                    
  34.                                     {% for menu in menuler %}
  35.                                         <li class="{% if menu.altmenuler is defined %}has-droupdown{% endif %} pages">
  36.                                             <a class="nav-link" href="{{ menu.link }}">{{ menu.adi }}</a>
  37.                                             {% if menu.altmenuler is defined %}
  38.                                                 <ul class="submenu inner-page">
  39.                                                     {% for altmenu in menu.altmenuler %}
  40.                                                         <li><a href="{{ altmenu.link }}">{{ altmenu.adi|html_entity_decode|raw }}</a></li>
  41.                                                     {% endfor %}
  42.                                                 </ul>
  43.                                             {% endif %}
  44.                                         </li>
  45.                                     {% endfor %}
  46.                                 </ul>
  47.                             </nav>
  48.                         </div>
  49.                         <!-- nav-area end -->
  50.                         <!-- header style two End -->
  51.                         <div class="rts-button-area">
  52.                             <a href="{{ iletisimLink }}" class="rts-btn btn-seconday">Bize Ulaşın</a>
  53.                             <div class="menu-area" id="menu-btn">
  54.                                 <svg xmlns="http://www.w3.org/2000/svg" width="18" height="16" viewBox="0 0 18 16" fill="none">
  55.                                     <rect width="18" height="2" fill="#0C0A0A" />
  56.                                     <rect y="7" width="18" height="2" fill="#0C0A0A" />
  57.                                     <rect y="14" width="18" height="2" fill="#0C0A0A" />
  58.                                 </svg>
  59.                             </div>
  60.                         </div>
  61.                     </div>
  62.                 </div>
  63.             </div>
  64.         </div>
  65.     </header>
  66.     <!-- rts header three end -->
  67. <div id="side-bar" class="side-bar header-three">
  68.         <button class="close-icon-menu"><i class="far fa-times"></i></button>
  69.         <!-- inner menu area desktop start -->
  70.       
  71.         <!-- mobile menu area start -->
  72.         <div class="mobile-menu d-block d-xl-none">
  73.             <nav class="nav-main mainmenu-nav mt--30">
  74.                 <ul class="mainmenu" id="mobile-menu-active">
  75.                     {% for menu in menuler %}
  76.                         <li class="{% if menu.altmenuler is defined %}has-droupdown{% endif %}">
  77.                             <a href="{{ menu.link }}" class="main">{{ menu.adi }}</a>
  78.                             {% if menu.altmenuler is defined %}
  79.                                 <ul class="submenu">
  80.                                     {% for altmenu in menu.altmenuler %}
  81.                                         <li><a href="{{ altmenu.link }}">{{ altmenu.adi }}</a></li>
  82.                                     {% endfor %}
  83.                                 </ul>
  84.                             {% endif %}
  85.                         </li>
  86.                     {% endfor %}
  87.                 </ul>
  88.             </nav>
  89.             <div class="social-wrapper-one">
  90.                 <ul>
  91.                     {% for sosyalAg in sosyalAglar %}
  92.                         <li>
  93.                             <a href="{{ sosyalAg.link }}">
  94.                                 <i class="{{ sosyalAg.ikon }}"></i>
  95.                             </a>
  96.                         </li>
  97.                     {% endfor %}
  98.                 </ul>
  99.             </div>
  100.         </div>
  101.         <!-- mobile menu area end -->
  102.     </div>
  103.     <!-- header style two End -->