Merge pull request 'slider autoplay fix' (#30) from staging into master
All checks were successful
Release to Staging / build_and_release (push) Successful in 46s
All checks were successful
Release to Staging / build_and_release (push) Successful in 46s
Reviewed-on: #30
This commit is contained in:
commit
25fd2ca6f7
@ -1,7 +1,7 @@
|
||||
import { Filter, kinds, nip19 } from 'nostr-tools'
|
||||
import { useState } from 'react'
|
||||
import { useNavigate } from 'react-router-dom'
|
||||
import { A11y, Navigation, Pagination } from 'swiper/modules'
|
||||
import { A11y, Navigation, Pagination, Autoplay } from 'swiper/modules'
|
||||
import { Swiper, SwiperSlide } from 'swiper/react'
|
||||
import { BlogCard } from '../components/BlogCard'
|
||||
import { GameCard } from '../components/GameCard'
|
||||
@ -39,7 +39,7 @@ export const HomePage = () => {
|
||||
<Swiper
|
||||
className='swiper-container IBMSMSliderContainer'
|
||||
wrapperClass='swiper-wrapper IBMSMSliderContainerWrapper'
|
||||
modules={[Navigation, Pagination, A11y]}
|
||||
modules={[Navigation, Pagination, A11y, Autoplay]}
|
||||
pagination={{ clickable: true, dynamicBullets: true }}
|
||||
slidesPerView={1}
|
||||
autoplay={{ delay: 5000 }}
|
||||
|
Loading…
Reference in New Issue
Block a user