"use client"; import type { LucideIcon } from "lucide-react"; import { Building2, Megaphone, Smartphone, Tv } from "lucide-react"; import { useTranslations } from "next-intl"; import { SectionReveal } from "@/components/sections/SectionReveal"; const USE_CASE_ICONS: LucideIcon[] = [Tv, Smartphone, Megaphone, Building2]; export function VideoMakerUseCases() { const t = useTranslations("videoMaker"); const useCases = USE_CASE_ICONS.map((Icon, i) => ({ Icon, title: t(`useCase${i}Title` as Parameters[0]), description: t(`useCase${i}Desc` as Parameters[0]), })); return (

{t("useCasesHeading")}

{t("useCasesSub")}

{useCases.map(({ Icon, title, description }) => (

{title}

{description}

))}
); }