import { Swiper, SwiperSlide } from "swiper/react"; import { Navigation } from "swiper/modules"; import "swiper/css"; import "swiper/css/navigation"; import { motion } from 'framer-motion'; import { Crown, Bookmark, User, Briefcase, MapPin, X, Send, ChevronLeft, ChevronRight } from 'lucide-react'; import { useRef } from "react"; import LazyImage from "../common/LazyImage"; import weddingImg1 from "../../assets/images/wedding6.jpeg"; import weddingImg2 from "../../assets/images/wedding8.jpg"; import weddingImg3 from "../../assets/images/wedding7.jpg"; const articleData = [ { title: "Marriage is not just finding the right partner, it's creating a lifetime of moments together Find someone who understands your heart and walks with you in every season.", img: weddingImg1, }, { title: "Top 10 Qualities for a Happy Marriage, A perfect match begins with trust, respect, and shared dreams", img: weddingImg2 }, { title: "Expert Tips for a Strong Relationship, A perfect match begins with trust, respect, and shared dreams", img: weddingImg3 }, { title: "How to Build Trust in Marriage, A perfect match begins with trust, respect, and shared dreams", img: weddingImg1 }, { title: "Communication Secrets for Couples, A perfect match begins with trust, respect, and shared dreams,A perfect match begins with trust, respect, and shared dreams.A perfect match begins with trust, respect, and shared dreams.A perfect match begins with trust, respect, and shared dreams,Real relationships are built on honesty, compassion, and understanding.,Real relationships are built on honesty, compassion, and understanding.", img: weddingImg1 } ]; const twoLineStyle = { display: '-webkit-box', WebkitBoxOrient: 'vertical', WebkitLineClamp: 2, overflow: 'hidden', textOverflow: 'ellipsis', whiteSpace: 'normal' }; const MatrimonyArticles = () => { const swiperRef = useRef(null); return ( <>