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. Alan kısmında ilgili veriler: telefon, adres, eposta, gsm
  6. -- Anasayfa Linki : {{ ''|site_anaLink }} kullanın.
  7. -- İletişim Linki : {{ iletisimLink }} isim olarak Bize Ulaşın kullanın.
  8. -- Logolar : {{ path('panel_storage',{'file':'logo.webp'}) }} kullanın. Logo sabit isimleri logo.webp, beyazLogo.webp, favicon.webp 'dir. İlgili img tagnin width değerini 130 verin.
  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. -- Tüm resimlerin alt etiketlerini ilgili isminden esinlenerek türkçe kullanın.
  12. ----------------------------------------------------
  13. #}
  14. <body class="index-four">
  15. <header class="tmp-header-area-start header-two header-four header-five header--sticky">
  16.     <!-- header-top start -->
  17.     <div class="header-top-one">
  18.         <div class="container">
  19.             <div class="row">
  20.                 <div class="col-lg-12">
  21.                     <div class="header-top-inner">
  22.                         <div class="left-information-area">
  23.                             <p class="left-top"><a href="tel:{{ 'telefon'|site_iletisimBilgileri }}"><i class="fa fa-phone"></i> {{ 'telefon'|site_iletisimBilgileri }}</a></p>
  24.                             <div class="location-area">
  25.                                 <i class="fa fa-envelope"></i>
  26.                                 <a href="mailto:{{ 'eposta'|site_iletisimBilgileri }}">{{ 'eposta'|site_iletisimBilgileri }}</a>
  27.                             </div>
  28.                             
  29.                         </div>
  30.                         <div class="right-header-top">
  31.                             <div class="social-area-transparent">
  32.                                 <span>Bizi Takip Edin</span>
  33.                                 {% for ag in sosyalAglar %}
  34.                                     <a href="{{ ag.link }}"><i class="{{ ag.ikon }}"></i></a>
  35.                                 {% endfor %}
  36.                             </div>
  37.                         </div>
  38.                     </div>
  39.                 </div>
  40.             </div>
  41.         </div>
  42.     </div>
  43.     <!-- header-top end -->
  44.     <!-- header mid area start -->
  45.     <div class="container">
  46.         <div class="row">
  47.             <div class="col-lg-12">
  48.                 <div class="header-mida-area style-two ">
  49.                     <div class="logo-area-start">
  50.                         <a href="{{ ''|site_anaLink }}">
  51.                             <img src="{{ path('panel_storage',{'file':'beyazLogo.webp'}) }}" alt="logo" width="100">
  52.                         </a>
  53.                     </div>
  54.                     <div class="header-nav main-nav-one">
  55.                         <nav>
  56.                             <ul class="parent-nav">
  57.                                 {% for menu in menuler %}
  58.                                     {% if menu.altmenuler|default([])|length > 0 %}
  59.                                         <li class="has-dropdown">
  60.                                             <a class="nav-link" href="{{ menu.link }}">
  61.                                                 <span class="rolling-text">{{ menu.adi }}</span>
  62.                                             </a>
  63.                                             <ul class="submenu">
  64.                                                 {% for altmenu in menu.altmenuler %}
  65.                                                     <li><a href="{{ altmenu.link }}">{{ altmenu.adi }}</a></li>
  66.                                                 {% endfor %}
  67.                                             </ul>
  68.                                         </li>
  69.                                     {% else %}
  70.                                         <li>
  71.                                             <a class="nav-link" href="{{ menu.link }}">
  72.                                                 <span class="rolling-text">{{ menu.adi }}</span>
  73.                                             </a>
  74.                                         </li>
  75.                                     {% endif %}
  76.                                 {% endfor %}
  77.                                 
  78.                             </ul>
  79.                         </nav>
  80.                     </div>
  81.                     <div class="actions-area">
  82.                         <a href="{{ iletisimLink }}" class="tmp-btn btn-primary">Bize Ulaşın</a>
  83.                         <div class="tmp-side-collups-area" id="side-collups">
  84.                             <svg width="20" height="16" viewBox="0 0 20 16" fill="none" xmlns="http://www.w3.org/2000/svg">
  85.                                 <rect y="14" width="20" height="2" fill="#fff"></rect>
  86.                                 <rect y="7" width="20" height="2" fill="#fff"></rect>
  87.                                 <rect width="20" height="2" fill="#fff"></rect>
  88.                             </svg>
  89.                         </div>
  90.                     </div>
  91.                 </div>
  92.             </div>
  93.         </div>
  94.     </div>
  95.     <!-- header mid area end -->
  96. </header>
  97. <!-- tpm-header-area end -->
  98. <div id="side-hide">
  99.     <div class="top-area">
  100.         <a href="{{ ''|site_anaLink }}" class="logo-area">
  101.             <img src="{{ path('panel_storage',{'file':'beyazLogo.webp'}) }}" alt="logo" width="100">
  102.         </a>
  103.         <div class="close-icon-area">
  104.             <div id="close-slide__main">
  105.                 <i class="fa-solid fa-x"></i>
  106.             </div>
  107.         </div>
  108.     </div>
  109.     
  110.     <!-- mobile menu area start -->
  111.     <div class="mobile-menu-main">
  112.         <nav class="nav-main mainmenu-nav mt--30">
  113.             <ul class="mainmenu metismenu" id="mobile-menu-active">
  114.                 {% for menu in menuler %}
  115.                     <li class="{% if menu.altmenuler|default([])|length > 0 %}has-droupdown{%endif%}">
  116.                         <a href="{% if menu.altmenuler|default([])|length == 0 %}{{ menu.link }}{%else%}#{%endif%}" class="main">{{ menu.adi }}</a>
  117.                         {% if menu.altmenuler|default([])|length > 0 %}
  118.                             <ul class="submenu">
  119.                                 {% for altmenu in menu.altmenuler %}
  120.                                     <li><a class="mobile-menu-link" href="{{ altmenu.link }}">{{ altmenu.adi }}</a></li>
  121.                                 {% endfor %}
  122.                             </ul>
  123.                         {% endif %}
  124.                     </li>
  125.                 {% endfor %}
  126.             </ul>
  127.         </nav>
  128.     </div>
  129.     <!-- mobile menu area end -->
  130. </div>
  131. <!-- tpm-header-area end -->