"use client"; import type { Easing } from "framer-motion"; import { motion } from "framer-motion"; import { Plus } from "lucide-react"; import { cn } from "@/lib/utils"; const easeTransition: Easing = [0.25, 0.1, 0.25, 1]; interface Industry { name: string; description: string; image: string; imageAlt: string; url: string; } interface Industries1Props { title: string; industryLabel: string; industries: Industry[]; className?: string; } const Industries1 = ({ className, title = "صنایع", industryLabel = "نگاه کلی", industries = [ { name: "بهداشت و درمان", description: "راه‌حل‌های پزشکی نوآورانه و بسترهای سلامت دیجیتال برای بهبود نتایج درمان بیماران و ساده‌سازی ارائه خدمات بهداشتی.", image: "/block-media/shadcnblocks/block/placeholder-1.svg", imageAlt: "تصویر فناوری بهداشت و درمان", url: "https://ShadcnBlocks/blocks", }, { name: "فین‌تک", description: "راه‌حل‌های پیشرفته فناوری مالی که بانکداری، پرداخت و مدیریت سرمایه‌گذاری را برای عصر دیجیتال متحول می‌کند.", image: "/block-media/shadcnblocks/block/placeholder-2.svg", imageAlt: "تصویر فناوری مالی", url: "https://ShadcnBlocks/blocks", }, { name: "تجارت الکترونیک", description: "پلتفرم‌های جامع خرده‌فروشی آنلاین و بازارگاه‌ها برای افزایش فروش و ارتقای تجربه مشتری.", image: "/block-media/shadcnblocks/block/placeholder-3.svg", imageAlt: "تصویر پلتفرم تجارت الکترونیک", url: "https://ShadcnBlocks/blocks", }, { name: "آموزش", description: "سامانه‌های نوین مدیریت یادگیری و فناوری آموزشی برای توانمندسازی دانش‌آموزان و مدرسان در سراسر جهان.", image: "/block-media/shadcnblocks/block/placeholder-4.svg", imageAlt: "تصویر فناوری آموزشی", url: "https://ShadcnBlocks/blocks", }, ], }: Industries1Props) => { return (

{title}

{industries.map((industry, index) => ( {/* Default state: Image and heading */}
{industry.imageAlt}

{industry.name}

{/* Black overlay - slides up from bottom */} {/* Hover state: Description */}

{industryLabel}:

{industry.description}

{/* Plus button */}
))}
); }; export { Industries1 };