File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
src/views/Home/components/SpeakersCarousel Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change 11import React , { FC } from "react" ;
2- import { Autoplay , Parallax } from "swiper" ;
2+ import { Parallax } from "swiper" ;
33import { Swiper , SwiperSlide } from "swiper/react" ;
44import styled from "styled-components" ;
55import { Color } from "../../../../styles/colors" ;
@@ -49,15 +49,15 @@ const SpeakerSwiper: FC<React.PropsWithChildren<unknown>> = () => {
4949 { isLoading && < p > Loading</ p > }
5050 { conferenceData . carrousel . enabled && swiperSpeakers && (
5151 < Swiper
52- autoplay = { {
53- delay : 500 ,
52+ /* autoplay={{
53+ delay: 5000 ,
5454 disableOnInteraction: true,
55- } }
55+ }}*/
5656 slidesPerView = { 1 }
5757 spaceBetween = { 10 }
58- speed = { 3000 }
58+ speed = { 5000 }
5959 parallax = { true }
60- loop = { true }
60+ // loop={true}
6161 grabCursor = { true }
6262 breakpoints = { {
6363 340 : {
@@ -72,14 +72,14 @@ const SpeakerSwiper: FC<React.PropsWithChildren<unknown>> = () => {
7272 } ,
7373 1024 : {
7474 width : 1024 ,
75- slidesPerView : 4 ,
75+ slidesPerView : 5 ,
7676 centeredSlides : true ,
7777 spaceBetween : 30 ,
7878 autoHeight : true ,
7979 } ,
8080 } }
8181 centeredSlides = { true }
82- modules = { [ Autoplay , Parallax ] }
82+ modules = { [ /* Autoplay,*/ Parallax ] }
8383 className = "mySwiper"
8484 >
8585 { swiperSpeakers . map ( ( speaker ) => (
You can’t perform that action at this time.
0 commit comments