import Image from "next/image"; interface RoleIndicator { icon: string; label: string; current: number; total: number; } interface TeamTVLCardProps { currentTVL: string; totalTVL: string; progressPercent: number; members: number; roles: RoleIndicator[]; } export default function TeamTVLCard({ currentTVL = "$8.5M", totalTVL = "$10M", progressPercent = 85, members = 12, roles = [ { icon: "/icon-whale.svg", label: "Whales", current: 3, total: 3 }, { icon: "/icon-trader.svg", label: "Traders", current: 0, total: 3 }, { icon: "/icon-user.svg", label: "Users", current: 5, total: 3 }, ], }: TeamTVLCardProps) { return (
{/* Header */}
Team TVL Reward
{/* Description */}

Were you invited? Enter the code here to boost your base yield by +0.5%.

{/* Progress Section */}
{/* TVL Info */}
CURRENT TEAM TVL {currentTVL} / {totalTVL}
{/* Progress Bar */}
{/* Role Indicators */}
{roles.map((role, index) => (
{role.label}
{role.label} {role.current}/{role.total}
))}
{/* Members Badge */}
{members} Members
); }