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. {% set hizmetler = 9|site_sayfaIcerik %}
  6. {% set kurumsal = 8|site_sayfaIcerik %}
  7. {% block dil %}{{ app.session.get('dil')['kisa'] }}{% endblock %} {# tr or en #}
  8. {% block title %}{{ 'title'|ayarlar(app.session.get('dil')['id']) }}{% endblock %}
  9. {% block keywords %}{{ 'keywords'|ayarlar(app.session.get('dil')['id']) }}{% endblock %}
  10. {% block description %}{{ 'description'|ayarlar(app.session.get('dil')['id']) }}{% endblock %}
  11. {% block title2 %}{{ 'title'|ayarlar(app.session.get('dil')['id']) }}{% endblock %}
  12. {% block description2 %}{{ 'description'|ayarlar(app.session.get('dil')['id']) }}{% endblock %}
  13. {% block image_alt %}{{ 'title'|ayarlar(app.session.get('dil')['id']) }}{% endblock %}
  14. {% block title3 %}{{ 'title'|ayarlar(app.session.get('dil')['id']) }}{% endblock %}
  15. {% block description3 %}{{ 'description'|ayarlar(app.session.get('dil')['id']) }}{% endblock %}
  16. {% block image %}{{ 'siteYolu'|ayarlar~'storage/logo.webp' }}{% endblock %}
  17. {% block image2 %}{{ 'siteYolu'|ayarlar~'storage/logo.webp' }}{% endblock %}
  18. {% block body %}
  19.     <div id="carouselExampleControls" class="carousel slide" data-bs-ride="carousel">
  20.         <div class="carousel-inner">
  21.             {% for key,slider in sliders %}
  22.                 <div class="carousel-item position-relative {% if key==0 %}active{% endif %}">
  23.                     <div  style="background-image: url({{ path('panel_storage',{'file':slider.resim|default('resimyok.webp')}) }});background-size: cover; overflow: hidden; width: 100%; height: 700px; background-position: center; "></div>
  24.                 </div>
  25.             {% endfor %}
  26.         </div>
  27.         <button class="carousel-control-prev" type="button" data-bs-target="#carouselExampleControls" data-bs-slide="prev">
  28.             <span class="carousel-control-prev-icon" aria-hidden="true"></span>
  29.             <span class="visually-hidden">Previous</span>
  30.         </button>
  31.         <button class="carousel-control-next" type="button" data-bs-target="#carouselExampleControls" data-bs-slide="next">
  32.             <span class="carousel-control-next-icon" aria-hidden="true"></span>
  33.             <span class="visually-hidden">Next</span>
  34.         </button>
  35.     </div>
  36.     <!-- Showcase -->
  37.     <div class="showcase-area pt-120 pb-120 position-relative index-plus-one">
  38.         <div class="container-fluid">
  39.             <div class="row justify-content-end">
  40.                 <div class="col-lg-11">
  41.                     <div class="row align-items-center">
  42.                         <div class="col-lg-6">
  43.                             <div class="section-title section-title-style-two title-anim">
  44.                                 <h2 class="syne-font-700">{{ hizmetler[0].adi }}</h2>
  45.                                 <p>{{ hizmetler[0].description|default('') }}</p>
  46.                             </div>
  47.                         </div>
  48.                         <div class="col-lg-4 mobt-24">
  49.                             <div class="slider-control slider-control-white d-flex align-content-center justify-content-lg-end">
  50.                                 <div class="showcase-button-prev prev">
  51.                                     <svg width="58" height="12" viewBox="0 0 58 12" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
  52.                                         <path d="M0.46967 5.46966C0.176777 5.76256 0.176777 6.23743 0.46967 6.53033L5.24264 11.3033C5.53553 11.5962 6.01041 11.5962 6.3033 11.3033C6.59619 11.0104 6.59619 10.5355 6.3033 10.2426L2.06066 6L6.3033 1.75735C6.59619 1.46446 6.59619 0.989588 6.3033 0.696695C6.01041 0.403801 5.53553 0.403801 5.24264 0.696695L0.46967 5.46966ZM58 5.25L1 5.25L1 6.75L58 6.75L58 5.25Z" fill="currentColor"/>
  53.                                     </svg>
  54.                                 </div>
  55.                                 <div class="showcase-pagination slide-pagination w-auto"></div>
  56.                                 <div class="showcase-button-next next">
  57.                                     <svg width="58" height="12" viewBox="0 0 58 12" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
  58.                                         <path d="M57.5303 6.53034C57.8232 6.23744 57.8232 5.76257 57.5303 5.46967L52.7574 0.696704C52.4645 0.40381 51.9896 0.40381 51.6967 0.696704C51.4038 0.989597 51.4038 1.46447 51.6967 1.75736L55.9393 6L51.6967 10.2426C51.4038 10.5355 51.4038 11.0104 51.6967 11.3033C51.9896 11.5962 52.4645 11.5962 52.7574 11.3033L57.5303 6.53034ZM-6.55671e-08 6.75L57 6.75L57 5.25L6.55671e-08 5.25L-6.55671e-08 6.75Z" fill="currentColor"/>
  59.                                     </svg>
  60.                                 </div>
  61.                             </div>
  62.                         </div>
  63.                     </div>
  64.                 </div>
  65.             </div>
  66.             <div class="row justify-content-end mt-60">
  67.                 <div class="col-lg-11 pe-0">
  68.                     <div class="swiper showcase-slider fade_left">
  69.                         <div class="swiper-wrapper">
  70.                             {% for hizmet in hizmetler[1] %}
  71.                                 {% set link = ''|site_anaLink~hizmetler[0].seo~'/'~hizmet.seourl %}
  72.                             <div class="swiper-slide">
  73.                                 <div class="showcase-box showcase-box-four">
  74.                                     <div class="showcase-img overflow-hidden position-relative">
  75.                                         <div  style="background-image: url({{ path('panel_storage',{'file':hizmet.resim|default('resimyok.webp')}) }});background-size: cover; overflow: hidden; width: 100%; height: 595px; background-position: center; "></div>
  76.                                         <div class="showcase-content text-center">
  77.                                             <h2 class="">{{ hizmet.adi|html_entity_decode|raw }}</h2>
  78.                                             <a class=" common-btn style-three d-inline-block link" href="{{ link }}">Daha fazla <svg width="27" height="14" viewBox="0 0 27 14" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
  79.                                                     <path d="M0.217443 6.25H18.4827C18.6276 6.25 18.7001 6.30263 18.7001 6.40789V7.59211C18.7001 7.69737 18.6276 7.75 18.4827 7.75H0.217443C0.0724811 7.75 0 7.69737 0 7.59211V6.40789C0 6.30263 0.0724811 6.25 0.217443 6.25Z" fill="currentColor"/>
  80.                                                     <path d="M20.7002 12.2802L25.0469 7.93355C25.5602 7.42021 25.5602 6.58021 25.0469 6.06688L20.7002 1.72021" stroke="currentColor" stroke-width="1.5" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round"/>
  81.                                                 </svg>
  82.                                             </a>
  83.                                         </div>
  84.                                     </div>
  85.                                 </div>
  86.                             </div>
  87.                             {% endfor %}
  88.                         </div>
  89.                     </div>
  90.                 </div>
  91.             </div>
  92.         </div>
  93.     </div>
  94.     <!-- Showcase End -->
  95.     <div class="choose-area choose-area-two pb-120">
  96.         <div class="container">
  97.             <div class="row justify-content-between align-items-center">
  98.                 <div class="col-lg-6">
  99.                     <div class="section-title title-anim">
  100.                         <h2>{{ kurumsal[1][0].baslik|html_entity_decode|raw }}</h2>
  101.                         <p>{{ kurumsal[1][0].metin|html_entity_decode|raw }}</p>
  102.                     </div>
  103.                     <div class="common-btn style-five mt-5 link">
  104.                     <span class="common-btn_circle">
  105.                     </span>
  106.                         <a href="{{ ''|site_anaLink~kurumsal[0].seo }}" class="common-btn_inner link">
  107.                         <span class="button_text_container">
  108.                             Daha fazla
  109.                         </span>
  110.                         </a>
  111.                     </div>
  112.                 </div>
  113.                 <div class="col-lg-5 mobt-24">
  114.                     <div class="img-wrap-box img-wrap-box-white img-wrap-box-video position-relative fade_left">
  115.                         <div  style="background-image: url({{ path('panel_storage',{'file':kurumsal[1][0].resim|default('resimyok.webp')}) }});background-size: cover; overflow: hidden; width: 100%; height: 650px; background-position: center; "></div>
  116.                         <img class="position-absolute img-wrap-box-video-sp d-none d-lg-block" src="{{ asset('dist/assets/images/shape/box-top-sp-2.png') }}" alt="">
  117.                     </div>
  118.                 </div>
  119.             </div>
  120.         </div>
  121.     </div>
  122. {% endblock %}
  123. {% block javascripts %}
  124. {% endblock %}