Compare commits
2 Commits
0e08d09717
...
25fd2ca6f7
Author | SHA1 | Date | |
---|---|---|---|
|
25fd2ca6f7 | ||
|
0c32999df8 |
@ -1,7 +1,7 @@
|
|||||||
import { Filter, kinds, nip19 } from 'nostr-tools'
|
import { Filter, kinds, nip19 } from 'nostr-tools'
|
||||||
import { useState } from 'react'
|
import { useState } from 'react'
|
||||||
import { useNavigate } from 'react-router-dom'
|
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 { Swiper, SwiperSlide } from 'swiper/react'
|
||||||
import { BlogCard } from '../components/BlogCard'
|
import { BlogCard } from '../components/BlogCard'
|
||||||
import { GameCard } from '../components/GameCard'
|
import { GameCard } from '../components/GameCard'
|
||||||
@ -39,7 +39,7 @@ export const HomePage = () => {
|
|||||||
<Swiper
|
<Swiper
|
||||||
className='swiper-container IBMSMSliderContainer'
|
className='swiper-container IBMSMSliderContainer'
|
||||||
wrapperClass='swiper-wrapper IBMSMSliderContainerWrapper'
|
wrapperClass='swiper-wrapper IBMSMSliderContainerWrapper'
|
||||||
modules={[Navigation, Pagination, A11y]}
|
modules={[Navigation, Pagination, A11y, Autoplay]}
|
||||||
pagination={{ clickable: true, dynamicBullets: true }}
|
pagination={{ clickable: true, dynamicBullets: true }}
|
||||||
slidesPerView={1}
|
slidesPerView={1}
|
||||||
autoplay={{ delay: 5000 }}
|
autoplay={{ delay: 5000 }}
|
||||||
|
Loading…
Reference in New Issue
Block a user