custom/plugins/DmSanettaTheme/src/Resources/views/storefront/layout/header/dm-usp-top-bar.html.twig line 1

Open in your IDE?
  1. {% set baseSliderOptions = {
  2.     slider: {
  3.         axis: 'vertical',
  4.         speed: 1500,
  5.         items: 1,
  6.         autoplayTimeout: 5000,
  7.         autoplay:true,
  8.         autoplayButtonOutput: false,
  9.         nav: false,
  10.         controls: false,
  11.         loop: true,
  12.         autoHeight: true,
  13.         autoplayHoverPause:true,
  14.         mouseDrag:true
  15.     }
  16. } %}
  17. <div class="base-slider" data-base-slider="true" data-base-slider-options='{{ baseSliderOptions|json_encode }}'>
  18.     <div class="topbar-slider-container" data-base-slider-container="true">
  19.         <div class="topbar-slider-item">
  20.             <span>{{ 'sanetta.header.topBar.usp.uspPosition1' | trans | sw_sanitize }}</span>
  21.             <span>{{ 'sanetta.header.topBar.usp.uspPosition2' | trans | sw_sanitize }}</span>
  22.         </div>
  23.         <div class="topbar-slider-item is-not-first">
  24.             <span>{{ 'sanetta.header.topBar.usp.uspPosition3' | trans | sw_sanitize }}</span>
  25.             <span>{{ 'sanetta.header.topBar.usp.uspPosition4' | trans | sw_sanitize }}</span>
  26.         </div>
  27.         <div class="topbar-slider-item is-not-first">
  28.             <span>{{ 'sanetta.header.topBar.usp.uspPosition5' | trans | sw_sanitize }}</span>
  29.             <span>{{ 'sanetta.header.topBar.usp.uspPosition6' | trans | sw_sanitize }}</span>
  30.         </div>
  31.     </div>
  32. </div>