diff --git a/app/assets/css/main.css b/app/assets/css/main.css index 4940229..c2efce6 100644 --- a/app/assets/css/main.css +++ b/app/assets/css/main.css @@ -8639,8 +8639,7 @@ LND PAGE STYLE STARTS HERE } -/* -----------Interface_Section-Css-Start----------------- */ - +/* -----------Interface_Section-Css-Start FOR HOME IMAGE SLIDERS ----------------- */ /* interface wraper */ .interface_section .screen_slider { margin-top: 35px; @@ -8664,4 +8663,14 @@ LND PAGE STYLE STARTS HERE 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; } \ No newline at end of file diff --git a/app/components/FeaturedScreenTwo.js b/app/components/FeaturedScreenTwo.js new file mode 100644 index 0000000..a1201fa --- /dev/null +++ b/app/components/FeaturedScreenTwo.js @@ -0,0 +1,145 @@ +"use client" +import React, {useState} from 'react' +import Carousel from 'react-simply-carousel'; +import Image from 'next/image' + +export default function FeaturedScreenTwo() { + const [activeSlide, setActiveSlide] = useState(0); + const handleSlideIndexChange = () => { + setActiveSlideIndex(2) + } + + return ( +
+ {`>`}, + }} + backwardBtnProps={{ + //here you can also pass className, or any other button element attributes + style: { + alignSelf: 'center', + background: 'black', + border: 'none', + borderRadius: '50%', + color: 'white', + cursor: 'pointer', + fontSize: '20px', + height: 30, + lineHeight: 1, + textAlign: 'center', + width: 30, + display: 'none' + }, + children: {`<`}, + }} + dotsNav={{ + show: true, + itemBtnProps: { + style: { + height: 16, + width: 16, + borderRadius: "50%", + border: 0 + } + }, + activeItemBtnProps: { + style: { + height: 16, + width: 16, + borderRadius: "50%", + border: 0, + background: "black" + } + } + }} + responsiveProps={[ + { + itemsToShow: 1, + itemsToScroll: 1, + minWidth: 0, + }, + { + itemsToShow: 3, + itemsToScroll: 1, + minWidth: 568, + }, + { + itemsToShow: 5, + itemsToScroll: 1, + minWidth: 992, + }, + { + itemsToShow: 7, + itemsToScroll: 1, + minWidth: 1440, + }, + ]} + > + {/* 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 de565fb..76acfdb 100644 --- a/app/components/HomeOne.js +++ b/app/components/HomeOne.js @@ -4,15 +4,15 @@ import BlogHomeOne from './BlogHomeOne'; // import FeaturesHomeOne from './FeaturesHomeOne'; import FooterHomeOne from './FooterHomeOne'; import HeroHomeOne from './HeroHomeOne'; -import ServicesHomeOne from './ServicesHomeOne'; +// import ServicesHomeOne from './ServicesHomeOne'; import TrafficHomeOne from './TrafficHomeOne'; -import TrafficHomeTwo from './TrafficHomeTwo'; +// import TrafficHomeTwo from './TrafficHomeTwo'; //import FeaturedScreen from './FeaturedScreen'; import AfterHero from './AfterHero'; -import NextAfterHero from './NextAfterHero'; +// import NextAfterHero from './NextAfterHero'; import BackToTop from './BackToTop'; import SelectFeatures from "@/app/components/SelectFeatutes"; - +import FeaturedScreenTwo from './FeaturedScreenTwo' @@ -28,7 +28,7 @@ function HomeOne() { {/**/} {/**/} - {/**/} +