add slider
This commit is contained in:
@@ -2,6 +2,7 @@ import React from 'react'
|
||||
import SliderOne from '../../public/resource/slider/slier-1(1).webp'
|
||||
import sliderJob from '../../public/resource/slider/slider-2(1).webp'
|
||||
import sliderBook from '../../public/resource/slider/slider_3.webp'
|
||||
import sliderCallCenter from '../../public/resource/slider/call-center.webp'
|
||||
|
||||
import Image from 'next/image'
|
||||
import { Swiper, SwiperSlide } from 'swiper/react'
|
||||
@@ -11,6 +12,11 @@ const Slider = () => {
|
||||
return (
|
||||
<div>
|
||||
<Swiper pagination={true} autoplay={true} loop={true} modules={[Pagination]} className='mySwiper'>
|
||||
<SwiperSlide style={{ cursor: 'pointer' }} className='pointer'>
|
||||
<Link href='/stock-unit'>
|
||||
<img src={sliderCallCenter} />
|
||||
</Link>
|
||||
</SwiperSlide>
|
||||
<SwiperSlide style={{ cursor: 'pointer' }} className='pointer'>
|
||||
<Link href='/stock-price'>
|
||||
<img src={SliderOne} />
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 219 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 101 KiB |
Reference in New Issue
Block a user