add slider image
This commit is contained in:
@@ -2,6 +2,7 @@ import React from 'react'
|
|||||||
import SliderOne from '../../public/resource/slider/slier-1(1).webp'
|
import SliderOne from '../../public/resource/slider/slier-1(1).webp'
|
||||||
import sliderJob from '../../public/resource/slider/slider-2(1).webp'
|
import sliderJob from '../../public/resource/slider/slider-2(1).webp'
|
||||||
import sliderBook from '../../public/resource/slider/slider_3.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 Image from 'next/image'
|
||||||
import { Swiper, SwiperSlide } from 'swiper/react'
|
import { Swiper, SwiperSlide } from 'swiper/react'
|
||||||
@@ -11,6 +12,11 @@ const Slider = () => {
|
|||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<Swiper pagination={true} autoplay={true} loop={true} modules={[Pagination]} className='mySwiper'>
|
<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'>
|
<SwiperSlide style={{ cursor: 'pointer' }} className='pointer'>
|
||||||
<Link href='/stock-price'>
|
<Link href='/stock-price'>
|
||||||
<img src={SliderOne} />
|
<img src={SliderOne} />
|
||||||
|
|||||||
@@ -15,8 +15,7 @@ const StockUnit = () => {
|
|||||||
style={{ fontSize: 30 }}
|
style={{ fontSize: 30 }}
|
||||||
className={'center-align text-white header_back service-text dana font-weight-bold'}
|
className={'center-align text-white header_back service-text dana font-weight-bold'}
|
||||||
>
|
>
|
||||||
{' '}
|
واحد فروش سهام
|
||||||
واحد فروش سهام{' '}
|
|
||||||
</div>
|
</div>
|
||||||
<Image
|
<Image
|
||||||
loader={Parallax}
|
loader={Parallax}
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 87 KiB After Width: | Height: | Size: 48 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 117 KiB |
Reference in New Issue
Block a user