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: JSX.Element;
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: "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: "NRI Investments", subtitle: "Grow your wealth with smart investment options.", icon: , badge: "", badgeColor: "bg-green-600" },
{ title: "Mortgage Services", subtitle: "Navigate the home-buying process with expert guidance.", icon: , badge: "", badgeColor: "bg-green-600" },
{ title: "Corporate", subtitle: " Plan for your future with tailored financial advice.", icon: },
{ title: "Wealth Management", 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;