templates/modul/index.html.twig line 1

Open in your IDE?
  1. {% extends 'siteBase.html.twig' %}
  2. {# Sayfa İstekleri #}
  3. {% set sBoyutlar = 'slider'|ayarlar|split('X') %}
  4. {% set sliders = ''|site_sliders %}
  5. {% block dil %}{{ app.session.get('dil')['kisa'] }}{% endblock %} {# tr or en #}
  6. {% block title %}{{ 'title'|ayarlar(app.session.get('dil')['id']) }}{% endblock %}
  7. {% block keywords %}{{ 'keywords'|ayarlar(app.session.get('dil')['id']) }}{% endblock %}
  8. {% block description %}{{ 'description'|ayarlar(app.session.get('dil')['id']) }}{% endblock %}
  9. {% block title2 %}{{ 'title'|ayarlar(app.session.get('dil')['id']) }}{% endblock %}
  10. {% block description2 %}{{ 'description'|ayarlar(app.session.get('dil')['id']) }}{% endblock %}
  11. {% block image_alt %}{{ 'title'|ayarlar(app.session.get('dil')['id']) }}{% endblock %}
  12. {% block title3 %}{{ 'title'|ayarlar(app.session.get('dil')['id']) }}{% endblock %}
  13. {% block description3 %}{{ 'description'|ayarlar(app.session.get('dil')['id']) }}{% endblock %}
  14. {% block image %}{{ 'siteYolu'|ayarlar~'storage/logo.webp' }}{% endblock %}
  15. {% block image2 %}{{ 'siteYolu'|ayarlar~'storage/logo.webp' }}{% endblock %}
  16. {% block body %}
  17. <!-- main-area -->
  18.     {% set kurumsal = 8|site_sayfaIcerik() %}
  19.     {% set hizmetler = 9|site_sayfaIcerik(4) %}
  20.     {% set iletisim = 4|site_sayfaIcerik() %}
  21. <main class="fix">
  22.     <!-- slider-area -->
  23.     <section class="slider-area">
  24.         <div class="slider-active">
  25.             {% for key,slider in sliders %}
  26.                 <div class="single-slider slider-bg" data-background="{{path('panel_storage',{'file':slider.resim|default('resimyok.webp')})}}">
  27.                     <div class="container">
  28.                         <div class="row">
  29.                             <div class="col-lg-8">
  30.                                 <div class="slider-content">
  31.                                     <span class="sub-title" data-animation-in="slideInLeft" data-delay-in=".2" data-duration-in="1.5">{{ slider.baslik|html_entity_decode|raw }}</span>
  32.                                     <h2 class="title" data-animation-in="slideInLeft" data-delay-in=".4" data-duration-in="1.5">{{ slider.aciklama|html_entity_decode|raw }}</h2>
  33.                                     <div class="slider-btn" data-animation-in="slideInLeft" data-delay-in=".6" data-duration-in="1.5">
  34.                                         <a href="{{ ''|site_anaLink~hizmetler[0].seo }}" class="btn">{{ hizmetler[0].adi }}</a>
  35.                                     </div>
  36.                                 </div>
  37.                             </div>
  38.                         </div>
  39.                     </div>
  40.                     <div class="slider-shape">
  41.                         <span class="shape-one" data-animation-in="zoomIn" data-delay-in=".8" data-duration-in="1"></span>
  42.                         <span class="shape-two" data-animation-in="zoomIn" data-delay-in=".8" data-duration-in="1.5"></span>
  43.                     </div>
  44.                 </div>
  45.             {% endfor %}
  46.         </div>
  47.     </section>
  48.     <!-- slider-area-end -->
  49.     <!-- about-area -->
  50.     <section class="about-area pt-140 pb-140" data-animation="animationContainer">
  51.         <div class="container">
  52.             <div class="row justify-content-center">
  53.                 <div class="col-lg-8">
  54.                     <div class="section-title text-center mb-50">
  55.                                 <span class="sub-title">
  56.                                     <strong class="left-shape">
  57.                                         <svg xmlns="http://www.w3.org/2000/svg" width="39" height="18" viewBox="0 0 39 18" fill="none">
  58.                                             <path d="M39 0V3.5H2.6L0 0H39Z" fill="currentcolor" />
  59.                                             <path d="M39 7.20001V10.7H8.00002L5.40002 7.20001H39Z" fill="currentcolor" />
  60.                                             <path d="M39 14.4V17.9H13.5L10.9 14.4H39Z" fill="currentcolor" />
  61.                                         </svg>
  62.                                     </strong>
  63.                                     {{ kurumsal[0].adi }}
  64.                                     <strong class="right-shape">
  65.                                         <svg xmlns="http://www.w3.org/2000/svg" width="39" height="18" viewBox="0 0 39 18" fill="none">
  66.                                             <path d="M0 0V3.5H36.4L39 0H0Z" fill="currentcolor" />
  67.                                             <path d="M0 7.20001V10.7H31L33.6 7.20001H0Z" fill="currentcolor" />
  68.                                             <path d="M0 14.4V17.9H25.5L28.2 14.4H0Z" fill="currentcolor" />
  69.                                         </svg>
  70.                                     </strong>
  71.                                 </span>
  72.                         <h2 class="title" data-splitting="chars" data-animation="innerAnimated">{{ kurumsal[1][0].baslik|html_entity_decode|raw }}</h2>
  73.                     </div>
  74.                 </div>
  75.             </div>
  76.             <div class="row align-items-center justify-content-center">
  77.                 <div class="col-lg-6 col-md-8">
  78.                     <div class="about-img-wrap justify-content-center">
  79.                         <figure class="image-1 overlay-anim wow fadeInUp animated mt-5"><img src="{{path('panel_storage',{'file':kurumsal[1][0].resim|default('resimyok.webp')})}}" alt=""></figure>
  80.                     </div>
  81.                 </div>
  82.                 <div class="col-lg-6">
  83.                     <div class="about-content">
  84.                         {% set metin = kurumsal[1][0].metin|html_entity_decode|split('</p>') %}
  85.                         <p class="lead">{{ metin[0]|raw }}</p></p>
  86.                         <p class="lead">{{ metin[1]|raw }}</p></p>
  87.                         <div class="about-content-bottom">
  88.                             <a href="{{ ''|site_anaLink~kurumsal[0].seo }}" class="btn">Daha Fazla</a>
  89.                             <a href="tel:{{ 'telefon'|site_iletisimBilgileri|html_entity_decode|raw }}" class="call-btn"><i class="fas fa-phone-alt"></i>{{ 'telefon'|site_iletisimBilgileri|html_entity_decode|raw }}</a>
  90.                         </div>
  91.                     </div>
  92.                 </div>
  93.             </div>
  94.         </div>
  95.     </section>
  96.     <!-- about-area-end -->
  97.     <!-- project-area -->
  98.     <section class="project-area mb-5" data-animation="animationContainer">
  99.         <div class="container">
  100.             <div class="row justify-content-center">
  101.                 <div class="col-lg-8">
  102.                     <div class="section-title white-title text-center mb-50">
  103.                                 <span class="sub-title">
  104.                                     <strong class="left-shape">
  105.                                         <svg xmlns="http://www.w3.org/2000/svg" width="39" height="18" viewBox="0 0 39 18" fill="none">
  106.                                             <path d="M39 0V3.5H2.6L0 0H39Z" fill="currentcolor" />
  107.                                             <path d="M39 7.20001V10.7H8.00002L5.40002 7.20001H39Z" fill="currentcolor" />
  108.                                             <path d="M39 14.4V17.9H13.5L10.9 14.4H39Z" fill="currentcolor" />
  109.                                         </svg>
  110.                                     </strong>
  111.                                     {{ 'siteAdi'|ayarlar }}
  112.                                     <strong class="right-shape">
  113.                                         <svg xmlns="http://www.w3.org/2000/svg" width="39" height="18" viewBox="0 0 39 18" fill="none">
  114.                                             <path d="M0 0V3.5H36.4L39 0H0Z" fill="currentcolor" />
  115.                                             <path d="M0 7.20001V10.7H31L33.6 7.20001H0Z" fill="currentcolor" />
  116.                                             <path d="M0 14.4V17.9H25.5L28.2 14.4H0Z" fill="currentcolor" />
  117.                                         </svg>
  118.                                     </strong>
  119.                                 </span>
  120.                         <h2 class="title" data-splitting="chars" data-animation="innerAnimated">{{ hizmetler[0].adi }}</h2>
  121.                     </div>
  122.                 </div>
  123.             </div>
  124.         </div>
  125.         <div class="project-item-wrap">
  126.             <div class="container custom-container">
  127.                 <div class="row project-active">
  128.                     {% for hizmet in hizmetler[1] %}
  129.                         {% set link = ''|site_anaLink~hizmetler[0].seo~'/'~hizmet.seourl %}
  130.                         <div class="col-lg-3">
  131.                             <div class="project-item">
  132.                                 <div class="project-thumb">
  133.                                     <a href="{{ link }}"> <div  style="background-image: url({{ path('panel_storage',{'file':hizmet.resim|default('resimyok.webp')}) }});background-size: cover; overflow: hidden; width: 100%; height: 400px; background-position: center; border-radius: 10px;"></div></a>
  134.                                 </div>
  135.                                 <div class="project-content">
  136.                                     <span>{{ hizmetler[0].adi }}</span>
  137.                                     <h4 class="title"><a href="{{ link }}">{{ hizmet.adi|html_entity_decode|raw }}</a></h4>
  138.                                 </div>
  139.                             </div>
  140.                         </div>
  141.                     {% endfor %}
  142.                 </div>
  143.             </div>
  144.         </div>
  145.     </section>
  146.     <!-- project-area-end -->
  147. </main>
  148.     <!-- main-area-end -->
  149. {% endblock %}
  150. {% block javascripts %}
  151. {% endblock %}