import { FC } from "react"; import { Card, CardContent } from "@/components/ui/card"; import { Badge } from "@/components/ui/badge"; import { Car, Heart, Umbrella, Briefcase, Plane, Home, Users, Shield, Ribbon } from "lucide-react"; // Lucide icons type ServiceItem = { title: string; subtitle: string; icon: JSX.Element; badge?: string; badgeColor?: string; }; const services: ServiceItem[] = [ { title: "Car", subtitle: "Insurance", icon: , badge: "Excess Waiver", badgeColor: "bg-green-600" }, { title: "Health", subtitle: "Insurance", icon: , badge: "No Claim Bonus", badgeColor: "bg-green-600" }, { title: "Term", subtitle: "Life", icon: , badge: "Instant Issuance", badgeColor: "bg-green-600" }, { title: "Investment", subtitle: "and Life Plans", icon: , badge: "Whole Life Solutions", badgeColor: "bg-green-600" }, { title: "Travel", subtitle: "Insurance", icon: , badge: "Instant Policy", badgeColor: "bg-green-600" }, { title: "Bike", subtitle: "Insurance", icon: }, { title: "Corporate", subtitle: "Health", icon: }, { title: "Critical", subtitle: "Illness", icon: , badge: "Cancer Cover", badgeColor: "bg-green-600" }, { title: "Home", subtitle: "Insurance", icon: }, { title: "Business", subtitle: "Insurance", icon: , badge: "NEW", badgeColor: "bg-orange-500" }, ]; const ServicesPlugin: FC = () => { return (
{services.map((service, index) => ( {service.badge && ( {service.badge} )}
{service.icon}

{service.title}

{service.subtitle}

))}
); }; export default ServicesPlugin;