File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11"use client" ;
2- import Image from "next/image" ;
3- import { TbArrowUpRight } from "react-icons/tb" ;
4- import 'swiper/css' ;
5- import { Autoplay } from 'swiper/modules' ;
6- import { Swiper , SwiperSlide } from 'swiper/react' ;
7-
82
93export default function CatalogSwiperSection ( ) {
10-
11- return (
12- < div className = "py-8 lg:py-28" >
13- < div className = "container grid pb-8 lg:grid-cols-2" >
14- < div className = "text-left " >
15- < h1 className = "py-4 text-4xl font-medium lg:text-6xl lg:py-0" > Modern Classic</ h1 >
16- </ div >
17- < div >
18- < h2 className = "pb-6 text-xl font-bold tracking-wider" > WE CREATE DESIGNS ETCHED FROM YOUR HEART</ h2 >
19- < div className = "grid grid-cols-2 text-gray-500 gap-x-8" >
20- < div >
21- < p >
22- With our passion for design and decor, we have created a collection of furniture,interiors and accessories that will help you create a comfortable and stylish home.
23- </ p >
24- </ div >
25- < div >
26- < p >
27- We create distinctive and unique designs that are inspired by the latest trends in interior design and fashion.
28- </ p >
29- < a href = "" className = "inline-flex items-center pt-4 text-lg font-bold text-black underline" > View Gallery < TbArrowUpRight /> </ a >
30- </ div >
31- </ div >
32- </ div >
33- </ div >
34-
35- < Swiper
36- slidesPerView = { 1 }
37- breakpoints = { {
38- 640 : {
39- slidesPerView : 2 ,
40- spaceBetween : 20 ,
41- } ,
42- 1024 : {
43- slidesPerView : 3 ,
44- spaceBetween : 50 ,
45- } ,
46- } }
47- autoplay = { { delay : 2500 , disableOnInteraction : false } }
48- modules = { [ Autoplay ] }
49-
50- >
51- < SwiperSlide >
52- < Image src = "/image/swiper1.jpg" alt = "LOGO" width = { 520 } height = { 220 } className = "w-full" />
53- </ SwiperSlide >
54- < SwiperSlide >
55- < Image src = "/image/swiper2.jpg" alt = "LOGO" width = { 520 } height = { 220 } className = "w-full" />
56- </ SwiperSlide >
57- < SwiperSlide >
58- < Image src = "/image/swiper3.jpg" alt = "LOGO" width = { 520 } height = { 220 } className = "w-full" />
59- </ SwiperSlide >
60- < SwiperSlide >
61- < Image src = "/image/swiper4.jpg" alt = "LOGO" width = { 520 } height = { 220 } className = "w-full" />
62- </ SwiperSlide >
63- < SwiperSlide >
64- < Image src = "/image/swiper5.jpg" alt = "LOGO" width = { 520 } height = { 220 } className = "w-full" />
65- </ SwiperSlide >
66- </ Swiper >
67- </ div >
68- )
4+ return null ;
695}
You can’t perform that action at this time.
0 commit comments