carousel and header
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
'use client'
|
||||
import { FC } from 'react'
|
||||
import { Swiper, SwiperSlide } from 'swiper/react';
|
||||
import { Pagination } from 'swiper/modules';
|
||||
|
||||
const Carousel: FC = () => {
|
||||
return (
|
||||
<div className='mt-5'>
|
||||
<Swiper pagination={true} modules={[Pagination]} className="mySwiper pb-5">
|
||||
<SwiperSlide>
|
||||
<div className='h-[400px] bg-red-50'>
|
||||
1
|
||||
</div>
|
||||
</SwiperSlide>
|
||||
<SwiperSlide>
|
||||
<div className='h-[400px] bg-red-50'>
|
||||
1
|
||||
</div>
|
||||
</SwiperSlide>
|
||||
</Swiper>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default Carousel
|
||||
Reference in New Issue
Block a user