import { FC } from "react"; import { Card, CardContent } from "@/components/ui/card"; import { Badge } from "@/components/ui/badge"; import { CreditCard, Briefcase, Plane, Users, Ribbon, Building2, LineChart } from "lucide-react"; // Only used icons type ServiceItem = { title: string; subtitle: string; icon: React.ReactNode; badge?: string; badgeColor?: string; }; const services: ServiceItem[] = [ { title: "Credit Card", subtitle: "Find the perfect credit card for your lifestyle and benefit.", icon: , badge: "New", badgeColor: "bg-orange-600" }, { title: "Personal Loans", subtitle: "Affordable loans with flexible repayment options", icon: , badge: "", badgeColor: "bg-green-600" }, { title: "Bank Accounts", subtitle: " Secure and flexible banking solutions for all your needs.", icon: , badge: "", badgeColor: "bg-green-600" }, { title: "Corporate & SME ", subtitle: " Plan for your future with tailored financial advice.", icon: }, { title: "Mortgage Services", subtitle: "Navigate the home-buying process with expert guidance.", icon: , badge: "", badgeColor: "bg-green-600" }, { title: "NRI Services", subtitle: "Grow your wealth with smart investment options.", icon: , badge: "", badgeColor: "bg-green-600" }, { title: "Referral", subtitle: " Maximize your assets with expert wealth management services.", icon: , badge: "", badgeColor: "bg-green-600" }, ]; const ServicesPlugin: FC = () => { return (
{/* Use flex for horizontal layout */}
{services.map((service, index) => ( {service.badge && ( {service.badge} )} {/* Small icon */}
{service.icon}
{/* Small title */}

{service.title}

{/* Small subtitle */}

{service.subtitle}

))}
); }; export default ServicesPlugin;