templates/main/default/index.html.twig line 1

Open in your IDE?
  1. {% extends 'main_base.html.twig' %}
  2. {% block title %}{{ baslik.title }}{% endblock %}
  3. {% block description %}{{ baslik.description }}{% endblock %}
  4. {% block content %}
  5.     <style>
  6.         .navbar__section-links__wrapper a {
  7.             color: #718677 !important;
  8.         }
  9.         .navbar__section-links__wrapper :not(.HOME) {
  10.             opacity: 0.4;
  11.         }
  12.         .navbar__section-search__and__onlinecatalog-online-text {
  13.             font-weight: 700;
  14.         }
  15.         .ham__menu-line {
  16.             background-color: #8a9f90 !important;
  17.         }
  18.         .navbar__section-logo__wrapper a h1 {
  19.             color: #44504e;
  20.         }
  21.         .navbar__section-search__and__onlinecatalog-search-text {
  22.             color: #949195;
  23.         }
  24.         .navbar__section-search__and__onlinecatalog-online-border, .navbar__section-search__and__onlinecatalog-search-border {
  25.             background-color: #94919591;
  26.         }
  27.         .navbar__section-links__wrapper a {
  28.             color: #949195;
  29.         }
  30.         .navbar__section-search__and__onlinecatalog-online-text {
  31.             color: #8a9f9091;
  32.         }
  33.         .navbar__section-search__and__onlinecatalog-online-text span {
  34.             color: #8a9f9091;
  35.         }
  36.         canvas {
  37.             background-position: 80% 50%;
  38.         }
  39.         .navbar__section {
  40.             border-bottom: 0px;
  41.         }
  42.         body {
  43.             /*  overflow-x: hidden; */
  44.         }
  45.         .navbar__image {
  46.             background: #f5f5f5;
  47.             z-index: 20 !important;
  48.             background-position: center;
  49.             background-size: cover;
  50.             box-shadow: rgb(255 255 255 / 56%) 0px 22px 70px 4px;
  51.             position: fixed;
  52.             height: 195px;
  53.             top: 0;
  54.             right: 0;
  55.             left: 0;
  56.             bottom: 0;
  57.             transition: all 0.5s;
  58.         }
  59.         .navbar__section-links__wrapper {
  60.             z-index: 10;
  61.         }
  62.         .navbar__section {
  63.             z-index: 10001;
  64.         }
  65.         .navbar__section-container {
  66.             z-index: 10001;
  67.             overflow-x: hidden;
  68.             background-color: transparent !important;
  69.             border-bottom: 0px !important
  70.         }
  71.         .header__section {
  72.             margin-top: 183px;
  73.         }
  74.         .navbar__section-search__and__onlinecatalog-search-icon {
  75.             fill: #949195;
  76.         }
  77.         @media only screen and (max-width: 800px) {
  78.             .navbar__image {
  79.                 height: 100px !important;
  80.             }
  81.         }
  82.     </style>
  83.     <style>
  84.         {#    <div class="intro">#}
  85.         {#        <div class="intro-left">#}
  86.         {#            <div class="intro-left-box">#}
  87.         {#                <img src="{{ asset('assets/main/images/followUs.png') }}" alt="">#}
  88.         {#                <div class="intro-left-text">#}
  89.         {#                    <a href="https://www.instagram.com/elefantevita/"><span class="follow-us-text">{{ 'bizitakipedin'|trans }}</span></a>#}
  90.         {#                </div>#}
  91.         {#            </div>#}
  92.         {#        </div>#}
  93.         {#        <div class="intro-left-mid">#}
  94.         {#            <div class="intro-left-mid-svg">#}
  95.         {#                <div class="svg-box">#}
  96.         {#                    <!--  İğne  -->#}
  97.         {#                    <img class="igne" src="{{ asset('assets/main/images/igne.svg') }}" alt="">#}
  98.         {#                    <!--  İp  -->#}
  99.         {#                    <svg version="1.1" id="ip-svg" fill="none" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"#}
  100.         {#                         viewBox="0 0 100 300" style="enable-background:new 0 0 100 300;" xml:space="preserve">#}
  101.         {#                        <path d="M13.1,89.9C19.7,71.9,36.9,38.2,60.2,53c4.9,3.2,8.6,7.7,12.1,12.3c15.1,19.8,20.6,46.3,14.9,70.6#}
  102.         {#                c-1.6,6.9-3.8,14.1-7.3,20.3c-6.4,9.9-19.3,26.9-32.6,24.9c-6.4-1.1-10.6-6.8-13.1-12.3c-3.3-7.5-1.3-17,4.4-22.8#}
  103.         {#                c5.9-5.8,15.5-7.1,22.7-3c13.8,9.6,22,34.9,21.5,51.2c-0.1,7.5-1.9,15.1-5.7,21.6c6.9-13.4,5.4-29.5,0.5-43.3#}
  104.         {#                c-3.6-9.7-9-21-17.7-26.9c-7.5-4.1-18.2-0.9-21.7,7c-2.2,4.6-2.8,10.1-0.6,14.8c1.4,3,3.5,6.1,6.1,8.1#}
  105.         {#                c11.4,8.2,26.4-11.6,32.1-20.2c0.7-1.1,1.5-2.2,2-3.4c8.6-18.7,10.4-40.6,4.4-60.3c-3.2-10.5-8.6-20.4-15.5-29#}
  106.         {#                C43.7,33.8,22.3,68.4,13.1,89.9L13.1,89.9z"/>#}
  107.         {#                </svg>#}
  108.         {#                </div>#}
  109.         {#            </div>#}
  110.         {#            <img src="{{ asset('assets/main/images/elefante1.png') }}" class="intro-left-content-img" alt="Elefante">#}
  111.         {#            <div class="intro-left-mid-line-wrapper">#}
  112.         {#                <div class="intro-left-mid-line">#}
  113.         {#                    <span>NEW</span>#}
  114.         {#                    <span>2023</span>#}
  115.         {#                </div>#}
  116.         {#                <div class="intro-left-mid-line-1">#}
  117.         {#                    <span>DNTL - 8</span>#}
  118.         {#                </div>#}
  119.         {#            </div>#}
  120.         {#        </div>#}
  121.         {#        <div class="intro-right">#}
  122.         {#            <div class="intro-right-frame intro-right-frame-top"></div>#}
  123.         {#            <div class="intro-right-frame intro-right-frame-mid-top"></div>#}
  124.         {#            <div class="intro-right-frame intro-right-frame-image"><img src="{{ asset('assets/main/images/elefante-frame.svg') }}" alt=""></div>#}
  125.         {#            <div class="intro-right-frame intro-right-frame-mid-down"></div>#}
  126.         {#            <div class="intro-right-frame intro-right-frame-down"></div>#}
  127.         {#            <div class="mainSwiper-text-content">#}
  128.         {#                <p class="animatetext-mainswiper" data-aos="fade-up" data-aos-duration="500" data-aos-easing="linear">{{ bolumler[0].metin|raw }}</p>#}
  129.         {#            </div>#}
  130.         {#            <div class="swiper mainSwiper">#}
  131.         {#                <div class="swiper-wrapper">#}
  132.         {#                    {% for resim in bolumler[0].anasayfaBolum.resimler|filter(r => r.del == 0)|sort((a,b) => a.sira > b.sira) %}#}
  133.         {#                        <div class="swiper-slide"><img src="{{ asset('uploads/anasayfa/' ~ resim.resim) }}" alt=""></div>#}
  134.         {#                    {% endfor %}#}
  135.         {#                </div>#}
  136.         {#            </div>#}
  137.         {#            <div class="intro-right-indicators">#}
  138.         {#                <div class="intro-right-indicators-prev swiper-button-prev"><i class="fas fa-long-arrow-left"></i></div>#}
  139.         {#                <div class="intro-right-indicators-next swiper-button-next"><i class="fas fa-long-arrow-right"></i>#}
  140.         {#                </div>#}
  141.         {#            </div>#}
  142.         {#        </div>#}
  143.         {#    </div>#}
  144.         {#    <div class="cotton-svg">#}
  145.         {#        <img  src="{{ asset('assets/main/images/cotton.svg') }}" alt="">#}
  146.         {#    </div>#}
  147.         {#    <div class="cotton-svg-1">#}
  148.         {#        <img src="{{ asset('assets/main/images/cotton.svg') }}" alt="">#}
  149.         {#    </div>#}
  150.         {#    <div class="cotton-svg-2">#}
  151.         {#        <img src="{{ asset('assets/main/images/cotton.svg') }}" alt="">#}
  152.         {#    </div>#}
  153.         {#    <div id="main">#}
  154.         {#        <div class="home-textiles">#}
  155.         {#            <div class="intro-left-box-count"><span>01</span></div>#}
  156.         {#            <h1 class="main-header">{{ 'anasayfa.evtekstili'|trans }}</h1>#}
  157.         {#            <hr class="main-header-line">#}
  158.         {#            <div class="ev-tekstili-content">#}
  159.         {#                <div class="ev-tekstili" data-aos="fade-up" data-aos-duration="400"  data-aos-delay="300">#}
  160.         {#                    <h2>{{ bolumler[1].baslik }}</h2>#}
  161.         {#                    {{ bolumler[1].metin|raw }}#}
  162.         {#                </div>#}
  163.         {#                <div class="ev-tekstili" data-aos="fade-up" data-aos-duration="400"  data-aos-delay="500">#}
  164.         {#                    <h2>{{ bolumler[2].baslik }}</h2>#}
  165.         {#                    {{ bolumler[2].metin|raw }}#}
  166.         {#                </div>#}
  167.         {#                <div class="ev-tekstili" data-aos="fade-up" data-aos-duration="400"  data-aos-delay="700">#}
  168.         {#                    <h2>{{ bolumler[3].baslik }}</h2>#}
  169.         {#                    {{ bolumler[3].metin|raw }}#}
  170.         {#                </div>#}
  171.         {#            </div>#}
  172.         {#            <button class="global-btn" data-aos="fade-zoom-in" data-aos-duration="400" data-aos-delay="900"><a#}
  173.         {#                        href="{{ path('app_main_hakkimizda') }}">{{ 'anasayfa.inceleyin'|trans }}</a></button>#}
  174.         {#        </div>#}
  175.         {#        <div class="home-collection">#}
  176.         {#            <div class="home-collection-video">#}
  177.         {#                <div class="home-collection-video-content">#}
  178.         {#                    <video id="collection-video" class="collection-video" muted="" loop="">#}
  179.         {#                        <source src="{{ asset('assets/main/videos/elefante.mp4') }}" type="video/mp4">#}
  180.         {#                        Your browser does not support the video tag.#}
  181.         {#                    </video>#}
  182.         {#                    <div class="collection-video-bg"></div>#}
  183.         {#                </div>#}
  184.         {#                <div class="home-collection-video-image" data-aos="fade-zoom-in" data-aos-duration="500" data-aos-easing="linear">#}
  185.         {#                    <img src="{{ asset('assets/main/images/homeCollection.png') }}" alt="">#}
  186.         {#                </div>#}
  187.         {#            </div>#}
  188.         {#            <div class="home-collection-image"><img src="{{ asset('assets/main/images/ip-2.webp') }}" alt=""></div>#}
  189.         {#        </div>#}
  190.         {#        <div class="production">#}
  191.         {#            <div class="production-content">#}
  192.         {#                <div class="production-image">#}
  193.         {#                    <div class="swiper productionSwiper">#}
  194.         {#                        <div class="swiper-wrapper">#}
  195.         {#                            <div class="swiper-slide"><img src="{{ asset('uploads/anasayfa/' ~ bolumler[5].anasayfaBolum.resimler|filter(r => r.del == 0)|first.resim) }}" alt=""></div>#}
  196.         {#                            <div class="swiper-slide"><img src="{{ asset('uploads/anasayfa/' ~ bolumler[6].anasayfaBolum.resimler|filter(r => r.del == 0)|first.resim) }}" alt=""></div>#}
  197.         {#                            <div class="swiper-slide"><img src="{{ asset('uploads/anasayfa/' ~ bolumler[7].anasayfaBolum.resimler|filter(r => r.del == 0)|first.resim) }}" alt=""></div>#}
  198.         {#                            <div class="swiper-slide"><img src="{{ asset('uploads/anasayfa/' ~ bolumler[8].anasayfaBolum.resimler|filter(r => r.del == 0)|first.resim) }}" alt=""></div>#}
  199.         {#                        </div>#}
  200.         {#                    </div>#}
  201.         {#                </div>#}
  202.         {#                <div class="production-content-text">#}
  203.         {#                    <div class="production-header" data-aos="fade-left" data-aos-duration="600"  data-aos-delay="300">{{ bolumler[4].baslik }}</div>#}
  204.         {#                    <div class="production-text" data-aos="fade-left" data-aos-duration="600"  data-aos-delay="400">#}
  205.         {#                        {{ bolumler[4].metin|raw }}#}
  206.         {#                    </div>#}
  207.         {#                    <button data-aos="fade-left" data-aos-duration="600" data-aos-delay="500" class="global-btn"><a#}
  208.         {#                                href="{{ path('app_main_uretim') }}">{{ 'anasayfa.uretimbloglerimiz'|trans }}</a></button>#}
  209.         {#                </div>#}
  210.         {#            </div>#}
  211.         {#        </div>#}
  212.         {#        <div class="production-items-wrapper">#}
  213.         {#            <div class="production-items">#}
  214.         {#                <div class="production-item" data-aos="fade-up" data-aos-duration="300" data-aos-easing="linear" data-aos-delay="300">#}
  215.         {#                    <div class="production-item-number">01.</div>#}
  216.         {#                    <div class="production-item-header">{{ bolumler[5].baslik }}</div>#}
  217.         {#                    <div class="production-item-text">{{ bolumler[5].metin|raw }}</div>#}
  218.         {#                    <div class="production-item-bg"></div>#}
  219.         {#                </div>#}
  220.         {#                <div class="production-item" data-aos="fade-up" data-aos-duration="300" data-aos-easing="linear" data-aos-delay="500">#}
  221.         {#                    <div class="production-item-number">02.</div>#}
  222.         {#                    <div class="production-item-header">{{ bolumler[6].baslik }}</div>#}
  223.         {#                    <div class="production-item-text">{{ bolumler[6].metin|raw }}</div>#}
  224.         {#                    <div class="production-item-bg"></div>#}
  225.         {#                </div>#}
  226.         {#                <div class="production-item" data-aos="fade-up" data-aos-duration="300" data-aos-easing="linear" data-aos-delay="700">#}
  227.         {#                    <div class="production-item-number">03.</div>#}
  228.         {#                    <div class="production-item-header">{{ bolumler[7].baslik }}</div>#}
  229.         {#                    <div class="production-item-text">{{ bolumler[7].metin|raw }}</div>#}
  230.         {#                    <div class="production-item-bg"></div>#}
  231.         {#                </div>#}
  232.         {#                <div class="production-item" data-aos="fade-up" data-aos-duration="300" data-aos-easing="linear" data-aos-delay="900">#}
  233.         {#                    <div class="production-item-number">04.</div>#}
  234.         {#                    <div class="production-item-header">{{ bolumler[8].baslik }}</div>#}
  235.         {#                    <div class="production-item-text">{{ bolumler[8].metin|raw }}</div>#}
  236.         {#                    <div class="production-item-bg"></div>#}
  237.         {#                </div>#}
  238.         {#            </div>#}
  239.         {#        </div>#}
  240.         {#        <div class="duvet-cover">#}
  241.         {#            <div class="duvet-cover-content">#}
  242.         {#                <div class="duvet-cover-header" data-aos="fade-right" data-aos-duration="600"  data-aos-delay="300">#}
  243.         {#                    {{ bolumler[9].baslik }}#}
  244.         {#                </div>#}
  245.         {#                <div class="duver-cover-text" data-aos="fade-right" data-aos-duration="600"  data-aos-delay="400">#}
  246.         {#                    {{ bolumler[9].metin|raw }}#}
  247.         {#                </div>#}
  248.         {#                <div class="duvet-cover-btn" data-aos="fade-right" data-aos-duration="600"  data-aos-delay="500">#}
  249.         {#                    <button class="global-btn"><a href="#">{{ 'anasayfa.urungruplari'|trans }}</a></button>#}
  250.         {#                </div>#}
  251.         {#            </div>#}
  252.         {#            <div class="duvet-cover-images">#}
  253.         {#                <div class="duvet-cover-image-1">#}
  254.         {#                    <div class="swiper duvetCoverSwiper1">#}
  255.         {#                        <div class="swiper-wrapper">#}
  256.         {#                            <div class="swiper-slide"><img src="{{ asset('uploads/anasayfa/' ~ bolumler[9].anasayfaBolum.resimler|filter(r => r.del == 0)|first.resim) }}" alt=""></div>#}
  257.         {#                        </div>#}
  258.         {#                    </div>#}
  259.         {#                </div>#}
  260.         {#                <div class="duvet-cover-image-2">#}
  261.         {#                    <div class="swiper duvetCoverSwiper2">#}
  262.         {#                        <div class="swiper-wrapper">#}
  263.         {#                            {% for resim in bolumler[9].anasayfaBolum.resimler|filter(r => r.del == 0)|sort((a,b) => a.sira > b.sira) %}#}
  264.         {#                                {% if loop.index != 1 %}#}
  265.         {#                                    <div class="swiper-slide"><img src="{{ asset('uploads/anasayfa/' ~ resim.resim) }}" alt=""></div>#}
  266.         {#                                {% endif %}#}
  267.         {#                            {% endfor %}#}
  268.         {#                        </div>#}
  269.         {#                    </div>#}
  270.         {#                </div>#}
  271.         {#            </div>#}
  272.         {#        </div>#}
  273.         {#        <div class="communication">#}
  274.         {#            <div class="communication-box">#}
  275.         {#                <img src="{{ asset('assets/main/images/irtibat.webp') }}" alt="">#}
  276.         {#                <div class="communication-box-content">#}
  277.         {#                    <div class="communication-box-content-header" data-aos="fade-down" data-aos-duration="600"  data-aos-delay="500">{{ 'anasayfa.irtibatagecin'|trans }}</div>#}
  278.         {#                    <div class="communication-box-content-text" data-aos="fade-down" data-aos-duration="600"  data-aos-delay="500">#}
  279.         {#                        {{ 'anasayfa.irtibataltmetin'|trans }}#}
  280.         {#                    </div>#}
  281.         {#                    <div class="communication-box-content-email" data-aos="fade-down" data-aos-duration="600"  data-aos-delay="500">E-Posta : {{ adresler[0].email }}</div>#}
  282.         {#                    <div class="communication-box-content-number" data-aos="fade-down" data-aos-duration="600"  data-aos-delay="500">{{ adresler[0].telefonlar|first.telefon }}</div>#}
  283.         {#                    <div class="communication-box-content-button" data-aos="fade-down" data-aos-duration="600"  data-aos-delay="500">#}
  284.         {#                        <button class="global-btn"><a href="{{ adresler[0].harita }}" target="_blank">{{ 'anasayfa.haritadagoruntule'|trans }}</a></button>#}
  285.         {#                    </div>#}
  286.         {#                </div>#}
  287.         {#            </div>#}
  288.         {#        </div>#}
  289.         {#    </div> #}</style>
  290. <div id="mainpage">
  291.     {% include 'main/default/loader.html.twig' %}
  292.     {% include 'main/default/cookie.html.twig' %}
  293.     <div class="main-container">
  294.         <header class="header__section swiper headerSwiper">
  295.             <div class="swiper-wrapper mainSliderWrapper">
  296.                 {% for entityx in entities %}
  297.                     <div class="swiper-slide swiper-slide-{{ loop.index }}">
  298.                         {% if entityx.sResim %}
  299.                             <img src="{{ asset('uploads/anasayfa/anasayfaSlider/slider/' ~ entityx.sResim) }}"
  300.                                  alt="header__photo">
  301.                         {% endif %}
  302.                         <div class="header__section-slider-title-wrapper">
  303.                             <div class="header__section-slider-title">{{ entityx.baslik }}</div>
  304.                             <svg xmlns="http://www.w3.org/2000/svg" id="elefante__text" data-name="katman 1"
  305.                                  viewBox="0 0 610.42 243.91">
  306.                                 <defs>
  307.                                     <style>
  308.                                         .cls-1 {
  309.                                             fill: none;
  310.                                         }
  311.                                     </style>
  312.                                 </defs>
  313.                                 <g xmlns="http://www.w3.org/2000/svg">
  314.                                     <path class="full__path"
  315.                                           d="M4.49,115.42l47.21-30.2c.94-.6,1.52-3.06,.41-3.08-8.05-.08-32.04,5.12-49.96,37.2C.87,121.65,.06,124.24,0,126.89c-.72,36.03,132.03-58.33,172.49-107.47,1.99,1.89-18.33-19.89-91,184,0,0,.75,5.78,5.38-5.11"/>
  316.                                     <path class="full__path"
  317.                                           d="M141.49,115.42l47.21-30.2c.94-.6,1.52-3.06,.41-3.08-8.05-.08-32.04,5.12-49.96,37.2-1.29,2.31-2.1,4.9-2.15,7.55,0,0-4.51,28.53,82.67-13.83"/>
  318.                                     <path class="full__path"
  319.                                           d="M269.08,43.23l7.8-22.64c.11-.31-.33-.51-.49-.23l-100.15,168.69c-4.47,7.53-7.82,15.68-9.95,24.18l-2.71,9.83c-.22,.86,.1,1.75,.72,2.53,1.97,2.48,5.83,2.28,7.79-.21l9.41-11.97s24.01-33.79,24.38-60.66c.06-4.13-1.25-8.22-4.03-11.27-11.32-12.43-37.35-7.07-37.35-7.07l113.25-19.49"/>
  320.                                     <path class="full__path"
  321.                                           d="M309.49,111.42s-13.59-13.25-41.3,10.88c-11.7,10.12-5.96,13.99-5.96,13.99,0,0,3.26,8.13,55.26-30.87,6-3-8,16-4,25,4.64,7.53,16.25,3.78,25.21-.71,6.72-3.37,12.62-8.17,17.38-13.99l24.49-29.94c.11-.14,.32,.02,.22,.17l-46.3,68.48s42-56,64-62c52-18-69,95,50,22"/>
  322.                                     <path class="full__path"
  323.                                           d="M515.22,21.86L525.35,.42c.16-.33-.31-.59-.51-.29l-160.64,240.96c-1.01,1.52,.6,3.4,2.26,2.64l5.85-2.7"/>
  324.                                     <path class="full__path"
  325.                                           d="M468.49,115.42l47.21-30.2c.94-.6,1.52-3.06,.41-3.08-8.05-.08-32.04,5.12-49.96,37.2-1.29,2.31-2.1,4.9-2.15,7.55,0,0-4.51,28.53,82.67-13.83"/>
  326.                                     <path class="full__path"
  327.                                           d="M610.39,42.56s8.1-47.14-235.9,17.86c-25,6-9,11-9,11"/>
  328.                                 </g>
  329.                             </svg>
  330.                         </div>
  331.                     </div>
  332.                 {% endfor %}
  333.             </div>
  334.         </header>
  335.         <section class="company__information__section">
  336.             <div class="company__information__section-about__company">
  337.                 <div class="company__information__section-about__company-img__section">
  338.                     {% for resim in bolumler[0].anasayfaBolum.resimler|filter(r => r.del == 0)|sort((a,b) => a.sira > b.sira) %}
  339.                         <img class="company__information__section-about__company-img__section-img {% if loop.last %}lastactive{% endif %}"
  340.                              src="{{ asset('uploads/anasayfa/' ~ resim.resim) }}" alt="about-company-main-image">
  341.                     {% endfor %}
  342.                 </div>
  343.                 <div class="company__information__section-about__company-text__section">
  344.                     <div class="company__information__section-about__company-text__section-photos">
  345.                         <img src="{{ asset('uploads/ayarlar/referans/' ~ ayarlar.referans) }}"
  346.                              alt="references-logo">
  347.                     </div>
  348.                     <h3>{{ bolumler[0].baslik|raw }}</h3>
  349.                     <button class="company__information__section-about__company-text__section-button">
  350.                         <a href="{{ bolumler[0].altBaslik|raw }}"><h5>EXPLORE</h5>
  351.                             <img src="{{ asset('assets/main/images/main-page/right-arrow.svg    ') }}"
  352.                                  alt="right-arrow">
  353.                         </a>
  354.                     </button>
  355.                 </div>
  356.             </div>
  357.             <div class="company__information__section-about__company__clauses-section">
  358.                 {% for production in uretim %}
  359.                     <a class="company__information__section-about__company__clauses__wrapper" href="">
  360.                         <div class="company__information__section-about__company__clauses ">
  361.                             <span>0{{ loop.index }}</span>
  362.                             {% for entityx in production.diller %}
  363.                                 <h3>{{ entityx.baslik|raw }}</h3>
  364.                             {% endfor %}
  365.                             {% for entityx in production.diller %} <p>{{ entityx.metin|raw }}</p>  {% endfor %}
  366.                             <div class="company__information__section-about__company__clauses-mousetracker"><img
  367.                                         src="{{ asset('assets/main/images/main-page/right-arrow.svg') }}"
  368.                                         alt="right-arrow"></div>
  369.                         </div>
  370.                     </a>
  371.                 {% endfor %}
  372.             </div>
  373.             <div class="company__information__section-about__company__clauses-section__responsive swiper productionSwiper">
  374.                 <div class="swiper-wrapper">
  375.                     <a href="<?php echo $baseUrl?>production#weaving"
  376.                        class="company__information__section-about__company__clauses__wrapper__responsive swiper-slide">
  377.                         <div class="company__information__section-about__company__clauses__responsive">
  378.                             <span>01.</span>
  379.                             <h3>Weaving</h3>
  380.                             <p>Our focus is to meticulously weave our fabrics using the highest quality Turkish
  381.                                 cotton on traditional looms, combining them with unique patterns and textures that
  382.                                 tell a story. Woven with Turkish cotton, our fabrics aim to provide a top-tier
  383.                                 experience in terms of quality, durability, and aesthetics. This special weaving
  384.                                 technique reflects our commitment to creating high-quality and distinctive textile
  385.                                 products by bringing together the heritage of the past with the present.
  386.                             </p>
  387.                             <div class="company__information__section-about__company__clauses-mousetracker"><img
  388.                                         src="assets/main-page/right-arrow.svg" alt="right-arrow"></div>
  389.                         </div>
  390.                     </a>
  391.                     <a href="<?php echo $baseUrl?>production#confection"
  392.                        class="company__information__section-about__company__clauses__wrapper__responsive swiper-slide">
  393.                         <div class="company__information__section-about__company__clauses__responsive">
  394.                             <span>02.</span>
  395.                             <h3>Confection</h3>
  396.                             <p>The fabrics we attentively produce undergo a transformation into stylish and timeless
  397.                                 products in the hands of artisans, blending both traditional and modern techniques.
  398.                                 Each stitch comes to life with careful attention in a simple narrative, bringing
  399.                                 forth an elegant charm adorned with graceful details. Throughout this process,
  400.                                 design, measurements, stitching, and enchanting touches give our products their
  401.                                 final form.
  402.                             </p>
  403.                             <div class="company__information__section-about__company__clauses-mousetracker"><img
  404.                                         src="assets/main-page/right-arrow.svg" alt="right-arrow"></div>
  405.                         </div>
  406.                     </a>
  407.                     <a href="<?php echo $baseUrl?>production#embroidery"
  408.                        class="company__information__section-about__company__clauses__wrapper__responsive swiper-slide">
  409.                         <div class="company__information__section-about__company__clauses__responsive">
  410.                             <span>03.</span>
  411.                             <h3>Embroidery</h3>
  412.                             <p>In our workshop, we can bring to life special designs adorned with various embroidery
  413.                                 techniques. We stand out with our creativity in the art of embroidery, bringing
  414.                                 unique embellishments that cater to every taste onto our high-quality fabrics.
  415.                             </p>
  416.                             <div class="company__information__section-about__company__clauses-mousetracker"><img
  417.                                         src="assets/main-page/right-arrow.svg" alt="right-arrow"></div>
  418.                         </div>
  419.                     </a>
  420.                     <a href="<?php echo $baseUrl?>production#print"
  421.                        class="company__information__section-about__company__clauses__wrapper__responsive swiper-slide">
  422.                         <div class="company__information__section-about__company__clauses__responsive">
  423.                             <span>04.</span>
  424.                             <h3>Print</h3>
  425.                             <p>We create unique designs by using various printing techniques on our products.
  426.                                 Different printing methods add diversity and uniqueness to our products.
  427.                             </p>
  428.                             <div class="company__information__section-about__company__clauses-mousetracker"><img
  429.                                         src="assets/main-page/right-arrow.svg" alt="right-arrow"></div>
  430.                         </div>
  431.                     </a>
  432.                 </div>
  433.                 <div class="company__information__section-about__company__clauses-section__responsive-button__next">
  434.                 </div>
  435.                 <div class="company__information__section-about__company__clauses-section__responsive-button__prev">
  436.                 </div>
  437.             </div>
  438.         </section>
  439.         <section class="about__our__products__section">
  440.             <div class="about__our__products__section-woman__img">
  441.                 {% for imageOne in urunKategorileriResim %}
  442.                     <img class="about__our__products__section-woman__img-img"
  443.                          src="{{ asset('uploads/urunkategorileri/banner/' ~ imageOne.resim) }}">
  444.                 {% endfor %}
  445.             </div>
  446.             <div class="about__our__products__section-title__section">
  447.                 <h4>BROWSE COLLECTION</h4>
  448.                 <div class="about__our__products__section-title__section-clickable">
  449.                     {% for indexr in urunkategorileri %}
  450.                         {% for index in indexr.diller %}
  451.                             <a href="{{ path('app_main_urun_gruplari_detay',{'code': indexr.code }) }}"><button>{{ index.baslik }}</button></a>
  452.                         {% endfor %}
  453.                     {% endfor %}
  454.                 </div>
  455.             </div>
  456.             <div class="about__our__products__section-cotton__img">
  457.                 {% for imageOne in urunKategorileriResim2 %}
  458.                     <img class="about__our__products__section-cotton__img-img"
  459.                          src="{{ asset('uploads/urunkategorileri/banner/' ~ imageOne.resim) }}"></img>
  460.                 {% endfor %}
  461.             </div>
  462.         </section>
  463.         <div class="video__main__sectionr">
  464.             <div class="video__main__section">
  465.                 <section class="video__section video__section-items__wrapper">
  466.                     <div class="video__section-items__wrapper">
  467.                         {{ ayarlar.video|raw }}
  468.                         <button class="video__section-items__wrapper-button gizle">
  469.                         </button>
  470.                     </div>
  471.                 </section>
  472.             </div>
  473.         </div>
  474.         <!-- <section class="gallery__section__wgsap">
  475.             <div class="gallery__section__wgsap-square"></div>
  476.             <div class="gallery__section__wgsap-square2"></div>
  477.         </section> -->
  478.         <section class="gallery__section">
  479.             <div class="gallery__section-top__middle__section">
  480.                 <div class="gallery__section__photos-main__wrapper">
  481.                     {% for entity in bolumler[1].anasayfaBolum.resimler|filter(r => r.del == 0)|sort((a,b) => a.sira > b.sira) %}
  482.                         <div class="gallery__section__photos-wrapper">
  483.                             <div class="gallery__section__photos"
  484.                                  style="background-image: url({{ asset('uploads/anasayfa/' ~ entity.resim) }});"></div>
  485.                         </div>
  486.                     {% endfor %}
  487.                 </div>
  488.             </div>
  489.             <div class="gallery__section-bottom">
  490.                 <div class="gallery__section-bottom-followus">
  491.                     <div class="gallery__section-bottom-followus-text">
  492.                         <h4>SOCIAL MEDIA</h4>
  493.                         <h3><a href="{{ bolumler[2].altBaslik }}">{{ bolumler[2].baslik|raw }}</a></h3>
  494.                         <p>{{ bolumler[2].metin|raw }}
  495.                         </p>
  496.                         <a href="{{ bolumler[2].altBaslik }}">
  497.                             <button><h5>FOLLOW US</h5>
  498.                                 <img src="{{ asset('assets/main/images/main-page/right-arrow.svg') }}"
  499.                                      alt="right-arrow"></button>
  500.                         </a>
  501.                     </div>
  502.                     {% for entity in bolumler[2].anasayfaBolum.resimler|filter(r => r.del == 0)|sort((a,b) => a.sira > b.sira)|slice(0, 1) %}
  503.                         <div class="gallery__section-bottom-followus-photo">
  504.                             <img src="{{ asset('uploads/anasayfa/' ~ entity.resim) }}" alt="">
  505.                         </div>
  506.                     {% endfor %}
  507.                 </div>
  508.                 <div class="gallery__section-bottom-right">  {% for entity in bolumler[2].anasayfaBolum.resimler|filter(r => r.del == 0)|sort((a,b) => a.sira > b.sira)|slice(1, 1) %}
  509.                         <div class="gallery__section__middle__right__photo-2"><img
  510.                                     src="{{ asset('uploads/anasayfa/' ~ entity.resim) }}"
  511.                                     alt="gallery__section__middle__right__photo-2"></div>
  512.                     {% endfor %} </div>
  513.             </div>
  514.         </section>
  515.     </div>
  516.     {% include 'main/default/new-catalogue.html.twig' %}
  517.     {% endblock %}
  518.     {% block body_js %}
  519.     {% include 'main/default/scripts.html.twig' %}
  520.     <script>
  521.         const checkAndOpenClick = (param) => {
  522.             if (window.innerWidth >= 1200) {
  523.                 switch (param) {
  524.                     case 1:
  525.                         window.location.href = "<?php echo $baseUrl?>products";
  526.                         break;
  527.                     case 2:
  528.                         window.location.href = "<?php echo $baseUrl?>products";
  529.                         break;
  530.                     case 3:
  531.                         window.location.href = "<?php echo $baseUrl?>products";
  532.                         break;
  533.                     case 4:
  534.                         window.location.href = "<?php echo $baseUrl?>products";
  535.                         break;
  536.                 }
  537.             }
  538.         }
  539.         const mainPageProductionSection = document.querySelectorAll(".company__information__section-about__company__clauses__wrapper");
  540.         const mainPageProductionSectionClauses = document.querySelectorAll(".company__information__section-about__company__clauses");
  541.         const mainPageProductionSectionImg = document.querySelectorAll(".company__information__section-about__company-img__section-img");
  542.         const mainPageProductionSectionImgMain = document.querySelector(".company__information__section-about__company-img__section-img-main");
  543.         const mainPageProductionSectionWrapper = document.querySelector(".company__information__section-about__company__clauses-section");
  544.         const lastIndex = mainPageProductionSectionImg.length - 1;
  545.         const lastEl = mainPageProductionSectionImg[lastIndex]
  546.         mainPageProductionSection.forEach((item, index) => {
  547.             item.addEventListener("mouseover", () => {
  548.                 mainPageProductionSectionImg[index].classList.add("active");
  549.                 mainPageProductionSection.forEach((otherItem, otherIndex) => {
  550.                     if (otherIndex !== index) {
  551.                         mainPageProductionSectionImg[otherIndex].classList.remove("active")
  552.                         lastEl.classList.remove("lastactive")
  553.                     }
  554.                 })
  555.             })
  556.             mainPageProductionSectionClauses.forEach((item, index) => {
  557.                 item.addEventListener("mouseout", () => {
  558.                     console.log("hallo")
  559.                     lastEl.classList.add("lastactive")
  560.                     mainPageProductionSectionImg.forEach((item, index) => {
  561.                         item.classList.remove("active");
  562.                     })
  563.                 })
  564.             })
  565.         })
  566.     </script>
  567.     <script>
  568.         var productionSwiper = new Swiper(".productionSwiper", {
  569.             loop: true,
  570.             autoplay: {
  571.                 delay: 4000,
  572.                 disableOnInteraction: false,
  573.             },
  574.             navigation: {
  575.                 nextEl: ".company__information__section-about__company__clauses-section__responsive-button__next",
  576.                 prevEl: ".company__information__section-about__company__clauses-section__responsive-button__prev",
  577.             },
  578.         });
  579.         document.addEventListener('DOMContentLoaded', function () {
  580.             const swiperText = new Swiper(".headerText", {
  581.                 // Diğer Swiper ayarları...
  582.                 centeredSlides: true,
  583.                 loop: true,
  584.                 autoplay: {
  585.                     delay: 7000,
  586.                     disableOnInteraction: false,
  587.                 },
  588.                 scrollbar: {
  589.                     el: ".swiper-scrollbar",
  590.                     hide: true,
  591.                 },
  592.                 navigation: {
  593.                     nextEl: ".header-swiper-button-next",
  594.                 },
  595.                 on: {
  596.                     init: function () {
  597.                         let isFirstSlideChange = true;
  598.                         // Swiper nesnesi oluşturulduktan sonra slideChange olayını dinle
  599.                         this.on('slideChange', function () {
  600.                             if (isFirstSlideChange) {
  601.                                 // Düzeltme burada
  602.                                 const currentIndex = this.realIndex;
  603.                                 // Bayrağı kapat
  604.                                 isFirstSlideChange = false;
  605.                             }
  606.                             // Düzeltme burada
  607.                         });
  608.                     }
  609.                 },
  610.             });
  611.             const addClassToPath = (path) => {
  612.                 path.classList.add("active");
  613.             }
  614.             const swiper = new Swiper(".headerSwiper", {
  615.                 // Diğer Swiper ayarları...
  616.                 centeredSlides: true,
  617.                 loop: true,
  618.                 autoplay: {
  619.                     delay: 7000,
  620.                     disableOnInteraction: false,
  621.                 },
  622.                 scrollbar: {
  623.                     el: ".swiper-scrollbar",
  624.                     hide: true,
  625.                 },
  626.                 navigation: {
  627.                     nextEl: ".header-swiper-button-next",
  628.                 },
  629.                 on: {
  630.                     autoplayStart: function () {
  631.                     },
  632.                     slideChange: function () {
  633.                         const slides = document.querySelectorAll(".header__section .swiper-wrapper .swiper-slide");
  634.                         slides.forEach((item) => {
  635.                             if (!item.classList.contains("swiper-slide-active")) {
  636.                                 const itemPaths = item.querySelectorAll(".header__section-slider-title-wrapper svg g .full__path")
  637.                                 itemPaths.forEach((path) => {
  638.                                     path.classList.remove("active");
  639.                                 })
  640.                             }
  641.                         })
  642.                         /*
  643.                                             animPaths.forEach((path) => {
  644.                                                 path.classList.remove("active");
  645.                                             }) */
  646.                         setTimeout(() => {
  647.                             const sliderImgActive = document.querySelector(".header__section .swiper-wrapper .swiper-slide-active img");
  648.                             sliderImgActive.style.filter = "blur(0)";
  649.                             sliderImgActive.style.transform = "scale(1)";
  650.                         }, 500);
  651.                         setTimeout(() => {
  652.                             const animPaths = document.querySelectorAll(".header__section .swiper-wrapper .swiper-slide-active .header__section-slider-title-wrapper svg g .full__path");
  653.                             animPaths.forEach((path, index) => {
  654.                                 setTimeout(() => {
  655.                                     addClassToPath(path);
  656.                                 }, index * 500);
  657.                             })
  658.                         }, 600)
  659.                     }
  660.                 },
  661.                 controller: {
  662.                     control: ".headerText", // Görüntü Slider'ını kontrol et
  663.                 },
  664.                 simulateTouch: true,
  665.             });
  666.             var animPaths = document.querySelectorAll('.full__path');
  667.             const sliderImg = document.querySelectorAll(".header__section .swiper-wrapper .swiper-slide img");
  668.             swiper.on('touchMove', function () {
  669.                 sliderImg.forEach((item) => {
  670.                     item.style.filter = "blur(4px)";
  671.                     item.style.transform = "scale(1.3)";
  672.                 })
  673.                 animPaths.forEach((path) => {
  674.                     path.classList.remove("active");
  675.                 })
  676.             });
  677.             swiper.on("touchEnd", () => {
  678.             })
  679.         })
  680.     </script>
  681.     <script>
  682.         document.addEventListener("DOMContentLoaded", function () {
  683.             const animPaths = document.querySelectorAll(".header__section .swiper-wrapper .swiper-slide-active .header__section-slider-title-wrapper svg g .full__path");
  684.             setTimeout(() => {
  685.                 const sliderImgActive = document.querySelector(".header__section .swiper-wrapper .swiper-slide-active img");
  686.                 sliderImgActive.style.filter = "blur(0)";
  687.                 sliderImgActive.style.transform = "scale(1)";
  688.             }, 800)
  689.             animPaths.forEach((path) => {
  690.                 path.classList.remove("active");
  691.             })
  692.             const addClassToPath = (path) => {
  693.                 path.classList.add("active");
  694.             }
  695.             setTimeout(() => {
  696.                 animPaths.forEach((path, index) => {
  697.                     setTimeout(() => {
  698.                         addClassToPath(path);
  699.                     }, index * 500);
  700.                 })
  701.             }, 600)
  702.         })
  703.         document.addEventListener("DOMContentLoaded", function() {
  704.             var firstAnchor = document.querySelector('.about__our__products__section-title__section-clickable a');
  705.             if (firstAnchor) {
  706.                 var buttonInsideAnchor = firstAnchor.querySelector('button');
  707.                 if (buttonInsideAnchor) {
  708.                     buttonInsideAnchor.classList.add('active');
  709.                 }
  710.             }
  711.             var firstWomanImg = document.querySelector('.about__our__products__section-woman__img img');
  712.             if (firstWomanImg) {
  713.                 firstWomanImg.classList.add('active');
  714.             }
  715.             var firstCottonImg = document.querySelector('.about__our__products__section-cotton__img img');
  716.             if (firstCottonImg) {
  717.                 firstCottonImg.classList.add('active');
  718.             }
  719.         });
  720.     </script>
  721. </div>
  722. {% endblock %}