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.  
  18.   {#
  19. -- Slider : "sliders" adında bir dizide döndürülmektedir. Dizinin "baslik, aciklama, resim" değişkenleri bulunuyor. Bu bilgiler ile kodlamayınız.
  20. ----------------------------------------------------
  21. #}
  22. <div class="rts-banner-three-area rts-section-gap">
  23.         <div class="container pt--150 pb--90">
  24.             <div class="row">
  25.                 <div class="banner-three-wrapper">
  26.                     <span class="pre-title">{{ 'siteAdi'|ayarlar }}</span>
  27.                     <h1 class="title">
  28.                         {{ sliders[0].baslik|raw }} <br>
  29.                         <span class="strock" id="fullText" fullText="{{ sliders[0].aciklama|raw }}">
  30.                             {{ sliders[0].aciklama|split(',')[0] }}
  31.                         </span>
  32.                     </h1>
  33.                     
  34.                     <!-- to bottom icon -->
  35.                     <div class="rts-to-bottom-start">
  36.                         <a href="#about"><img src="/dist/assets/images/banner/shape/03.png" alt="shape image"></a>
  37.                     </div>
  38.                     <!-- to bottom icon end -->
  39.                 </div>
  40.             </div>
  41.         </div>
  42.         <div class="banner-image-area">
  43.            <img src="/storage/{{ sliders[0].resim }}" alt="banner-image">
  44.         </div>
  45.     </div>
  46. {#
  47. -- Site Sayfa Verileri : "veriler[3]" adında bir dizi döndürülüyor. 0. elemanı sayfa bilgilerini içerir. 1 elemanı dizidir. Ve sayfa içeriğini döndürür. Bu bilgilere göre kodlama yapınız.  
  48. -- Modül alanları : baslik, metin, resim
  49. ** 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')"
  50. ----------------------------------------------------
  51. #}
  52. <div class="rts-about-area rts-section-gap3" id="about">
  53.         <div class="container">
  54.             <div class="row align-items-start">
  55.                 <div class="col-lg-5">
  56.                     <div class="about-image-thumbnail-3">
  57.                       {{ veriler[3][1][0].resim|imgOlustur(600,10,'cover')|raw }}
  58.                      
  59.                     </div>
  60.                 </div>
  61.                 <div class="col-lg-7 pl--60 p-md-0">
  62.                     <div class="about-three-wrapper">
  63.                         <div class="title-three-left">
  64.                             <div class="bg-title">
  65.                                 {{ veriler[3][1][0].baslik|html_entity_decode|raw }}
  66.                             </div>
  67.                             <span class="pre-title" data-sal="slide-up" data-sal-delay="100" data-sal-duration="800" style="display: block;">
  68.                                 {{ 'siteAdi'|ayarlar }}
  69.                             </span>
  70.                             <h3 class="title" data-sal="slide-up" data-sal-delay="100" data-sal-duration="800">
  71.                                {{ veriler[3][1][0].baslik|html_entity_decode|raw }}
  72.                             </h3>
  73.                         </div>
  74.                         <div class="rts-tab-three-start" data-sal="slide-up" data-sal-delay="400" data-sal-duration="800">
  75.                            
  76.                            
  77.                                 <div class="tab-pane fade show active" id="home-tab-pane" role="tabpanel" aria-labelledby="home-tab" tabindex="0">
  78.                                     <div class="single-tab-content-three">
  79.                                         <p class="disc">
  80.                                           {% set metin = veriler[3][1][0].metin|html_entity_decode|split('</p>')|raw %}
  81.                                               {{ (metin[0]~'</p>')|raw  }}
  82.                                               {{ (metin[1]|default('<p>')~'</p>')|raw  }}
  83.                                         </p>
  84.                                        
  85.                                         <a href="/{{ veriler[3][0].seo }}" class="rts-btn btn-seconday">Daha fazla</a>
  86.                                     </div>
  87.                                 </div>
  88.                                 <!-- ingle content tab end -->
  89.                                 
  90.                         </div>
  91.                     </div>
  92.                 </div>
  93.             </div>
  94.         </div>
  95.     </div>{#
  96. -- Site Sayfa Verileri : "veriler[4]" adında bir dizi döndürülüyor. 0. elemanı sayfa bilgilerini içerir. 1 elemanı dizidir. Ve sayfa içeriğini döndürür. Bu bilgilere göre kodlama yapınız.  
  97. -- Modül alanları : seourl, sayfabaşlığı, anahtarkelimeler, sayfaaçıklaması, adı, metin, resim
  98. ** 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')"
  99. ----------------------------------------------------
  100. #}
  101. <div class="funfacts-and-casestudy-wrapper bg_image--5 no-repeat">
  102.   <div class="funfacts-area section-bottom-seperator rts-section-gap">
  103.     <div class="container">
  104.         <div class="row">
  105.             <div class="col-lg-12">
  106.                 <div class="funfacts-three-wrapper">
  107.                     <!-- Tekil funfacts alanı başlangıç -->
  108.                     <div class="single-fun-facts-three">
  109.                         <div class="header-area">
  110.                             <div class="logo">
  111.                                 <img src="/dist/assets/images/fun-facts/icon/02.svg" alt="funfacts">
  112.                             </div>
  113.                             <h2 class="title plus">
  114.                                 <span class="counter">25</span>
  115.                             </h2>
  116.                         </div>
  117.                         <p class="disc">
  118.                             Yıllık Tecrübe<br> Çıtışlı Mermer ve Orman Ürünleri, yılların birikimiyle sektörde fark yaratıyor.
  119.                         </p>
  120.                     </div>
  121.                     <!-- Tekil funfacts alanı bitiş -->
  122.                     <!-- Tekil funfacts alanı başlangıç -->
  123.                     <div class="single-fun-facts-three">
  124.                         <div class="header-area">
  125.                             <div class="logo">
  126.                                 <img src="/dist/assets/images/fun-facts/icon/08.svg" alt="funfacts">
  127.                             </div>
  128.                             <h2 class="title parcent">
  129.                                 <span class="counter">80</span>
  130.                             </h2>
  131.                         </div>
  132.                         <p class="disc">
  133.                             Başarıyla Tamamlanan Projeler<br> Müşterilerimizin memnuniyeti bizim en büyük başarımızdır.
  134.                         </p>
  135.                     </div>
  136.                     <!-- Tekil funfacts alanı bitiş -->
  137.                     <!-- Tekil funfacts alanı başlangıç -->
  138.                     <div class="single-fun-facts-three">
  139.                         <div class="header-area">
  140.                             <div class="logo">
  141.                                 <img src="/dist/assets/images/fun-facts/icon/09.svg" alt="funfacts">
  142.                             </div>
  143.                             <h2 class="title plus">
  144.                                 <span class="counter">100</span>
  145.                             </h2>
  146.                         </div>
  147.                         <p class="disc">
  148.                             Uzman Ekibimiz<br> 7/24 destek sunan, alanında uzman 100 kişilik bir ekibe sahibiz.
  149.                         </p>
  150.                     </div>
  151.                     <!-- Tekil funfacts alanı bitiş -->
  152.                     <!-- Tekil funfacts alanı başlangıç -->
  153.                     <div class="single-fun-facts-three">
  154.                         <div class="header-area">
  155.                             <div class="logo">
  156.                                 <img src="/dist/assets/images/fun-facts/icon/07.svg" alt="funfacts">
  157.                             </div>
  158.                             <h2 class="title plus">
  159.                                 <span class="counter">38</span>
  160.                             </h2>
  161.                         </div>
  162.                         <p class="disc">
  163.                             Hizmet Verilen Ülkeler<br> Çıtışlı Mermer ve Orman Ürünleri, 38 ülkede projeler gerçekleştirdi.
  164.                         </p>
  165.                     </div>
  166.                     <!-- Tekil funfacts alanı bitiş -->
  167.                 </div>
  168.             </div>
  169.         </div>
  170.     </div>
  171. </div>
  172.     <div class="rts-case-study-area rts-section-gapTop">
  173.         <div class="container">
  174.             <div class="row">
  175.                 <div class="col-lg-12">
  176.                     <div class="title-wrapper-case">
  177.                         <div class="left-title-area-case">
  178.                             <span class="pre-title">{{ 'siteAdi'|ayarlar }}</span>
  179.                             <h2 class="title">{{ veriler[4][0].adi }}</h2>
  180.                         </div>
  181.                         <div class="swiper-btn-case">
  182.                             <div class="swiper-button-next"></div>
  183.                             <div class="swiper-button-prev"></div>
  184.                         </div>
  185.                     </div>
  186.                 </div>
  187.             </div>
  188.         </div>
  189.         <div class="container-full-screen mt--50">
  190.             <!-- Swiper -->
  191.             <div class="swiper case-three">
  192.                 <div class="swiper-wrapper">
  193.                     {% for case in veriler[4][1] %}
  194.                     <div class="swiper-slide">
  195.                         <!-- single image area start -->
  196.                         <div class="rts-single-case-three">
  197.                             <div class="wrapper">
  198.                                 <a href="{{ case.link }}" class="thumbnail">
  199.                                     {{ case.resim | imgOlustur(400, 10, 'cover')|raw }}
  200.                                 </a>
  201.                                 <div class="content">
  202.                                     <a href="{{ case.link }}">
  203.                                         <h4 class="title">{{ case.adi|html_entity_decode|raw }}</h4>
  204.                                     </a>
  205.                                     <p class="disc">{{ case.metin|html_entity_decode|striptags|slice(0,75)|raw }}...</p>
  206.                                 </div>
  207.                             </div>
  208.                         </div>
  209.                         <!-- single image area end -->
  210.                     </div>
  211.                     {% endfor %}
  212.                 </div>
  213.             </div>
  214.         </div>
  215.     </div>
  216. </div>
  217. <div class="rts-company-process rts-section-gap3Top rts-section-gap3Bottom">
  218.     <div class="container">
  219.         <div class="row">
  220.             <div class="col-lg-12">
  221.                 <div class="title-three-left">
  222.                     <div class="bg-title">
  223.                         Süreç
  224.                     </div>
  225.                     <span class="pre-title">
  226.                         {{ 'siteAdi'|ayarlar }}
  227.                     </span>
  228.                     <h3 class="title">
  229.                         Çalışma Sürecimiz
  230.                     </h3>
  231.                 </div>
  232.             </div>
  233.         </div>
  234.         <!-- süreç wrapper başlangıç -->
  235.         <div class="row">
  236.             <div class="col-lg-12">
  237.                 <div class="main-process-wrapper">
  238.                     <!-- tek süreç alanı başlangıç -->
  239.                     <div class="single-working-process-three">
  240.                         <div class="icon">
  241.                             <img src="/dist/assets/images/working-process/icon/01.png" alt="">
  242.                         </div>
  243.                         <h5 class="title">Danışmanlık</h5>
  244.                         <p class="disc">
  245.                             Projelerinize en uygun çözümleri sunmak için uzman ekibimizle detaylı danışmanlık hizmeti veriyoruz.
  246.                         </p>
  247.                     </div>
  248.                     <!-- tek süreç alanı bitiş -->
  249.                     <!-- tek süreç alanı başlangıç -->
  250.                     <div class="single-working-process-three">
  251.                         <div class="icon">
  252.                             <img src="/dist/assets/images/working-process/icon/02.png" alt="">
  253.                         </div>
  254.                         <h5 class="title">Detaylı Teklif</h5>
  255.                         <p class="disc">
  256.                             İhtiyaçlarınıza özel hazırladığımız detaylı tekliflerle projelerinizi en iyi şekilde planlıyoruz.
  257.                         </p>
  258.                     </div>
  259.                     <!-- tek süreç alanı bitiş -->
  260.                     <!-- tek süreç alanı başlangıç -->
  261.                     <div class="single-working-process-three">
  262.                         <div class="icon">
  263.                             <img src="/dist/assets/images/working-process/icon/03.png" alt="">
  264.                         </div>
  265.                         <h5 class="title">Proje Uygulama</h5>
  266.                         <p class="disc">
  267.                             Uzman ekibimiz, projelerinizin hayata geçirilmesi için titizlikle çalışır ve tüm adımları takip eder.
  268.                         </p>
  269.                     </div>
  270.                     <!-- tek süreç alanı bitiş -->
  271.                     <!-- tek süreç alanı başlangıç -->
  272.                     <div class="single-working-process-three">
  273.                         <div class="icon">
  274.                             <img src="/dist/assets/images/working-process/icon/04.png" alt="">
  275.                         </div>
  276.                         <h5 class="title">Son Kontrol</h5>
  277.                         <p class="disc">
  278.                             Projelerinizin tamamlanmasının ardından son kontrolleri yaparak teslimat öncesi kaliteyi garanti ediyoruz.
  279.                         </p>
  280.                     </div>
  281.                     <!-- tek süreç alanı bitiş -->
  282.                 </div>
  283.             </div>
  284.         </div>
  285.         <!-- süreç wrapper bitiş -->
  286.     </div>
  287. </div>
  288. <!-- rts rtsa funfacts and case studys end -->
  289.                     
  290.                     {% endblock %}
  291. {% block javascripts %}{% endblock %}