import { useTranslation } from "react-i18next" import { Card, CardContent } from "@/components/ui/card" import { RevealCard } from "@/components/reveal-card" import { useCountUp } from "@/hooks/use-animate" import type { WrapUpReport } from "@/lib/api/wrapup" export function HeroCard({ report, watchHours }: { report: WrapUpReport; watchHours: number }) { const { t } = useTranslation() const movies = useCountUp(report.total_movies) const hours = useCountUp(watchHours) return (

{t("wrapup.heroSubtitle")}

{movies.value}

{t("wrapup.moviesWatched")}

{watchHours > 0 && (

{t("wrapup.watchHours", { hours: hours.value })}

)}
) }