import { Link } from 'react-router-dom' import { useLang } from '@/context/LangContext' /* ─── Radar data ─────────────────────────────────────── */ const SIGNALS = { fa: [ { tag: 'چین', level: 'critical', levelLabel: 'بحرانی', title: 'صادرات فولاد چین به بالاترین رکورد ۸ ساله رسید', desc: 'در بهمن ۱۴۰۳ صادرات فولاد چین به ۱۰.۷ میلیون تن رسید — بالاترین رقم از ۲۰۱۶ — که فشار قیمتی شدیدی بر بازارهای منطقه‌ای از جمله ایران وارد کرد.', date: 'بهمن ۱۴۰۳', img: 'https://images.unsplash.com/photo-1611273426858-450d8e3c9fce?w=800&q=80', accentColor: '#7f1d1d', levelColor: '#7f1d1d', }, { tag: 'اروپا', level: 'high', levelLabel: 'بالا', title: 'CBAM اروپا از فروردین ۱۴۰۴ اجرایی می‌شود', desc: 'مکانیزم تعدیل مرزی کربن اتحادیه اروپا برای فولاد اجرایی شد. صادرکنندگان ایرانی باید الزامات جدید گزارش‌دهی کربن را رعایت کنند.', date: 'دی ۱۴۰۳', img: 'https://images.unsplash.com/photo-1473341304170-971dccb5ac1e?w=800&q=80', accentColor: '#dc2626', levelColor: '#dc2626', }, { tag: 'هند', level: 'medium', levelLabel: 'متوسط', title: 'هند ظرفیت تولید فولاد خود را تا ۲۰۳۰ دو برابر می‌کند', desc: 'با سرمایه‌گذاری ۱۴۲ میلیارد دلاری دولت هند، این کشور تا ۲۰۳۰ به ظرفیت ۳۰۰ میلیون تن می‌رسد و رقیب جدی ایران در بازارهای صادراتی می‌شود.', date: 'آذر ۱۴۰۳', img: 'https://images.unsplash.com/photo-1566873535350-6586b0b7a1f2?w=800&q=80', accentColor: '#b45309', levelColor: '#b45309', }, ], en: [ { tag: 'China', level: 'critical', levelLabel: 'Critical', title: "China's Steel Exports Hit an 8-Year Record High", desc: "In Feb 2025, China's steel exports reached 10.7 million tons — the highest since 2016 — putting severe price pressure on regional markets including Iran.", date: 'Feb 2025', img: 'https://images.unsplash.com/photo-1611273426858-450d8e3c9fce?w=800&q=80', accentColor: '#7f1d1d', levelColor: '#7f1d1d', }, { tag: 'Europe', level: 'high', levelLabel: 'High', title: "Europe's CBAM Mechanism Takes Effect from Spring 2025", desc: "The EU's Carbon Border Adjustment Mechanism for steel is now in force. Iranian exporters must comply with new carbon reporting requirements.", date: 'Jan 2025', img: 'https://images.unsplash.com/photo-1473341304170-971dccb5ac1e?w=800&q=80', accentColor: '#dc2626', levelColor: '#dc2626', }, { tag: 'India', level: 'medium', levelLabel: 'Medium', title: 'India to Double Steel Production Capacity by 2030', desc: 'With a $142 billion government investment, India targets 300 million tons capacity by 2030, becoming a serious competitor in Iran\'s export markets.', date: 'Dec 2024', img: 'https://images.unsplash.com/photo-1566873535350-6586b0b7a1f2?w=800&q=80', accentColor: '#b45309', levelColor: '#b45309', }, ], } /* ─── Tech data ──────────────────────────────────────── */ const TECHS = { fa: [ { num: '۰۱', tag: 'انرژی پاک', title: 'فولاد هیدروژنی (DRI-H₂)', desc: 'جایگزینی کک با هیدروژن سبز در کوره‌های احیای مستقیم؛ اولین کارخانه تجاری اروپایی در ۲۰۲۴ وارد مرحله تولید شد. ظرفیت تولید ۲.۵ میلیون تن در سال.', img: 'https://images.unsplash.com/photo-1613665813446-82a78c468a1d?w=800&q=80', horizon: '۲۰۲۷–۲۰۳۰', accentColor: '#0d6b3e', }, { num: '۰۲', tag: 'هوش مصنوعی', title: 'دیجیتال‌سازی و AI در تولید فولاد', desc: 'یادگیری ماشین در بهینه‌سازی فرآیند ذوب، کنترل کیفیت آنلاین و پیش‌بینی خرابی تجهیزات. کاهش ۱۵–۲۰٪ ضایعات و صرفه‌جویی ۸٪ در مصرف انرژی.', img: 'https://images.unsplash.com/photo-1485827404703-89b55fcc595e?w=800&q=80', horizon: '۲۰۲۵–۲۰۲۸', accentColor: '#1a4a7a', }, { num: '۰۳', tag: 'فناوری نوین', title: 'الکترولیز اکسید مذاب (MOE)', desc: 'تولید فولاد از طریق الکترولیز مستقیم اکسید آهن با برق تجدیدپذیر — بدون انتشار CO₂. MIT این فناوری را «انقلاب صنعتی بعدی» نامیده است.', img: 'https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=800&q=80', horizon: '۲۰۳۰–۲۰۳۵', accentColor: '#6b21a8', }, ], en: [ { num: '01', tag: 'Clean Energy', title: 'Hydrogen Steel (DRI-H₂)', desc: "Replacing coke with green hydrogen in direct reduction furnaces; Europe's first commercial plant entered production in 2024 with 2.5 million ton annual capacity.", img: 'https://images.unsplash.com/photo-1613665813446-82a78c468a1d?w=800&q=80', horizon: '2027–2030', accentColor: '#0d6b3e', }, { num: '02', tag: 'Artificial Intelligence', title: 'Digitalization & AI in Steel Production', desc: 'Machine learning for smelting optimization, online quality control, and equipment failure prediction. Cuts waste by 15–20% and energy use by 8%.', img: 'https://images.unsplash.com/photo-1485827404703-89b55fcc595e?w=800&q=80', horizon: '2025–2028', accentColor: '#1a4a7a', }, { num: '03', tag: 'Emerging Tech', title: 'Molten Oxide Electrolysis (MOE)', desc: 'Producing steel by direct electrolysis of iron oxide using renewable electricity — zero CO₂ emissions. MIT has called it "the next industrial revolution".', img: 'https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=800&q=80', horizon: '2030–2035', accentColor: '#6b21a8', }, ], } const T = { fa: { radarOverline: 'FUTURE RADAR', radarHeading: 'رادار آینده', radarSub: 'سیگنال‌های جهانی با اثر مستقیم بر صنعت فولاد ایران', radarAll: 'همه سیگنال‌ها ←', techOverline: 'TECH FRONTIER', techHeading: 'مرز فناوری', techSub: 'فناوری‌های نوظهور و افق کاربرد آن‌ها در صنعت فولاد', techAll: 'همه فناوری‌ها ←', horizon: 'افق زمانی', }, en: { radarOverline: 'FUTURE RADAR', radarHeading: 'Future Radar', radarSub: 'Global signals with direct impact on Iran\'s steel industry', radarAll: 'All Signals →', techOverline: 'TECH FRONTIER', techHeading: 'Tech Frontier', techSub: 'Emerging technologies and their application horizon in the steel industry', techAll: 'All Technologies →', horizon: 'Horizon', }, } export default function RadarTechSection() { const { lang } = useLang() const t = T[lang] const signals = SIGNALS[lang] const techs = TECHS[lang] return (
{/* ══ رادار آینده ══ */}
{t.radarOverline}

{t.radarHeading}

{t.radarSub}

{t.radarAll}
{signals.map((s, i) => (
{ (e.currentTarget as HTMLDivElement).style.transform = 'translateY(-4px)'; (e.currentTarget as HTMLDivElement).style.boxShadow = '0 10px 30px rgba(0,0,0,0.12)' }} onMouseLeave={e => { (e.currentTarget as HTMLDivElement).style.transform = 'translateY(0)'; (e.currentTarget as HTMLDivElement).style.boxShadow = '0 2px 12px rgba(0,0,0,0.07)' }} > {/* Image */}
(e.currentTarget.style.transform = 'scale(1.06)')} onMouseLeave={e => (e.currentTarget.style.transform = 'scale(1)')} />
{/* Level badge */}
{s.levelLabel} {s.tag}
{/* Content */}

{s.title}

{s.desc}

{s.date}
))}
{/* divider */}
{/* ══ مرز فناوری ══ */}
{t.techOverline}

{t.techHeading}

{t.techSub}

{t.techAll}
{techs.map((tech, i) => (
{ (e.currentTarget as HTMLDivElement).style.transform = 'translateY(-4px)'; (e.currentTarget as HTMLDivElement).style.boxShadow = '0 10px 30px rgba(0,0,0,0.12)' }} onMouseLeave={e => { (e.currentTarget as HTMLDivElement).style.transform = 'translateY(0)'; (e.currentTarget as HTMLDivElement).style.boxShadow = '0 2px 12px rgba(0,0,0,0.07)' }} > {/* Image */}
(e.currentTarget.style.transform = 'scale(1.06)')} onMouseLeave={e => (e.currentTarget.style.transform = 'scale(1)')} />
{tech.tag}
{tech.num}
{/* Content */}

{tech.title}

{tech.desc}

{t.horizon}: {tech.horizon}
))}
) }