"use client"; import Image from "next/image"; import { Button } from "@heroui/react"; import { useApp } from "@/contexts/AppContext"; 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) { const { t } = useApp(); return (
{/* Top Section */}
{/* Logo and Title */}
{logo ? ( {title} ) : (
{t("points.logo")}
)}

{title}

{badge}
{subtitle}
{/* Lock Period and Button */}
{t("points.lockPeriod")} {lockPeriod}
{/* Bottom Section - Progress Bar */}
{/* Progress Bar */}
{/* Points Badge */} {pointsBoost}
); }