import { Gamepad2, Tv, Briefcase, Download, Globe } from "lucide-react"; import { useScrollAnimation } from "@/hooks/useScrollAnimation"; import { useI18n } from "@/i18n/context"; import type { TranslationKeys } from "@/i18n/translations"; const cases: { icon: typeof Gamepad2; titleKey: TranslationKeys; descKey: TranslationKeys }[] = [ { icon: Gamepad2, titleKey: "case_gaming", descKey: "case_gaming_desc" }, { icon: Tv, titleKey: "case_streaming", descKey: "case_streaming_desc" }, { icon: Briefcase, titleKey: "case_work", descKey: "case_work_desc" }, { icon: Download, titleKey: "case_downloads", descKey: "case_downloads_desc" }, { icon: Globe, titleKey: "case_browsing", descKey: "case_browsing_desc" }, ]; export function UseCasesSection() { const { ref, isVisible } = useScrollAnimation(); const { t } = useI18n(); return (

{t("cases_title_1")} {t("cases_title_2")}

{cases.map((c, i) => (
{t(c.titleKey)} {t(c.descKey)}
))}
); }