"use client"; import { Button } from "@heroui/react"; import BorderedButton from "@/components/common/BorderedButton"; import { useApp } from "@/contexts/AppContext"; 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) { const { t } = useApp(); return (
{subtitle}