import { Download } from 'lucide-react' import { BentoGrid, BentoGridItem } from '@/components/ui/bento-grid' import { useLang } from '@/context/LangContext' const MSC_URL = 'https://www.msc.ir/fa-IR/Portal/8029/page/%D9%85%D8%A7%D9%87%D9%86%D8%A7%D9%85%D9%87-%D8%AA%D8%AD%D9%84%DB%8C%D9%84%DB%8C-%D8%B1%D8%A7%D9%87%D8%A8%D8%B1%D8%AF%DB%8C-%DA%A9%D8%A7%D8%B1%D8%AE%D8%A7%D9%86%D9%87' type FactoryReport = { publisher: string publisherEn: string title: string titleEn: string description: string descriptionEn: string date: string dateEn: string accentColor: string imgBg: string } const REPORTS: FactoryReport[] = [ { publisher: 'فولاد مبارکه', publisherEn: 'Mobarakeh Steel', title: 'تحلیل عملکرد تولید و صادرات — بهمن ۱۴۰۳', titleEn: 'Production & Export Performance — Feb 2025', description: 'بررسی آمار تولید ماهانه، مقایسه با بودجه سالانه و تحلیل روند صادرات فولاد تخت در بازارهای منطقه‌ای', descriptionEn: 'Monthly production figures, annual budget comparison, and flat steel export trend analysis across regional markets.', date: 'بهمن ۱۴۰۳', dateEn: 'Feb 2025', accentColor: 'var(--red)', imgBg: 'linear-gradient(135deg, rgba(180,20,20,0.13) 0%, rgba(180,20,20,0.04) 100%)', }, { publisher: 'فولاد مبارکه', publisherEn: 'Mobarakeh Steel', title: 'وضعیت بازار و قیمت‌گذاری — دی ۱۴۰۳', titleEn: 'Market Conditions & Pricing — Jan 2025', description: 'تحلیل نوسانات قیمت فولاد تخت در بازار داخلی، بررسی اثر نرخ ارز و چشم‌انداز بازار در فصل زمستان', descriptionEn: 'Flat steel price fluctuations in the domestic market, exchange rate impact analysis, and winter market outlook.', date: 'دی ۱۴۰۳', dateEn: 'Jan 2025', accentColor: 'var(--red)', imgBg: 'linear-gradient(135deg, rgba(180,20,20,0.11) 0%, rgba(180,20,20,0.03) 100%)', }, { publisher: 'فولاد مبارکه', publisherEn: 'Mobarakeh Steel', title: 'گزارش پایداری و محیط زیست — آذر ۱۴۰۳', titleEn: 'Sustainability & Environment Report — Dec 2024', description: 'شاخص‌های زیست‌محیطی ماهانه؛ مصرف انرژی، کاهش انتشار کربن و عملکرد سیستم بازیافت پساب صنعتی', descriptionEn: 'Monthly environmental KPIs: energy consumption, carbon emission reductions, and industrial wastewater recycling performance.', date: 'آذر ۱۴۰۳', dateEn: 'Dec 2024', accentColor: 'var(--red)', imgBg: 'linear-gradient(135deg, rgba(180,20,20,0.09) 0%, rgba(180,20,20,0.03) 100%)', }, { publisher: 'فولاد مبارکه', publisherEn: 'Mobarakeh Steel', title: 'تحلیل نیروی انسانی و بهره‌وری — آبان ۱۴۰۳', titleEn: 'Workforce & Productivity Analysis — Nov 2024', description: 'بررسی شاخص‌های بهره‌وری نیروی کار، آموزش‌های ماهانه و آمار ایمنی شغلی و حوادث محیط کار', descriptionEn: 'Workforce productivity indicators, monthly training hours, occupational safety statistics, and workplace incident rates.', date: 'آبان ۱۴۰۳', dateEn: 'Nov 2024', accentColor: 'var(--red)', imgBg: 'linear-gradient(135deg, rgba(180,20,20,0.13) 0%, rgba(180,20,20,0.04) 100%)', }, { publisher: 'فولاد مبارکه', publisherEn: 'Mobarakeh Steel', title: 'عملکرد مالی و سرمایه‌گذاری — مهر ۱۴۰۳', titleEn: 'Financial Performance & Investment — Oct 2024', description: 'خلاصه عملکرد مالی، پروژه‌های جاری سرمایه‌گذاری و پیشرفت طرح توسعه تا پایان مهرماه ۱۴۰۳', descriptionEn: 'Financial performance summary, active investment projects, and development plan progress through end of October 2024.', date: 'مهر ۱۴۰۳', dateEn: 'Oct 2024', accentColor: 'var(--red)', imgBg: 'linear-gradient(135deg, rgba(180,20,20,0.10) 0%, rgba(180,20,20,0.03) 100%)', }, { publisher: 'فولاد مبارکه', publisherEn: 'Mobarakeh Steel', title: 'فناوری و نوآوری در فرآیند تولید — شهریور ۱۴۰۳', titleEn: 'Technology & Innovation in Production — Sep 2024', description: 'گزارش پیشرفت پروژه‌های دیجیتال‌سازی، بهره‌گیری از هوش مصنوعی در کنترل کیفیت و اتوماسیون خط تولید', descriptionEn: 'Digitalization project progress, AI adoption in quality control, and production line automation milestones.', date: 'شهریور ۱۴۰۳', dateEn: 'Sep 2024', accentColor: 'var(--red)', imgBg: 'linear-gradient(135deg, rgba(180,20,20,0.12) 0%, rgba(180,20,20,0.04) 100%)', }, { publisher: 'فولاد مبارکه', publisherEn: 'Mobarakeh Steel', title: 'زنجیره تأمین و مواد اولیه — مرداد ۱۴۰۳', titleEn: 'Supply Chain & Raw Materials — Aug 2024', description: 'تحلیل وضعیت تأمین سنگ‌آهن، آهن اسفنجی و کُک؛ بررسی ریسک‌های زنجیره تأمین در فصل تابستان', descriptionEn: 'Iron ore, DRI, and coke supply status; supply chain risk assessment for the summer season.', date: 'مرداد ۱۴۰۳', dateEn: 'Aug 2024', accentColor: 'var(--red)', imgBg: 'linear-gradient(135deg, rgba(180,20,20,0.08) 0%, rgba(180,20,20,0.03) 100%)', }, ] const T = { fa: { overline: 'MOBARAKEH STEEL', heading: 'ماهنامه تحلیلی کارخانه', all: 'مشاهده همه', download: 'دریافت گزارش' }, en: { overline: 'MOBARAKEH STEEL', heading: 'Monthly Industry Briefing', all: 'View All', download: 'Download Report' }, } function DownloadCTA({ label }: { label: string }) { return ( {label} ) } function ReportCover({ report, lang }: { report: FactoryReport; lang: 'fa' | 'en' }) { return (
{report.publisherEn.toUpperCase()}
{lang === 'fa' ? report.publisher : report.publisherEn}
) } export default function FactoryBentoSection() { const { lang } = useLang() const t = T[lang] return (
{t.overline}

{t.heading}

{t.all}
{REPORTS.map((report, i) => ( } tag={`${lang === 'fa' ? report.date : report.dateEn} · ${lang === 'fa' ? 'ماهنامه تحلیلی کارخانه' : 'Monthly Factory Analysis'}`} tagColor={report.accentColor} title={lang === 'fa' ? report.title : report.titleEn} description={lang === 'fa' ? report.description : report.descriptionEn} footer={} accentLine className={i === 3 || i === 6 ? 'md:col-span-2' : ''} /> ))}
) }