templates/modul/kurumsal.html.twig line 1

Open in your IDE?
  1. {% extends 'siteBase.html.twig' %}
  2. {% block dil %}{{ app.session.get('dil')['kisa'] }}{% endblock %} {# tr or en #}
  3. {% block title %}{{ sayfa.title }}{% endblock %}
  4. {% block keywords %}{{ sayfa.keywords }}{% endblock %}
  5. {% block description %}{{ sayfa.description }}{% endblock %}
  6. {% block title2 %}{{ sayfa.title }}{% endblock %}
  7. {% block description2 %}{{ sayfa.description }}{% endblock %}
  8. {% block image_alt %}{{ sayfa.title }}{% endblock %}
  9. {% block title3 %}{{ sayfa.title }}{% endblock %}
  10. {% block description3 %}{{ sayfa.description }}{% endblock %}
  11. {% block image %}{{ sayfa.dilgrup|site_bannerGetir|raw }}{% endblock %}
  12. {% block image2 %}{{ sayfa.dilgrup|site_bannerGetir|raw }}{% endblock %}
  13.  
  14.  
  15. {% block body %}
  16. {% include 'siteBase/breadcrumbs.html.twig' %}
  17.  
  18.   {#
  19. -- Sayfa Verileri : "icerikler" adında bir dizi döndürülüyor. Dizi elemanları : baslik, metin, resim, link
  20. -- Kategori Verileri : "kategoriler" adında bir dizi döndürülüyor. Dizi elemanları : adi, resim, link
  21. ** Eğer kategoriler dizisi boş değilse icerikler boş gelecektir. Eğer boş ise içerikler dönecektir.
  22. ** Resimleri çekerken sadece "ornek.jpg|imgOlustur(100,10,'cover')" filtresini kullanmalısın. Bu filtre şu özelliğe sahitir; "ornek.jpg|imgOlustur(yükseklik,radius,'cover/contain')"
  23. ----------------------------------------------------
  24. #}
  25. <!-- About Us Section Start -->
  26. <div class="about-us">
  27.     <div class="container">
  28.         <div class="row align-items-center">
  29.             <div class="col-lg-6">
  30.                 <!-- About Us Image Start -->
  31.                 <div class="about-us-image">
  32.                     <!-- About Image Start -->
  33.                     <div class="about-image">
  34.                         <figure class="image-anime reveal">
  35.                          {{ icerikler[0]['resim']|imgOlustur(600,10,'cover')|raw }}
  36.                         </figure>
  37.                     </div>
  38.                     <!-- About Image End -->
  39.                     <!-- About Customer Box Start -->
  40.                     <div class="about-customer-box">
  41.                         <h2><span class="counter">92</span>%</h2>
  42.                         <p>Mutlu Müşteri</p>
  43.                     </div>
  44.                     <!-- About Customer Box End -->
  45.                 </div>
  46.                 <!-- About Us Image End -->
  47.             </div>
  48.             
  49.             <div class="col-lg-6">
  50.                 <div class="about-us-content">
  51.                     <!-- Section Title Start -->
  52.                     <div class="section-title">
  53.                         <h3 class="wow fadeInUp">{{ 'siteAdi'|ayarlar }}</h3>
  54.                         <h2 class="text-anime-style-3" data-cursor="-opaque">{{ icerikler[0]['baslik'] }}</h2>
  55.                        
  56.                         <p class="wow fadeInUp" data-wow-delay="0.2s">
  57.                             {{ icerikler[0]['metin']|html_entity_decode|raw }}
  58.                         </p>
  59.                     </div>
  60.                     <!-- Section Title End -->
  61.                    
  62.                 </div>
  63.             </div>
  64.           
  65.         </div>
  66.     </div>
  67. </div>
  68. <!-- About Us Section End -->
  69.                     
  70.                     {% endblock %}
  71. {% block javascripts %}{% endblock %}