templates/index.html.twig line 1

Open in your IDE?
  1. {# empty Twig template #}
  2. {% extends 'frontend.html.twig' %}
  3. {#% set esHome=true %#}
  4. {% block fondo_slider %}
  5. {% endblock %}
  6. {% block textosmov %}
  7.     <div class="wide no-movil avisos-text">
  8.         {% if attribute(general2, 'textestatic'~(app.request.locale|capitalize)) !='' %}
  9.             <div class="text-fix">{{attribute(general2, 'textestatic'~(app.request.locale|capitalize))|raw}}</div>
  10.         {% endif %}
  11.         {% if attribute(general2, 'textmoviment'~(app.request.locale|capitalize)) !='' %}
  12. {#            <marquee behavior="scroll" direction="left" scrolldelay="5" scrollamount="5" class="large-12 cell">#}
  13. {#                {{attribute(general2, 'textmoviment'~(app.request.locale|capitalize))|raw}}#}
  14. {#            </marquee>#}
  15.             <style>
  16.                 .marquee {
  17.                     overflow: hidden;
  18.                     white-space: nowrap;
  19.                     background: rgba(0,0,0,0.5);
  20.                     font-family: 'Poppins', sans-serif;
  21.                     color: #fff;
  22.                     /*font-size:1rem;*/
  23.                     width: 100%;
  24.                     padding:10px 0;
  25.                     margin:0 0 -8px 0!important;
  26.                     font-size: 1.5rem;
  27.                     /*background: #CCB36E; !* For browsers that do not support gradients *!*/
  28.                     /*background: -webkit-linear-gradient(#fff, #CCB36E, #CCB36E); !* For Safari 5.1 to 6.0 *!*/
  29.                     /*background: -o-linear-gradient(#fff, #CCB36E, #CCB36E); !* For Opera 11.1 to 12.0 *!*/
  30.                     /*background: -moz-linear-gradient(#fff, #CCB36E, #CCB36E); !* For Firefox 3.6 to 15 *!*/
  31.                     /*background: linear-gradient(#fff, #CCB36E, #CCB36E); !* Standard syntax *!*/
  32.                     /*font-family: 'Archivo Narrow', sans-serif;*/
  33.                     font-weight: normal;
  34.                 }
  35.                 .marquee p {
  36.                     display: inline-block;
  37.                     padding-left: 100%;
  38.                     animation: scroll-left 40s linear infinite;
  39.                 }
  40.                 @keyframes scroll-left {
  41.                     0% {
  42.                         transform: translateX(0);
  43.                     }
  44.                     100% {
  45.                         transform: translateX(-100%);
  46.                     }
  47.                 }
  48.             </style>
  49.             <div class="marquee" class="large-12 cell">
  50.                 {{attribute(general2, 'textmoviment'~(app.request.locale|capitalize))|raw}}
  51.             </div>
  52.         {% endif %}
  53.     </div>
  54. {% endblock %}
  55. {% block caixa_movil %}
  56.     <div style="position:relative;">
  57.         <style>
  58.             body{background: #fff;}
  59.             .grid-container.general{margin-top:0; padding-top:1rem;}
  60.         </style>
  61.         <!--<script>
  62.             $(document).scroll(function () {
  63.                 var y = $(this).scrollTop();
  64.                 if (y > 200) {
  65.                     $('#logo-top').fadeIn();
  66.                 } else {
  67.                     $('#logo-top').fadeOut();
  68.                 }
  69.             });
  70.         </script>-->
  71.         <!--
  72.         {% if videoYoutubeDestacatCentral.youtubeId is defined and videoYoutubeDestacatCentral.youtubeId !='' %}
  73.             {% set youtube = videoYoutubeDestacatCentral.youtubeIdResponsive|split('/embed/') %}
  74.             
  75.         {% else %}
  76.             <div class="grid-x grid-padding-x wide"  {% if videoYoutubeDestacatCentral.youtubeId is defined and videoYoutubeDestacatCentral.youtubeId !='' %} style="background: #5cb6ff;" {% endif %}>
  77.                 <div class="large-2 medium-2 small-6 cell left-home">
  78.                     <div class="grid-x grid-padding-x">
  79.                         <div class="large-12 medium-12 small-3 cell">
  80.                             <div class="button-home">
  81.                                 <a href="{{path('webcam')}}"><i class="fas fa-video"></i><h6><span>{{ "Webcam" | trans }}</h6></a>
  82.                             </div>
  83.                         </div>
  84.                         <div class="large-12 medium-12 small-3 cell">
  85.                             <div class="button-home">
  86.                                 <a href="{{path('frontoffice_videos_youtube2')}}"><i class="fab fa-tv-masella"></i><h6>{{ "Masella TV" | trans }}</h6></a>
  87.                             </div>
  88.                         </div>
  89.                         <div class="large-12 medium-12 small-3 cell">
  90.                             <div class="button-home">
  91.                                 <a href="{{path('frontoffice_fotos')}}"><i class="far fa-image"></i><h6>{{ "Fotos" | trans }}</h6></a>
  92.                             </div>
  93.                         </div>
  94.                         <div class="large-12 medium-12 small-3 cell">
  95.                             <div class="button-home">
  96.                                 <a href="http://www.masella.com/blog/{{app.request.locale}}"><i class="fab fa-wordpress"></i><h6>{{ "Blog" | trans }}</h6></a>
  97.                             </div>
  98.                         </div>
  99.                     </div>
  100.                 </div>
  101.                 <div class="large-8 medium-8 cell no-movil">
  102.                     &nbsp;
  103.                 </div>
  104.                 <div class="large-2 medium-2 small-6 cell right-home">
  105.                     <div class="grid-x grid-padding-x">
  106.                         <div class="large-12 medium-12 small-3 cell">
  107.                             <div class="button-home">
  108.                                 <a href="{{path("paginas",{'_slug':render(controller("App\\Controller\\DefaultController::getAppSlugAction"))})}}"><i class="fas fa-mobile-alt"></i><h6>{{ "App Masella" | trans }}</h6></a>
  109.                             </div>
  110.                         </div>
  111.                     </div>
  112.                 </div>
  113.             </div>
  114.         {% endif %}
  115.         -->
  116.         <div id="box-slide">
  117.             <div class="wide">
  118.                 <div class="slide-home">
  119.                     <div class="orbit" role="region" data-orbit>
  120.                         <div class="orbit-wrapper">
  121.                             <div class="orbit-controls">
  122.                                 <button class="orbit-previous"><span class="show-for-sr">Previous Slide</span>&#9664;&#xFE0E;</button>
  123.                                 <button class="orbit-next"><span class="show-for-sr">Next Slide</span>&#9654;&#xFE0E;</button>
  124.                             </div>
  125.                             <ul class="orbit-container">
  126.                                 {% for foto in fotos %}
  127.                                     <li class="is-active orbit-slide">
  128.                                         <figure class="orbit-figure">
  129.                                             <img class="orbit-image" src="{{ asset('uploads/fotos/'~foto.rutaImagen)}}" title="{{ attribute(foto, 'titol'~app.request.locale) }}" />
  130.                                             <figcaption class="orbit-caption">{{ attribute(foto, 'titol'~app.request.locale) }}</figcaption>
  131.                                         </figure>
  132.                                     </li>
  133.                                 {% endfor %}
  134.                             </ul>
  135.                         </div>
  136.                     </div>
  137.                 </div>
  138.             </div>
  139.         </div>
  140.     </div>        
  141. {% endblock %}
  142. {% block caixa %}
  143.     <div style="position:relative;">
  144.         <style>
  145.             body{background: #fff;}
  146.             .grid-container.general{margin-top:0; padding-top:1rem;}
  147.         </style>
  148.         <!--<script>
  149.             $(document).scroll(function () {
  150.                 var y = $(this).scrollTop();
  151.                 if (y > 200) {
  152.                     $('#logo-top').fadeIn();
  153.                 } else {
  154.                     $('#logo-top').fadeOut();
  155.                 }
  156.             });
  157.         </script>-->
  158.             <div class="large-12 cell video-pc no-movil">
  159.                 {%  if general.getVideoSliderHome() == 'video' %}
  160.                     {% if videoYoutubeDestacatCentral.youtubeId is defined and videoYoutubeDestacatCentral.youtubeId !='' %}
  161.                         {% set youtube = videoYoutubeDestacatCentral.youtubeId|split('/embed/') %}
  162.                     <div class="responsive-embed widescreen" style="margin-bottom:0; position:relative; overflow: hidden;">
  163.                         <iframe class="mfp-iframe" src="{{videoYoutubeDestacatCentral.youtubeId}}?autoplay=1&mute=1&controls=0&loop=1&playlist={{youtube[1]}}&rel=0&modestbranding=0?showinfo=1" frameborder="0" allowfullscreen="" style="width:100%; height:100%; position:absolute; top:-60px; bottom:-60px;" scrolling="no"></iframe>
  164.                     </div>
  165.                     {% endif %}
  166.                 {% else %}
  167.                     <div class="slide-home">
  168.                         <div class="orbit" role="region" data-orbit>
  169.                             <div class="orbit-wrapper">
  170.                                 <div class="orbit-controls">
  171.                                     <button class="orbit-previous"><span class="show-for-sr">Previous Slide</span>&#9664;&#xFE0E;</button>
  172.                                     <button class="orbit-next"><span class="show-for-sr">Next Slide</span>&#9654;&#xFE0E;</button>
  173.                                 </div>
  174.                                 <ul class="orbit-container">
  175.                                     {% for entity in enFotosHome %}
  176.                                         <li class="is-active orbit-slide">
  177.                                             <figure class="orbit-figure">
  178.                                                 <img class="orbit-image" src="{{ asset('uploads/fotoshome/' ~ entity.rutaImagen)}}" title="{{ attribute(entity, 'titol'~app.request.locale) }}" />
  179.                                                 <figcaption class="orbit-caption">{{ attribute(entity, 'titol'~app.request.locale) }}</figcaption>
  180.                                             </figure>
  181.                                         </li>
  182.                                     {% endfor %}
  183.                                 </ul>
  184.                             </div>
  185.                         </div>
  186.                     </div>
  187.                 {% endif %}
  188.                 <script>
  189.                     function closeApp() {
  190.                         var v = document.getElementById("app-up");
  191.                         if (v.style.display === "none") {
  192.                             v.style.display = "block";
  193.                         } else {
  194.                             v.style.display = "none";
  195.                         }
  196.                     }
  197.                 </script>
  198.                 <script>
  199.                     function closeUp() {
  200.                         var v = document.getElementById("compra-up");
  201.                         if (v.style.display === "none") {
  202.                             v.style.display = "block";
  203.                         } else {
  204.                             v.style.display = "none";
  205.                         }
  206.                     }
  207.                 </script>
  208.                 {%  if general.getComprarVisible() %}
  209.                 <div id="compra-up">
  210.                     <h5>{{ "Compra a Masella" | trans }}</h5>
  211.                     <select name="compra" id="compra">
  212.                         {% if general.getBotigaAbonament() == 1 %}
  213.                             {% if app.request.locale == 'en' or app.request.locale == 'fr' %}
  214.                                 <option value="{{path('abonaments_temporada_front', {'_locale':'ca'})}}" data_target="" selected="selected">{{ "Abonaments temporada" | trans }}</option>
  215.                             {% else %}
  216.                                 <option value="{{path('abonaments_temporada_front')}}#content-page" data_target="" selected="selected">{{ "Abonaments temporada" | trans }}</option>
  217.                             {% endif %}
  218.                         {% endif %}
  219.                         {% if general.getBotigaForfets() == 1 %}
  220.                             {% if app.request.locale == 'en' %}
  221.                                 <option value="https://masella.axess.shop/es/Tickets/Index" data_target="_blank">{{ "Forfets dia i nit" | trans }}</option>
  222.                             {% else %}
  223.                                 {% if app.request.locale == 'fr' %}
  224.                                     <option value="https://masella.axess.shop/fr/Products/Tickets/" data_target="_blank">{{ "Forfets dia i nit" | trans }}</option>
  225.                                 {% else %}
  226.                                 <option value="https://masella.axess.shop/{{app.request.locale}}/Tickets/Index" data_target="_blank">{{ "Forfets dia i nit" | trans }}</option>
  227.                                 {% endif %}
  228.                             {% endif %}
  229.                         {% endif %}
  230.                         {% if general.getBotigaPromocions() == 1 %}
  231.                             <option value="https://masella.axess.shop/{{app.request.locale}}/Tickets#pg1001" data_target="_blank">{{ "Forfets promocions i varis dies" | trans }}</option>
  232.                         {% endif %}
  233.                         {% if general.getBotigaRecarrega() == 1 %}
  234.                             <option value="https://masella.axess.shop/{{app.request.locale}}" data_target="_blank">{{ "Recàrrega forfets" | trans }}</option>
  235.                         {% endif %}
  236.                         {% if general.getBotigaClasses() == 1 %} 
  237.                             <option value="{{path('abonaments_temporada_classes')}}" data_target="">{{ "Classes d'esquí i snowboard" | trans }}</option>
  238.                         {% endif %}
  239.                         {% if general.getBotigaLloguer() == 1 %} 
  240.                             <option value="{{path('abonaments_temporada_botiga')}}" data_target="">{{ "Lloguer i guardaesquís" | trans }}</option>
  241.                         {% endif %}
  242.                     </select>
  243.                     {% if app.request.locale == 'en' or app.request.locale == 'fr' %}
  244.                         <a id="btnCompra" class="button expanded" href="{{path('abonaments_temporada_front', {'_locale':'ca'})}}">{{ "Compra ara" | trans }}</a>
  245.                     {% else %}                    
  246.                         <a id="btnCompra" class="button expanded" href="{{path('abonaments_temporada_front')}}">{{ "Compra ara" | trans }}</a>
  247.                     {% endif %}
  248.                     <strong>{{ "Atenció al client" | trans }}</strong>: &nbsp; <a href="tel:972144000"><i class="fas fa-phone"></i> 972 144 000</a>
  249.                     <a class="close-button"  onclick="closeUp()"><span aria-hidden="true">&times;</span></a>
  250.                 </div>
  251.                 {% endif %}
  252.             </div>
  253.     </div>
  254. {% endblock %}
  255. {% block Webcam360_movil %}
  256.     <div style="position:relative; background:#fff; padding-top:0; margin-top: 4%;">
  257.         <div class="grid-container padding-mobile">
  258.             <div class="large-12 cell">
  259.                 <div class="grid-x grid-padding-x align-middle" style="background:#fff;">
  260.                     <div class="large-12 cell text-center" style="background: #6B9E9A; padding-top:10px; margin-bottom: 0px; margin-top: 10px;">
  261.                         <h2 class="main-heading" style="margin-bottom: 0;"><strong>LiveCam 360&deg;</strong></h2>
  262.                         <h5 class="main-heading">{{"Jumbo Tosa" | trans }}</h5>
  263.                     </div>
  264.                     <div class="large-12 medium-12" style="overflow: hidden;">
  265.                         <!--vertical-->  <div id="roundshot-thumbnail-54e8157b35bf33b39791639580461ee72" class="cam360 si-movil" style="border: 0px solid rgba(10, 10, 10, 0); overflow:hidden;"></div><script src="https://backend.roundshot.com/js/roundshot_animated_thumbnail.js" type="text/javascript"></script><script type="text/javascript"> roundshot.animate({id: "54e8157b35bf33b39791639580461ee72", picture: "https://backend.roundshot.com/cams/54e8157b35bf33b39791639580461ee7/thumbnail", link: "https://masella.roundshot.com/", angle: 360, width: 600, height: 160, bounce: false, open_in_new_tab: true, speed: 20});</script>
  266.                     </div>
  267.                     <div class="large-12 cell text-center">
  268.                         <a href="{{path('webcam')}}" class="button large" style="background:#fff; color:#6B9E9A; padding:0.2rem 1rem 1rem 1rem; font-size: 1.8rem; border-bottom: solid 2px #6B9E9A;"><img src="{{asset('frontoffice/images/webcam-green.svg')}}"/> <strong>{{ "Webcams" | trans }}</strong></a>
  269.                     </div>
  270.                 </div>
  271.             </div>
  272.         </div>
  273.     </div>
  274. {% endblock %}
  275. {% block Webcam360 %}
  276.     <div style="position:relative; background:#fff; padding-top:1rem;">
  277.         <div class="grid-container padding-mobile">
  278.             {% if general.getWebcam360CapBoscVisible()  %}
  279.                 <div class="large-12 cell">
  280.                     <div class="grid-x grid-padding-x align-middle mobile-wide">
  281.                         <div class="large-6 medium-6 small-6 cell">
  282.                             <h3 class="main-heading">LiveCam 360&deg;</h3>
  283.                             <h5 class="main-heading">{{"Jumbo Tosa" | trans }}</h5>
  284.                         </div>
  285.                         <div class="large-6 medium-6 small-6 cell">
  286.                             <a href="{{path('webcam')}}" class="button large"><img src="{{asset('frontoffice/images/webcam.svg')}}"/> {{ "Webcams" | trans }}</a>
  287.                         </div>
  288.                         <div class="large-12 medium-12 cell" style="overflow: hidden;">
  289.                             <!--horizontal--><div id="roundshot-thumbnail-54e8157b35bf33b39791639580461ee7" class="cam360 no-movil" style="border: 1px solid rgba(10, 10, 10, 0.25);"></div><script src="https://backend.roundshot.com/js/roundshot_animated_thumbnail.js" type="text/javascript"></script><script type="text/javascript"> roundshot.animate({id: "54e8157b35bf33b39791639580461ee7", picture: "https://backend.roundshot.com/cams/54e8157b35bf33b39791639580461ee7/thumbnail", link: "https://masella.roundshot.com/", angle: 360, width: 1174, height: 449, bounce: false, open_in_new_tab: true, speed: 20});</script>
  290.                             <p class="no-movil" style="text-align: center; margin-bottom: 2rem;">{{"Clicar la imatge" | trans }}</p>
  291.                         </div>
  292.                     </div>
  293.                 </div>  
  294.             {% endif %}
  295.         </div>
  296.     </div>
  297. {% endblock %}
  298. {% block article_movil %}
  299.     <div style="position:relative; background:#fff;">
  300.         <div class="grid-x grid-padding-x" data-equalizer="foo">
  301.             <!-- Slider main container -->
  302.             <!--
  303.             <div class="swiper" style="width:100%;height: 700px;  padding-top:0;">
  304.             -->
  305.             <div class="swiper" style="width:100%;  padding-top:0;">
  306.                 <!-- Additional required wrapper -->
  307.                 <div class="swiper-wrapper">
  308.                     {% for pestanya in enPestanyes %}
  309.                         <div class="small-12 pestanya swiper-slide">
  310.                             {% if attribute(pestanya, 'link'~(app.request.locale|capitalize)) !='' %}
  311.                                 <a href="{{attribute(pestanya, 'link'~(app.request.locale|capitalize))}}" target="_blank">
  312.                                 {% endif %}
  313.                                 <div class="callout" style="position:relative; padding: 0;">
  314.                                     <div class="top-pestanya">
  315.                                         <h2 class="text-left"><strong>{{ "Descobreix Masella" | trans }}</strong></h2>
  316.                                         <h4 class="text-left">{{attribute(pestanya, 'titol'~(app.request.locale|capitalize))}}</h4>
  317.                                         {{attribute(pestanya, 'text'~(app.request.locale|capitalize))|raw}}
  318.                                     </div>
  319.                                     {% if pestanya.imatge != '' %}
  320.                                         <div class="img-pestanya" style="background-image: url('{{ asset('uploads/pestanyes/'~pestanya.imatge) }}');">
  321.                                             <img class="img-pestanya_int"src="{{asset('frontoffice/images/mobile-vertical.gif')}}" />
  322.                                         </div>
  323.                                     {% endif %}
  324.                                 </div>
  325.                                 {% if attribute(pestanya, 'link'~(app.request.locale|capitalize)) !='' %}
  326.                                 </a>
  327.                             {% endif %}
  328.                         </div>
  329.                     {% endfor %}
  330.                 </div>
  331.                 <!-- If we need pagination -->
  332.                 <div class="swiper-pagination" style="top:80%;"></div>
  333.                 <!-- If we need navigation buttons -->
  334.                 <!--
  335.                 <div class="swiper-button-prev"></div>
  336.                 <div class="swiper-button-next"></div>
  337.                 -->
  338.                 <!-- If we need scrollbar
  339.                 <div class="swiper-scrollbar"></div> -->
  340.             </div>
  341.         </div>
  342.     </div>
  343. {% endblock %}
  344. {% block article %}
  345.     <div style="position:relative; background:#fff;">
  346.         <div class="grid-container padding-mobile">
  347.             {% set col=0%}   
  348.             {#% if videoDestacat.codi is defined and videoDestacat.codi !='' %} {% set col=col+1 %} {% endif %#} 
  349.             {#% if general.pestanya1Visible %} {% set col=col+1 %} {% endif %}
  350.             {% if general.pestanya2Visible %} {% set col=col+1 %} {% endif %}
  351.             {% if general.pestanya3Visible %} {% set col=col+1 %} {% endif %}
  352.             {% if general.pestanya4Visible %} {% set col=col+1 %} {% endif %#}
  353.             {% if sFotoDelDia is not empty %} {% set col=col+1 %} {% endif %}
  354.             <h3 class="text-center">{{ "Descobreix Masella" | trans }}</h3>
  355.             <div class="slide-home">
  356.                 <div class="orbit" role="region" data-orbit>
  357.                     <div class="orbit-wrapper">
  358.                         <div class="orbit-controls">
  359.                             <button class="orbit-previous"><span class="show-for-sr">Previous Slide</span>&#9664;&#xFE0E;</button>
  360.                             <button class="orbit-next"><span class="show-for-sr">Next Slide</span>&#9654;&#xFE0E;</button>
  361.                         </div>
  362.                         <ul class="orbit-container bloques">
  363.                             {% set iIcon = 0 %}
  364.                             {% for pestanya in enPestanyes %}
  365.                                 {% set iIcon=iIcon+1 %}
  366.                                 {% if (iIcon == 1) %}
  367.                                     <li class="is-active orbit-slide">
  368.                                         <div class="grid-x grid-padding-x" data-equalizer="foo">
  369.                                         {% endif %}
  370.                                         <div class="large-4 medium-4 pestanya" style="min-height: 286px!important;">
  371.                                             {% if attribute(pestanya, 'link'~(app.request.locale|capitalize)) !='' %}
  372.                                                 <a href="{{attribute(pestanya, 'link'~(app.request.locale|capitalize))}}" target="_blank">
  373.                                                 {% endif %}
  374.                                                 <div class="callout" data-equalizer-watch="foo" style="position:relative; min-height: 286px!important;">
  375.                                                     <h5>{{attribute(pestanya, 'titol'~(app.request.locale|capitalize))}}</h5>
  376.                                                     {{attribute(pestanya, 'text'~(app.request.locale|capitalize))|raw}}
  377.                                                     {% if pestanya.imatge != '' %}
  378.                                                         <div class="img-pestanya" style="background-image: url('{{ asset('uploads/pestanyes/'~pestanya.imatge) }}');">
  379.                                                             <img src="{{asset('frontoffice/images/pc-vertical.gif')}}" />
  380.                                                         </div>
  381.                                                     {% endif %}
  382.                                                 </div>
  383.                                                 {% if attribute(pestanya, 'link'~(app.request.locale|capitalize)) !='' %}
  384.                                                 </a>
  385.                                             {% endif %}
  386.                                         </div>
  387.                                         {% if (iIcon == 3) %}
  388.                                             {% set iIcon = 0%}
  389.                                         </div>
  390.                                     </li>
  391.                                 {% endif %}
  392.                             {% endfor %}
  393.                             {% if (iIcon != 0) %}
  394.                         </div>
  395.                         </li>
  396.                     {% endif %}
  397.                     </ul>
  398.                 </div>
  399.             </div>
  400.         </div>
  401.     </div>
  402.     {#% include 'App::foot.html.twig' %#}
  403. {% endblock %}
  404. {% block javascripts %}
  405.     {{parent()}}
  406.     <script type="text/javascript">
  407.         {%if errors is defined and errors|length>0%}
  408.             alert("hay errores")
  409.         {%endif%}
  410.             $(function () {
  411.                 $(".swiper").css('height', $(window).height() + 'px');
  412.                 $(".img-pestanya_int").css('height', ($(window).height() - 220) + 'px');
  413.                 $('#compra').on('change', function (e) {
  414.                     $('#btnCompra').attr('href', $(this).val()).attr('target', $('option:selected', this).attr('data_target'));
  415.                 })
  416.             })
  417.             var swiper = new Swiper('.swiper', {
  418.                 // Optional parameters
  419.                 direction: 'horizontal',
  420.                 loop: true,
  421.                 // If we need pagination
  422.                 pagination: {
  423.                     el: '.swiper-pagination',
  424.                 },
  425.                 // Navigation arrows
  426.                 navigation: {
  427.                     nextEl: '.swiper-button-next',
  428.                     prevEl: '.swiper-button-prev',
  429.                 },
  430.                 // And if we need scrollbar
  431.                 scrollbar: {
  432.                     el: '.swiper-scrollbar',
  433.                 },
  434.             });
  435.     </script>
  436. {% endblock%}