import { Button } from "@heroui/react"; import BorderedButton from "@/components/common/BorderedButton"; interface EarnOpportunityCardProps { pointsLabel: string; title: string; subtitle: string; metricLabel: string; metricValue: string; buttonText: string; onButtonClick?: () => void; } export default function EarnOpportunityCard({ pointsLabel, title, subtitle, metricLabel, metricValue, buttonText, onButtonClick, }: EarnOpportunityCardProps) { return (
{/* Top Section - Logo and Points Badge */}
{/* Logo */}
LOGO
{/* Points Badge */}
{pointsLabel}
{/* Middle Section - Title and Subtitle */}

{title}

{subtitle}

{/* Bottom Section - Metric and Button */}
{/* Metric */}
{metricLabel} {metricValue}
{/* Button */} {buttonText}
); }