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

Open in your IDE?
  1. {% extends 'main_base.html.twig' %}
  2. {% block title %}Production{% endblock %}
  3. {% block description %}Elefante Production page{% endblock %}
  4. {% block content %}
  5.     <style>
  6.         .navbar__section-links__wrapper :not(.PRODUCTION) {
  7.             opacity: 0.4 !important;
  8.         }
  9.         .navbar__section-logo__wrapper-img {
  10.             filter: brightness(0) invert(1) !important;
  11.         }
  12.         .production__section-sliders-slider-description {
  13.             margin-right: 10rem;
  14.         }
  15.         .navbar__section::before {
  16.             content: "";
  17.             position: absolute;
  18.             top: 0;
  19.             right: 0;
  20.             left: 0;
  21.             bottom: 0;
  22.             background: rgba(0, 0, 0, 0.4);
  23.             z-index: -1;
  24.         }
  25.         .navbar__section::after {
  26.             content: "";
  27.             background-image: url("{{ asset('assets/main/images/navbar/navbar-bg-production.png') }}");
  28.             background-position: center;
  29.             background-size: cover;
  30.             position: absolute;
  31.             top: 0;
  32.             right: 0;
  33.             left: 0;
  34.             bottom: 0;
  35.             z-index: -2;
  36.         }
  37.         .video__section {
  38.             margin-top: 0 !important;
  39.         }
  40.     </style>
  41.     <div id="production">
  42.         {% include 'main/default/loader.html.twig' %}
  43.         {% include 'main/default/cookie.html.twig' %}
  44.         <div class="main-container">
  45.             <div class="production__section">
  46.                 <div class="production__section-active__page">
  47.                     <p>
  48.                         <a href="{{ path('app_main_default') }}">Elefante</a> /
  49.                         <a class="active" href="">Production</a>
  50.                     </p>
  51.                 </div>
  52.                 <div class="production__section-title">
  53.                     {% for urunsayfasi in sayfa[3].sayfabaslikDilleri %}
  54.                         <h1>{{ urunsayfasi.baslik|raw }}</h1>
  55.                         <h2>{{ urunsayfasi.title|raw }}</h2>
  56.                     {% endfor %}
  57.                 </div>
  58. {#                 <section class="gallery__section__wgsap">#}
  59. {#                                    <div class="gallery__section__wgsap-square"></div>#}
  60. {#                                    <div class="gallery__section__wgsap-square2"></div>#}
  61. {#                                </section>#}
  62.                 {% for bolum in uretimlerDil|filter(r => r.del == 0)|sort((a,b) => a.sira > b.sira) %}
  63.                     {% set classNames = ['one', 'two', 'three', 'four'] %}
  64.                     {% set idNames = ['weaving', 'confection', 'embroidery', 'print'] %}
  65.                     <div class="production__section-sliders {{ bolum.code }}"
  66.                          id="{{ idNames[loop.index0] ?? idNames|last }}">
  67.                         <div class="production__section-sliders-slider-wrrapper" id="{{ bolum.code }}">
  68.                             <div class="swiper photoSwiper{{ loop.index }}">
  69.                                 <div class="swiper-wrapper">
  70.                                     {% for resim in bolum.resimler|filter(r => r.del == 0)|sort((a,b) => a.sira > b.sira) %}
  71.                                         <div class="production__section-swiper-slide  swiper-slide">
  72.                                             <img
  73.                                                  src="{{ asset('uploads/uretimler/bolum/' ~ resim.resim) }}"
  74.                                                 >
  75.                                         </div>
  76.                                     {% endfor %}
  77.                                 </div>
  78.                             </div>
  79.                             <div class="slider__buttons">
  80.                                 <button class="swiper-button-next-arrow swiper-button-next-arrow-{{ classNames[loop.index0] ?? classNames|last }}">
  81.                                     <img
  82.                                             src="{{ asset('assets/main/images/main-page/right-arrow.svg') }}"
  83.                                             alt="right-arrow"></button>
  84.                                 <button class="swiper-button-prev-arrow swiper-button-prev-arrow-{{ classNames[loop.index0] ?? classNames|last }}">
  85.                                     <img
  86.                                             src="{{ asset('assets/main/images/main-page/left-arrow.svg') }}"
  87.                                             alt="left-arrow"></button>
  88.                             </div>
  89.                         </div>
  90.                         <div class="production__section-sliders-slider-description">
  91.                             <div class="our__story__section-quality__works-quality__work">
  92.                                 <div class="our__story__section-quality__works-quality__work-mini__logo">
  93.                                     <p>N</p>
  94.                                     <span>0:</span>
  95.                                 </div>
  96.                                 <div class="our__story__section-quality__works-quality__work-number__title">
  97.                                     0{{ loop.index }}
  98.                                 </div>
  99.                                 <div class="our__story__section-quality__works-quality__work-title">
  100.                                     {% for entity in bolum.diller %}
  101.                                         {{ entity.baslik|raw }}
  102.                                     {% endfor %}
  103.                                 </div>
  104.                                 <div class="our__story__section-quality__works-quality__work-description">
  105.                                     {% for entity in bolum.diller %}
  106.                                         {{ entity.metin|raw }}
  107.                                     {% endfor %}
  108.                                 </div>
  109.                             </div>
  110.                         </div>
  111.                     </div>
  112.                 {% endfor %}
  113.             </div>
  114.         </div>
  115.         <div class="video__main__sectionr">
  116.             <div class="video__main__section">
  117.                 <section class="video__section video__section-items__wrapper">
  118.                     <div class="video__section-items__wrapper">
  119.                         {{ ayarlar.video|raw }}
  120.                         <button class="video__section-items__wrapper-button gizle">
  121.                         </button>
  122.                     </div>
  123.                 </section>
  124.             </div>
  125.         </div>
  126.     </div>
  127.     {% include 'main/default/new-catalogue.html.twig' %}
  128. {% endblock %}
  129. {% block body_js %}
  130.     {% include 'main/default/scripts.html.twig' %}
  131.     <script>
  132.         var swiper = new Swiper(".photoSwiper1", {
  133.             effect: "fade",
  134.             navigation: {
  135.                 nextEl: ".swiper-button-next-arrow-one",
  136.                 prevEl: ".swiper-button-prev-arrow-one",
  137.             },
  138.             loop: true,
  139.         });
  140.         var swiper = new Swiper(".photoSwiper2", {
  141.             effect: "fade",
  142.             navigation: {
  143.                 nextEl: ".swiper-button-next-arrow-two",
  144.                 prevEl: ".swiper-button-prev-arrow-two",
  145.             },
  146.             loop: true,
  147.         });
  148.         var swiper = new Swiper(".photoSwiper3", {
  149.             effect: "fade",
  150.             navigation: {
  151.                 nextEl: ".swiper-button-next-arrow-three",
  152.                 prevEl: ".swiper-button-prev-arrow-three",
  153.             },
  154.             loop: true,
  155.         });
  156.         var swiper = new Swiper(".photoSwiper4", {
  157.             effect: "fade",
  158.             navigation: {
  159.                 nextEl: ".swiper-button-next-arrow-four",
  160.                 prevEl: ".swiper-button-prev-arrow-four",
  161.             },
  162.             loop: true,
  163.         });
  164.     </script>
  165. {% endblock %}