diff --git a/app/assets/css/main.css b/app/assets/css/main.css index 902a401..d1441a7 100644 --- a/app/assets/css/main.css +++ b/app/assets/css/main.css @@ -8641,36 +8641,27 @@ LND PAGE STYLE STARTS HERE /* -----------Interface_Section-Css-Start FOR HOME IMAGE SLIDERS ----------------- */ /* interface wraper */ -.interface_section .screen_slider { +/* .interface_section .screen_slider { margin-top: 35px; - /* min-height: 520px; */ + min-height: 520px; display: flex; align-items: center; +} */ + +.carousel-container{ + padding: 120px 0px 50px; } -/* interface images */ -.interface_section .owl-item .screen_frame_img img { +.react-multi-carousel, .slick-slide{ transform: scale(.9); - /* border: 2px solid #000; */ - border-radius: 20px; - transition: 1s all; + transition: all 2s; + /* border: 2px solid #000; margin: 0 auto; 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); - /* border: 3px solid #000; */ - /* padding: 5px; */ -} - -.carousel .slider { - height: auto !important; - width: 300px !important; - transform: scale(.9); -} - -.carousel div { - gap: 5px !important; + transition: all 2s; } \ No newline at end of file diff --git a/app/components/FeaturedScreenTwo.js b/app/components/FeaturedScreenTwo.js new file mode 100644 index 0000000..2ea0f5b --- /dev/null +++ b/app/components/FeaturedScreenTwo.js @@ -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 ( +
+ + {/* here you can also pass any other element attributes. Also, you can use your custom components as slides */} +
+ image +
+
+ image +
+
+ image +
+
+ image +
+
+ image +
+
+ image +
+
+ image +
+
+
+ ); +} diff --git a/app/components/HomeOne.js b/app/components/HomeOne.js index e6708c8..76acfdb 100644 --- a/app/components/HomeOne.js +++ b/app/components/HomeOne.js @@ -12,7 +12,7 @@ import AfterHero from './AfterHero'; // import NextAfterHero from './NextAfterHero'; import BackToTop from './BackToTop'; import SelectFeatures from "@/app/components/SelectFeatutes"; -//import FeaturedScreenTwo from './FeaturedScreenTwo' +import FeaturedScreenTwo from './FeaturedScreenTwo' @@ -28,7 +28,7 @@ function HomeOne() { {/**/} {/**/} - {/* olu temp */} +