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 area start -->
  14. <header>
  15.     <div class="header__area">
  16.         <div class="header__info">
  17.             <div class="container-fluid">
  18.                 <div class="row">
  19.                     <div class="col-xxl-6 col-xl-7 col-lg-7 col-md-6">
  20.                         <div class="header__info-left">
  21.                             <ul class="header__address text-center">
  22.                                 <li><span><i class="fa-solid fa-location-dot"></i></span> {{ 'adres'|site_iletisimBilgileri|raw }}</li>
  23.                                 <li><a href="mailto:{{ 'eposta'|site_iletisimBilgileri|raw }}"><span><i class="fa-solid fa-envelope"></i></span>{{ 'eposta'|site_iletisimBilgileri|raw }}</a></li>
  24.                             </ul>
  25.                         </div>
  26.                     </div>
  27.                     <div class="col-xxl-6 col-xl-5 col-lg-5 col-md-6">
  28.                         <div class="header__info-right">
  29.                             <ul class="header__social">
  30.                                 {% for ss in sosyalAglar  %}
  31.                                     <li><a href="{{ ss.link }}"><span><i class="fa-brands fa-{{ ss.adi|seo }}"></i></span></a></li>
  32.                                 {% endfor %}
  33.                             </ul>
  34.                         </div>
  35.                     </div>
  36.                 </div>
  37.             </div>
  38.         </div>
  39.         <div class="header__menu-area" id="header_menu">
  40.             <div class="container-fluid">
  41.                 <div class="row">
  42.                     <div class="col-xxxl-3 col-xxl-3 col-xl-3 col-lg-4 col-md-4 col-5">
  43.                         <div class="header__logo">
  44.                             <a href="{{ ''|site_anaLink }}"><img src="{{ path('panel_storage',{'file':'logo.webp'}) }}" alt="{{ 'siteAdi'|ayarlar }}" width="120px"></a>
  45.                         </div>
  46.                     </div>
  47.                     <div class="col-xxxl-7 col-xxl-6 col-xl-6 col-lg-3 col-md-3 col-2">
  48.                         <nav class="header__nav b-right">
  49.                             <ul>
  50.                                 {% for menu in menuler %}
  51.                                     <li {% if menu.altmenuler|default('')!=""%} {% endif %}><a href="{{ menu.link }}">{{ menu.adi|html_entity_decode|raw }}</a>
  52.                                         {% if menu.altmenuler|default('')!=""%}
  53.                                             <ul class="main-dropdown">
  54.                                                 {% for altmenu in menu.altmenuler %}
  55.                                                     <li><a href="{{ altmenu.link }}">{{ altmenu.adi|html_entity_decode|raw }}</a></li>
  56.                                                 {% endfor %}
  57.                                             </ul>
  58.                                         {% endif %}
  59.                                     </li>
  60.                                 {% endfor %}
  61.                             </ul>
  62.                         </nav>
  63.                     </div>
  64.                     <div class="col-xxxl-2 col-xxl-3 col-xl-3 col-lg-5 col-md-5 col-5">
  65.                         <div class="header__others">
  66.                             <div class="header__support">
  67.                                 <p>Bize Ulaşın <a href="tel:{{ 'telefon'|site_iletisimBilgileri|raw }}">{{ 'telefon'|site_iletisimBilgileri|raw }}</a></p>
  68.                             </div>
  69.                             <div class="header__offcanvas" id="open_offcanvas">
  70.                                 <span><i class="flaticon-align-left"></i></span>
  71.                             </div>
  72.                         </div>
  73.                     </div>
  74.                 </div>
  75.             </div>
  76.         </div>
  77.     </div>
  78. </header>
  79. <!-- header area end -->
  80. <!-- Offcanvas Area Start -->
  81. <section class="offcanvas__area">
  82.     <div class="close_offcanvas" id="close_offcanvas"><i class="fa-solid fa-xmark"></i></div>
  83.     <div class="offcanvas__inner">
  84.         <div class="offcanvas__left ">
  85.             <div class="side__navbar-wrapper">
  86.                 <nav class="side__navbar">
  87.                     <ul>
  88.                         {% for menu in menuler %}
  89.                             <li {% if menu.altmenuler|default('')!=""%} {% endif %}><a href="{{ menu.link }}">{{ menu.adi }}</a>
  90.                                 {% if menu.altmenuler|default('')!=""%}
  91.                                     <ul class="main-dropdown">
  92.                                         {% for altmenu in menu.altmenuler %}
  93.                                             <li><a href="{{ altmenu.link }}">{{ altmenu.adi }}</a></li>
  94.                                         {% endfor %}
  95.                                     </ul>
  96.                                 {% endif %}
  97.                             </li>
  98.                         {% endfor %}
  99.                     </ul>
  100.                 </nav>
  101.             </div>
  102.         </div>
  103.         <div class="offcanvas__right">
  104.             <div class="offcanvas__logo">
  105.                 <a href="{{ ''|site_anaLink }}"><img src="{{ path('panel_storage',{'file':'logo.webp'}) }}" alt="{{ 'siteAdi'|ayarlar }}" width="200px"></a>
  106.             </div>
  107.             <div class="offcanvas__contact">
  108.                 <ul>
  109.                     <li>
  110.                         <span>Adres</span>
  111.                         <a>{{ 'adres'|site_iletisimBilgileri|raw }}</a>
  112.                     </li>
  113.                     <li>
  114.                         <span>Telefon</span>
  115.                         <a href="tel:{{ 'telefon'|site_iletisimBilgileri|raw }}">{{ 'telefon'|site_iletisimBilgileri|raw }}</a>
  116.                     </li>
  117.                     <li>
  118.                         <span>E-Posta</span>
  119.                         <a href="mailto:{{ 'eposta'|site_iletisimBilgileri|raw }}">{{ 'eposta'|site_iletisimBilgileri|raw }}</a>
  120.                     </li>
  121.                 </ul>
  122.             </div>
  123.         </div>
  124.     </div>
  125. </section>
  126. <!-- Offcanvas Area End -->
  127. <!-- Cursor Animation -->
  128. <div class="cursor1"></div>
  129. <div class="cursor2"></div>
  130. <main>