diff --git a/website/www/site/assets/js/quotes-slider.js b/website/www/site/assets/js/quotes-slider.js index 35615718a956..6232d5244369 100644 --- a/website/www/site/assets/js/quotes-slider.js +++ b/website/www/site/assets/js/quotes-slider.js @@ -20,6 +20,10 @@ new Swiper('.swiper', { bulletClass: "bullet-class-custom", bulletActiveClass: "bullet-active-class-custom", }, + navigation: { + nextEl: ".swiper-button-next-custom", + prevEl: ".swiper-button-prev-custom", + }, breakpoints: { // switches from mobile to desktop when window width is > 1024px 1025: { diff --git a/website/www/site/assets/scss/_quotes.scss b/website/www/site/assets/scss/_quotes.scss index 8d50f1384b3c..73e847f9a1f6 100644 --- a/website/www/site/assets/scss/_quotes.scss +++ b/website/www/site/assets/scss/_quotes.scss @@ -119,7 +119,6 @@ } } - .bullet-class-custom { display: inline-block; border: none; @@ -169,3 +168,19 @@ } } } + +.swiper-container { + display: flex; + align-items: center; +} + +.swiper-button-next-custom, +.swiper-button-prev-custom { + @media (max-width: $mobile) { + display: none; + } + img { + display: block; + width: 100%; + } +} diff --git a/website/www/site/layouts/index.html b/website/www/site/layouts/index.html index 7e79c2db6f58..edeab5409998 100644 --- a/website/www/site/layouts/index.html +++ b/website/www/site/layouts/index.html @@ -164,16 +164,24 @@