templates/pages/home/collections.html.twig line 1

Open in your IDE?
  1.  {% for index, section in home_collections_seopage %}
  2.      {% include 'pages/home/section/collections_' ~ index ~ '.html.twig' with section %}
  3.  {% endfor %}
  4. <section class="slide slide3 slide-collections d-none d-md-flex flex-wrap col-12 p-0 overlay slideJs">
  5.     <div class="carousel collectionCarousel">
  6.         <div class="carousel--block">
  7.             <div class="carousel--header">
  8.                 <h2 class="carousel--title">{{ "Collections"|trans }}</h2>
  9.                 <div class="carousel--arrows d-none d-md-flex">
  10.                     <span class="me-3 collections--arrow-prev arrowTogglerPrev homePageCarouselArrows"><i class="fas fa-chevron-left fa-2x"></i></span>
  11.                     <span class="collections--arrow-next arrowTogglerNext homePageCarouselArrows"><i class="fas fa-chevron-right fa-2x"></i></span>
  12.                 </div>
  13.             </div>
  14.             <ul class="carousel--list">
  15.                 <li class="carousel-subtitle collections-item collections-item-1 txtToggler">
  16.                     <h3>{{ home_collections_seopage.section_1.h3_1|raw }}</h3></li>
  17.                 <li class="mx-2">-</li>
  18.                 <li class="carousel-subtitle collections-item collections-item-2 txtToggler">
  19.                     <h3>{{ home_collections_seopage.section_2.h3_1|raw }}</h3></li>
  20.                 <li class="mx-2">-</li>
  21.                 <li class="carousel-subtitle collections-item collections-item-3 txtToggler">
  22.                     <h3>{{ home_collections_seopage.section_3.h3_1|raw }}</h3></li>
  23.                 <li class="mx-2">-</li>
  24.                 <li class="carousel-subtitle collections-item collections-item-4 txtToggler">
  25.                     <h3>{{ home_collections_seopage.section_4.h3_1|raw }}</h3></li>
  26.                 <li class="mx-2">-</li>
  27.                 <li class="carousel-subtitle collections-item collections-item-5 txtToggler">
  28.                     <h3>{{ home_collections_seopage.section_5.h3_1|raw }}</h3></li>
  29.                 <li class="mx-2">-</li>
  30.                 {# <li class="carousel-subtitle collections-item collections-item-6 txtToggler">
  31.                     <h3>{{ home_collections_seopage.section_6.h3_1|raw }}</h3></li>
  32.                 <li class="mx-2">-</li> #}
  33.                 <li class="carousel-subtitle collections-item collections-item-7 txtToggler">
  34.                     <h3>{{ home_collections_seopage.section_7.h3_1|raw }}</h3></li>
  35.                 <li class="mx-2">-</li>
  36.                 <li class="carousel-subtitle collections-item collections-item-8 txtToggler">
  37.                     <h3>{{ home_collections_seopage.section_8.h3_1|raw }}</h3></li>
  38.                 <li class="mx-2">-</li>
  39.                 <li class="carousel-subtitle collections-item collections-item-9 txtToggler">
  40.                     <h3>{{ home_collections_seopage.section_9.h3_1|raw }}</h3>
  41.                 <li class="mx-2">-</li>
  42.                 <li class="carousel-subtitle collections-item collections-item-9 txtToggler">
  43.                     <h3>{{ home_collections_seopage.section_10.h3_1|raw }}</h3>
  44.                 <li class="mx-2">-</li>
  45.                 <li class="carousel-subtitle collections-item collections-item-11 txtToggler">
  46.                     <h3>{{ home_collections_seopage.section_12.h3_1|raw }}</h3>
  47.                 </li>
  48.             </ul>
  49.             <div class="carousel--txt" id="collectionsTxt">
  50.             </div>
  51.             <div class="carousel--footer">
  52.                 <div class="m-0 collections--circles carousel--circles">
  53.                 </div>
  54.                 <div class="carousel--footer-button-collection carousel--footer-btn primary-btn p-0">
  55.                     <a href="{{ path('pages_products_filter_by_collection', { _locale:  currentLocale, collectionSlug: 'barcode' }) }}" class="">Barcode</a>
  56.                     <a href="{{ path('pages_products_filter_by_collection', { _locale:  currentLocale, collectionSlug: 'colourful' }) }}" class="">Colourful</a>
  57.                     <a href="{{ path('pages_products_filter_by_collection', { _locale:  currentLocale, collectionSlug: 'cracked-earth' }) }}" class="">Cracked Earth</a>
  58.                     <a href="{{ path('pages_products_filter_by_collection', { _locale:  currentLocale, collectionSlug: 'herringbone' }) }}" class="">Herringbone</a>
  59.                     <a href="{{ path('pages_products_filter_by_collection', { _locale:  currentLocale, collectionSlug: 'hybrid' }) }}" class="">Hybrid</a>
  60.                     {# <a href="{{ path('pages_products_filter_by_collection', { _locale:  currentLocale, collectionSlug: 'infinite' }) }}" class="">Infinite</a> #}
  61.                     <a href="{{ path('pages_products_filter_by_collection', { _locale:  currentLocale, collectionSlug: 'lustre' }) }}" class="">Lustre</a>
  62.                     <a href="{{ path('pages_products_filter_by_collection', { _locale:  currentLocale, collectionSlug: 'new-basic' }) }}" class="">New Basic</a>
  63.                     <a href="{{ path('pages_products_filter_by_collection', { _locale:  currentLocale, collectionSlug: 'stripes' }) }}" class="">Stripes</a>
  64.                     <a href="{{ path('pages_products_filter_by_collection', { _locale:  currentLocale, collectionSlug: 'desert' }) }}" class="">Desert</a>
  65.                     <a href="{{ path('pages_products_filter_by_collection', { _locale:  currentLocale, collectionSlug: 'marble' }) }}" class="">Marble</a>
  66.                 </div>
  67.             </div>
  68.         </div>
  69.     </div>
  70.     <div class="slide--arrow slideArrow">
  71.         <img src="{{ asset('build/icon/2tec2_arrow_bottom_black.svg') }}" alt="{{ 'caret down icon' | trans }}">
  72.     </div>
  73. </section>
  74. <section class="slide slide2 d-md-none d-flex flex-wrap flex-column align-items-center col-12 p-0 slide--sm-collections carousel--sm slideJs">
  75.     <div class="collections--sm-header carousel--sm-header d-flex p-0">
  76.         <div class="collections--sm-header-displayed-collections carousel--sm-header-displayed h3 m-0 d-flex align-items-center carousel--sm-title">
  77.             <a href="{{ path('pages_products_filter_by_collection', { _locale:  currentLocale, collectionSlug: 'barcode' }) }}" class="">Barcode</a>
  78.             <a href="{{ path('pages_products_filter_by_collection', { _locale:  currentLocale, collectionSlug: 'colourful' }) }}" class="">Colourful</a>
  79.             <a href="{{ path('pages_products_filter_by_collection', { _locale:  currentLocale, collectionSlug: 'cracked_earth' }) }}" class="">Cracked Earth</a>
  80.             <a href="{{ path('pages_products_filter_by_collection', { _locale:  currentLocale, collectionSlug: 'herringbone' }) }}" class="">Herringbone</a>
  81.             <a href="{{ path('pages_products_filter_by_collection', { _locale:  currentLocale, collectionSlug: 'hybrid' }) }}" class="">Hybrid</a>
  82.             {# <a href="{{ path('pages_products_filter_by_collection', { _locale:  currentLocale, collectionSlug: 'infinite' }) }}" class="">Infinite</a> #}
  83.             <a href="{{ path('pages_products_filter_by_collection', { _locale:  currentLocale, collectionSlug: 'lustre' }) }}" class="">Lustre</a>
  84.             <a href="{{ path('pages_products_filter_by_collection', { _locale:  currentLocale, collectionSlug: 'new_basic' }) }}" class="">New Basic</a>
  85.             <a href="{{ path('pages_products_filter_by_collection', { _locale:  currentLocale, collectionSlug: 'stripes' }) }}" class="">Stripes</a>
  86.             <a href="{{ path('pages_products_filter_by_collection', { _locale:  currentLocale, collectionSlug: 'desert' }) }}" class="">Desert</a>
  87.             <a href="{{ path('pages_products_filter_by_collection', { _locale:  currentLocale, collectionSlug: 'marble' }) }}" class="">Marble</a>
  88.         </div>
  89.         <div class="collections--sm-header-left collections--sm-header-arrow carousel--sm-header-arrow d-flex align-items-center justify-content-center smArrowTogglerPrev">
  90.             <i class="fas fa-angle-left fa-2x"></i>
  91.         </div>
  92.         <div class="collections--sm-header-right collections--sm-header-arrow carousel--sm-header-arrow d-flex align-items-center justify-content-center smArrowTogglerNext">
  93.             <i class="fas fa-angle-right fa-2x"></i>
  94.         </div>
  95.     </div>
  96.     <div class="collections--sm-content carousel--sm-content about--content-desc">
  97.         <div class="collections--sm-content-txt carousel--sm-txt carousel--txt">
  98.         </div>
  99.         <span class="homeCarouselPlus"><i class="fas fa-plus"></i></span>
  100.         <span class="homeCarouselMinus d-none"><i class="fas fa-minus"></i></span>
  101.     </div>
  102.     <div class="slide--arrow slideArrow">
  103.         <img src="{{ asset('build/icon/2tec2_arrow_bottom_black.svg') }}" alt="{{ 'caret down icon' | trans }}">
  104.     </div>
  105. </section>