"use client"; import React from "react"; import Image from "next/image"; import { motion } from "framer-motion"; import { ArrowRight } from "lucide-react"; const BannerSlider = ({ data, categories }) => { const { heading3, heading4, description3 } = data || {}; return (
{/* Background image */} Background
{/* Text content */}

{heading3 ?? "Discover Your Path"}

{heading4 ?? "Astrology-Guided Personal Growth"}

{description3 ?? "Unlock your potential with our expert-led consultations and sacred Rudraksha beads."}

Book a Consultation
{/* Static Cards */} {categories.map((category, index) => (
{category.title}

{category.title}

))}
); }; export default BannerSlider;