import Image from "next/image"; import { Button } from "@heroui/react"; interface DepositCardProps { logo?: string; title: string; subtitle: string; badge: string; lockPeriod: string; progressPercent: number; pointsBoost: string; onDeposit?: () => void; } export default function DepositCard({ logo, title, subtitle, badge, lockPeriod, progressPercent, pointsBoost, onDeposit, }: DepositCardProps) { return (
{/* Top Section */}
{/* Left - Logo and Title */}
{/* Logo */} {logo ? ( {title} ) : (
LOGO
)} {/* Title and Subtitle */}

{title}

{badge}
{subtitle}
{/* Right - Lock Period and Button */}
LOCK PERIOD {lockPeriod}
{/* Bottom Section - Progress Bar */}
{/* Progress Bar */}
{/* Points Badge */} {pointsBoost}
); }