Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 3258f97bdc |
+12
-21
@@ -8641,36 +8641,27 @@ LND PAGE STYLE STARTS HERE
|
|||||||
|
|
||||||
/* -----------Interface_Section-Css-Start FOR HOME IMAGE SLIDERS ----------------- */
|
/* -----------Interface_Section-Css-Start FOR HOME IMAGE SLIDERS ----------------- */
|
||||||
/* interface wraper */
|
/* interface wraper */
|
||||||
.interface_section .screen_slider {
|
/* .interface_section .screen_slider {
|
||||||
margin-top: 35px;
|
margin-top: 35px;
|
||||||
/* min-height: 520px; */
|
min-height: 520px;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
} */
|
||||||
|
|
||||||
|
.carousel-container{
|
||||||
|
padding: 120px 0px 50px;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* interface images */
|
.react-multi-carousel, .slick-slide{
|
||||||
.interface_section .owl-item .screen_frame_img img {
|
|
||||||
transform: scale(.9);
|
transform: scale(.9);
|
||||||
/* border: 2px solid #000; */
|
transition: all 2s;
|
||||||
border-radius: 20px;
|
/* border: 2px solid #000;
|
||||||
transition: 1s all;
|
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
height: 520px;
|
height: 520px;
|
||||||
width: auto;
|
width: auto; */
|
||||||
}
|
}
|
||||||
|
|
||||||
.interface_section .owl-item.center .screen_frame_img img {
|
.react-multi-carousel-item--active, .slick-center{
|
||||||
transform: scale(1);
|
transform: scale(1);
|
||||||
/* border: 3px solid #000; */
|
transition: all 2s;
|
||||||
/* padding: 5px; */
|
|
||||||
}
|
|
||||||
|
|
||||||
.carousel .slider {
|
|
||||||
height: auto !important;
|
|
||||||
width: 300px !important;
|
|
||||||
transform: scale(.9);
|
|
||||||
}
|
|
||||||
|
|
||||||
.carousel div {
|
|
||||||
gap: 5px !important;
|
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,83 @@
|
|||||||
|
"use client"
|
||||||
|
// NOTE React-Slick and slick-carousel goes together. DO install both
|
||||||
|
import React from 'react';
|
||||||
|
import Slider from 'react-slick';
|
||||||
|
import 'slick-carousel/slick/slick.css';
|
||||||
|
import 'slick-carousel/slick/slick-theme.css';
|
||||||
|
import Image from 'next/image'
|
||||||
|
|
||||||
|
export default function FeaturedScreenTwo() {
|
||||||
|
const settings = {
|
||||||
|
dots: true,
|
||||||
|
autoplay: true,
|
||||||
|
infinite: true,
|
||||||
|
centerMode: true,
|
||||||
|
|
||||||
|
className: 'center',
|
||||||
|
centerPadding: '60px',
|
||||||
|
|
||||||
|
slidesToShow: 5,
|
||||||
|
slidesToScroll: 1,
|
||||||
|
speed: 4000,
|
||||||
|
// autoplaySpeed: 2000,
|
||||||
|
cssEase: "linear",
|
||||||
|
|
||||||
|
responsive: [
|
||||||
|
{
|
||||||
|
breakpoint: 1024,
|
||||||
|
settings: {
|
||||||
|
slidesToShow: 5,
|
||||||
|
slidesToScroll: 1,
|
||||||
|
// initialSlide: 1,
|
||||||
|
// infinite: true,
|
||||||
|
// dots: true,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
breakpoint: 600,
|
||||||
|
settings: {
|
||||||
|
slidesToShow: 3,
|
||||||
|
slidesToScroll: 1,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
{
|
||||||
|
breakpoint: 480,
|
||||||
|
settings: {
|
||||||
|
slidesToShow: 1,
|
||||||
|
slidesToScroll: 1,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
],
|
||||||
|
};
|
||||||
|
|
||||||
|
return (
|
||||||
|
<div className='carousel-container'>
|
||||||
|
<Slider
|
||||||
|
{...settings}
|
||||||
|
>
|
||||||
|
{/* here you can also pass any other element attributes. Also, you can use your custom components as slides */}
|
||||||
|
<div className='slider-img-con'>
|
||||||
|
<img src={'/assets/images/slider/app_sliders/screen_1.png'} alt="image" />
|
||||||
|
</div>
|
||||||
|
<div className='slider-img-con'>
|
||||||
|
<img src={'/assets/images/slider/app_sliders/screen_2.png'} alt="image" />
|
||||||
|
</div>
|
||||||
|
<div className='slider-img-con'>
|
||||||
|
<img src={'/assets/images/slider/app_sliders/screen_3.png'} alt="image" />
|
||||||
|
</div>
|
||||||
|
<div className='slider-img-con'>
|
||||||
|
<img src={'/assets/images/slider/app_sliders/screen_6.png'} alt="image" />
|
||||||
|
</div>
|
||||||
|
<div className='slider-img-con'>
|
||||||
|
<img src={'/assets/images/slider/app_sliders/screen_4.png'} alt="image" />
|
||||||
|
</div>
|
||||||
|
<div className='slider-img-con'>
|
||||||
|
<img src={'/assets/images/slider/app_sliders/screen_7.png'} alt="image" />
|
||||||
|
</div>
|
||||||
|
<div className='slider-img-con'>
|
||||||
|
<img src={'/assets/images/slider/app_sliders/screen_5.png'} alt="image" />
|
||||||
|
</div>
|
||||||
|
</Slider>
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
}
|
||||||
@@ -12,7 +12,7 @@ import AfterHero from './AfterHero';
|
|||||||
// import NextAfterHero from './NextAfterHero';
|
// import NextAfterHero from './NextAfterHero';
|
||||||
import BackToTop from './BackToTop';
|
import BackToTop from './BackToTop';
|
||||||
import SelectFeatures from "@/app/components/SelectFeatutes";
|
import SelectFeatures from "@/app/components/SelectFeatutes";
|
||||||
//import FeaturedScreenTwo from './FeaturedScreenTwo'
|
import FeaturedScreenTwo from './FeaturedScreenTwo'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -28,7 +28,7 @@ function HomeOne() {
|
|||||||
{/*<ServicesHomeOne />*/}
|
{/*<ServicesHomeOne />*/}
|
||||||
<TrafficHomeOne />
|
<TrafficHomeOne />
|
||||||
{/*<TrafficHomeTwo />*/}
|
{/*<TrafficHomeTwo />*/}
|
||||||
{/*<FeaturedScreenTwo /> olu temp */}
|
<FeaturedScreenTwo />
|
||||||
<BlogHomeOne />
|
<BlogHomeOne />
|
||||||
<FooterHomeOne />
|
<FooterHomeOne />
|
||||||
<BackToTop className='' />
|
<BackToTop className='' />
|
||||||
|
|||||||
Reference in New Issue
Block a user