82 lines
2.9 KiB
JavaScript
82 lines
2.9 KiB
JavaScript
import OwlCarousel from 'react-owl-carousel'
|
|
import React from 'react'
|
|
import img1 from '../../../assets/images/screen-1.png'
|
|
import img2 from '../../../assets/images/screen-2.png'
|
|
import img3 from '../../../assets/images/screen-3.png'
|
|
import img4 from '../../../assets/images/screen-4.png'
|
|
import img5 from '../../../assets/images/screen-5.png'
|
|
|
|
const Main = () => {
|
|
|
|
const screen_slider = {
|
|
loop:true,
|
|
margin:10,
|
|
nav:false,
|
|
autoplay: true,
|
|
smartSpeed: 1500,
|
|
center: true,
|
|
dots: true,
|
|
responsive:{
|
|
0:{
|
|
items:2
|
|
},
|
|
600:{
|
|
items:3
|
|
},
|
|
1000:{
|
|
items:5
|
|
}
|
|
}
|
|
}
|
|
return (
|
|
<>
|
|
<section className="row_am interface_section">
|
|
<div className="container-fluid">
|
|
<div className="section_title" data-aos="fade-up" data-aos-duration="1500" data-aos-delay="300">
|
|
<h2>Beautiful <span>interface</span></h2>
|
|
<p>
|
|
myFit appends a fun yet simple process to keep you consistently<br/> motivated,engaged and moving again without any shrewdness.
|
|
|
|
</p>
|
|
</div>
|
|
<div className="screen_slider" >
|
|
<OwlCarousel id="screen_slider" {...screen_slider} className="owl-carousel owl-theme owl-loaded owl-drag">
|
|
<div className="item">
|
|
<div className="screen_frame_img">
|
|
<img src={img1} alt="image" />
|
|
</div>
|
|
</div>
|
|
<div className="item">
|
|
<div className="screen_frame_img">
|
|
<img src={img2} alt="image" />
|
|
</div>
|
|
</div>
|
|
<div className="item">
|
|
<div className="screen_frame_img">
|
|
<img src={img3} alt="image" />
|
|
</div>
|
|
</div>
|
|
<div className="item">
|
|
<div className="screen_frame_img">
|
|
<img src={img4} alt="image" />
|
|
</div>
|
|
</div>
|
|
<div className="item">
|
|
<div className="screen_frame_img">
|
|
<img src={img5} alt="image" />
|
|
</div>
|
|
</div>
|
|
<div className="item">
|
|
<div className="screen_frame_img">
|
|
<img src={img3} alt="image" />
|
|
</div>
|
|
</div>
|
|
</OwlCarousel>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</>
|
|
)
|
|
}
|
|
|
|
export default Main |