From 7c9e2f55e3c9c956ecc267801f2c4ae4e96f6564 Mon Sep 17 00:00:00 2001 From: Mohammad Jebeli Date: Sun, 31 May 2026 20:20:59 +0330 Subject: [PATCH] fix: serve images and hero video locally (Iran geoblock-proof) - Move hero-bg.mp4 to public/ so Vite serves it at /hero-bg.mp4 (was at repo root => 404 in built site, video never loaded) - Download 20 Unsplash images to public/news/ (LFS) and rewrite all 34 refs to same-origin paths (images.unsplash.com blocked in Iran) - Replace 2 globally-dead photo IDs with fitting industrial/tech images --- .gitattributes | 1 + hero-bg.mp4 | 3 --- .../news/photo-1451187580459-43490279c0fa.jpg | 3 +++ .../news/photo-1466611653911-95081537e5b7.jpg | 3 +++ .../news/photo-1473341304170-971dccb5ac1e.jpg | 3 +++ .../news/photo-1485827404703-89b55fcc595e.jpg | 3 +++ .../news/photo-1494412519320-aa613dfb7738.jpg | 3 +++ .../news/photo-1504307651254-35680f356dfd.jpg | 3 +++ .../news/photo-1504328345606-18bbc8c9d7d1.jpg | 3 +++ .../news/photo-1518770660439-4636190af475.jpg | 3 +++ .../news/photo-1540575467063-178a50c2df87.jpg | 3 +++ public/news/photo-1551288049-bebda4e38f71.jpg | 3 +++ public/news/photo-1558618666-fcd25c85cd64.jpg | 3 +++ .../news/photo-1566873535350-6586b0b7a1f2.jpg | 3 +++ .../news/photo-1567789884554-0b844b597180.jpg | 3 +++ .../news/photo-1570168007204-dfb528c6958f.jpg | 3 +++ .../news/photo-1578662996442-48f60103fc96.jpg | 3 +++ .../news/photo-1581092160607-ee22731c9b4e.jpg | 3 +++ .../news/photo-1587293852726-70cdb56c2866.jpg | 3 +++ .../news/photo-1611273426858-450d8e3c9fce.jpg | 3 +++ .../news/photo-1611974789855-9c2a0a7236a3.jpg | 3 +++ .../news/photo-1613665813446-82a78c468a1d.jpg | 3 +++ .../Home/sections/FactoryNewsletterLayout.tsx | 16 ++++++------- .../Home/sections/InternalNewsSection.tsx | 8 +++---- src/pages/Home/sections/RadarTechSection.tsx | 24 +++++++++---------- .../Home/sections/ReportsCarouselSection.tsx | 20 ++++++++-------- 26 files changed, 95 insertions(+), 37 deletions(-) delete mode 100644 hero-bg.mp4 create mode 100644 public/news/photo-1451187580459-43490279c0fa.jpg create mode 100644 public/news/photo-1466611653911-95081537e5b7.jpg create mode 100644 public/news/photo-1473341304170-971dccb5ac1e.jpg create mode 100644 public/news/photo-1485827404703-89b55fcc595e.jpg create mode 100644 public/news/photo-1494412519320-aa613dfb7738.jpg create mode 100644 public/news/photo-1504307651254-35680f356dfd.jpg create mode 100644 public/news/photo-1504328345606-18bbc8c9d7d1.jpg create mode 100644 public/news/photo-1518770660439-4636190af475.jpg create mode 100644 public/news/photo-1540575467063-178a50c2df87.jpg create mode 100644 public/news/photo-1551288049-bebda4e38f71.jpg create mode 100644 public/news/photo-1558618666-fcd25c85cd64.jpg create mode 100644 public/news/photo-1566873535350-6586b0b7a1f2.jpg create mode 100644 public/news/photo-1567789884554-0b844b597180.jpg create mode 100644 public/news/photo-1570168007204-dfb528c6958f.jpg create mode 100644 public/news/photo-1578662996442-48f60103fc96.jpg create mode 100644 public/news/photo-1581092160607-ee22731c9b4e.jpg create mode 100644 public/news/photo-1587293852726-70cdb56c2866.jpg create mode 100644 public/news/photo-1611273426858-450d8e3c9fce.jpg create mode 100644 public/news/photo-1611974789855-9c2a0a7236a3.jpg create mode 100644 public/news/photo-1613665813446-82a78c468a1d.jpg diff --git a/.gitattributes b/.gitattributes index 5929f6b..ea6aafd 100644 --- a/.gitattributes +++ b/.gitattributes @@ -13,3 +13,4 @@ public/7.jpg filter=lfs diff=lfs merge=lfs -text public/8.jpg filter=lfs diff=lfs merge=lfs -text public/9.jpg filter=lfs diff=lfs merge=lfs -text public/موکاپ-1.jpg filter=lfs diff=lfs merge=lfs -text +public/news/*.jpg filter=lfs diff=lfs merge=lfs -text diff --git a/hero-bg.mp4 b/hero-bg.mp4 deleted file mode 100644 index 622b6d3..0000000 --- a/hero-bg.mp4 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2bdc556fcfd4cb7885eacb42ae86ead654c893dab6fdabb523b2514f2bac43d4 -size 10328238 diff --git a/public/news/photo-1451187580459-43490279c0fa.jpg b/public/news/photo-1451187580459-43490279c0fa.jpg new file mode 100644 index 0000000..e6a41d4 --- /dev/null +++ b/public/news/photo-1451187580459-43490279c0fa.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f90574488f91cda754c563dd0d15638467684fa639eb07456754093d5a713e4b +size 120405 diff --git a/public/news/photo-1466611653911-95081537e5b7.jpg b/public/news/photo-1466611653911-95081537e5b7.jpg new file mode 100644 index 0000000..c59b667 --- /dev/null +++ b/public/news/photo-1466611653911-95081537e5b7.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8476574d1c9db38619e07ee0fca254e27236cd8c1f17ea49049abb826f5aa720 +size 146514 diff --git a/public/news/photo-1473341304170-971dccb5ac1e.jpg b/public/news/photo-1473341304170-971dccb5ac1e.jpg new file mode 100644 index 0000000..1ef06c5 --- /dev/null +++ b/public/news/photo-1473341304170-971dccb5ac1e.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cae060cc01812aa2d8a43f483a0d28ad1e5ab45cef566b28c989ef0dad0d8ebc +size 91099 diff --git a/public/news/photo-1485827404703-89b55fcc595e.jpg b/public/news/photo-1485827404703-89b55fcc595e.jpg new file mode 100644 index 0000000..d0edec3 --- /dev/null +++ b/public/news/photo-1485827404703-89b55fcc595e.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f7b431dacfc2e3322286eac990b187bd031079e0cd3330d88c6293027a71ed04 +size 86208 diff --git a/public/news/photo-1494412519320-aa613dfb7738.jpg b/public/news/photo-1494412519320-aa613dfb7738.jpg new file mode 100644 index 0000000..e6df3ee --- /dev/null +++ b/public/news/photo-1494412519320-aa613dfb7738.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:37e602c1aa432581ff38fc5653527fa1a8587b5910d915a75ccced8e988c5506 +size 354093 diff --git a/public/news/photo-1504307651254-35680f356dfd.jpg b/public/news/photo-1504307651254-35680f356dfd.jpg new file mode 100644 index 0000000..0678474 --- /dev/null +++ b/public/news/photo-1504307651254-35680f356dfd.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4929e6298bdd4e2d3e1ef2ad83e1bf7308f8124b0a5426938a76d9be8fa94dfa +size 283202 diff --git a/public/news/photo-1504328345606-18bbc8c9d7d1.jpg b/public/news/photo-1504328345606-18bbc8c9d7d1.jpg new file mode 100644 index 0000000..6dbbe19 --- /dev/null +++ b/public/news/photo-1504328345606-18bbc8c9d7d1.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d551760cc2f8157185c3b396768fcd69c7e540c773e12227d9f472456137f260 +size 147507 diff --git a/public/news/photo-1518770660439-4636190af475.jpg b/public/news/photo-1518770660439-4636190af475.jpg new file mode 100644 index 0000000..8239fb1 --- /dev/null +++ b/public/news/photo-1518770660439-4636190af475.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:87be94726e557188bee0901691eed7b395dadd72803cc25ff6b72bd9f5483179 +size 163803 diff --git a/public/news/photo-1540575467063-178a50c2df87.jpg b/public/news/photo-1540575467063-178a50c2df87.jpg new file mode 100644 index 0000000..02692f9 --- /dev/null +++ b/public/news/photo-1540575467063-178a50c2df87.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4d8fe3434cf3f83341a04a8d8113caf7593114d212a6530ea75acef9035dda37 +size 95868 diff --git a/public/news/photo-1551288049-bebda4e38f71.jpg b/public/news/photo-1551288049-bebda4e38f71.jpg new file mode 100644 index 0000000..51d9788 --- /dev/null +++ b/public/news/photo-1551288049-bebda4e38f71.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f96e460cd7bdf82317739647f551e5fed4416d0ebdc20dbf3f1fba91b9f1c6d8 +size 116517 diff --git a/public/news/photo-1558618666-fcd25c85cd64.jpg b/public/news/photo-1558618666-fcd25c85cd64.jpg new file mode 100644 index 0000000..06e9f92 --- /dev/null +++ b/public/news/photo-1558618666-fcd25c85cd64.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c1d3c226943f0b7ae6a6fc9798f7fe741fc56a82eba98b1549508942b4a2f71d +size 104144 diff --git a/public/news/photo-1566873535350-6586b0b7a1f2.jpg b/public/news/photo-1566873535350-6586b0b7a1f2.jpg new file mode 100644 index 0000000..f666a41 --- /dev/null +++ b/public/news/photo-1566873535350-6586b0b7a1f2.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:62b2db4eafd96638f3394bb13ebf8a9d91e663f7ca1bc0b0c6873a0332b50b39 +size 179483 diff --git a/public/news/photo-1567789884554-0b844b597180.jpg b/public/news/photo-1567789884554-0b844b597180.jpg new file mode 100644 index 0000000..9636633 --- /dev/null +++ b/public/news/photo-1567789884554-0b844b597180.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5ddeef606cc335b1713f9a3a44e3a14316d6a3b34a36a2ed8d0e3a7746b3c6d0 +size 219108 diff --git a/public/news/photo-1570168007204-dfb528c6958f.jpg b/public/news/photo-1570168007204-dfb528c6958f.jpg new file mode 100644 index 0000000..a02bd53 --- /dev/null +++ b/public/news/photo-1570168007204-dfb528c6958f.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:976f5ec9759159c0a5d338bb30bf85bd9cdf89de786c38884624e99d0c445661 +size 409270 diff --git a/public/news/photo-1578662996442-48f60103fc96.jpg b/public/news/photo-1578662996442-48f60103fc96.jpg new file mode 100644 index 0000000..c4fd3d5 --- /dev/null +++ b/public/news/photo-1578662996442-48f60103fc96.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:81180f6b4a0164105adcd6893a391338ab8cc95bca32c553d188c0a8a6c1402c +size 80044 diff --git a/public/news/photo-1581092160607-ee22731c9b4e.jpg b/public/news/photo-1581092160607-ee22731c9b4e.jpg new file mode 100644 index 0000000..26d8a1e --- /dev/null +++ b/public/news/photo-1581092160607-ee22731c9b4e.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2406a104bbda843148171b7ff7df71cb45ccab727f15743c1854dffbc12f017b +size 86613 diff --git a/public/news/photo-1587293852726-70cdb56c2866.jpg b/public/news/photo-1587293852726-70cdb56c2866.jpg new file mode 100644 index 0000000..956513a --- /dev/null +++ b/public/news/photo-1587293852726-70cdb56c2866.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:34c8feb1d66a4be65befa9e4c08b308207ba5ef196d81b77f1e4554fa24f99b1 +size 205693 diff --git a/public/news/photo-1611273426858-450d8e3c9fce.jpg b/public/news/photo-1611273426858-450d8e3c9fce.jpg new file mode 100644 index 0000000..3dbd167 --- /dev/null +++ b/public/news/photo-1611273426858-450d8e3c9fce.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1c6df31be35d86d696ddc2556b49de57646e9bca9bf71cb6766cf554b1ca3cb1 +size 116132 diff --git a/public/news/photo-1611974789855-9c2a0a7236a3.jpg b/public/news/photo-1611974789855-9c2a0a7236a3.jpg new file mode 100644 index 0000000..d2ecfcd --- /dev/null +++ b/public/news/photo-1611974789855-9c2a0a7236a3.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0b6d5d170a59431b65ccfd630fc630670b647c0d14d359e4192e05f08bc510f0 +size 74015 diff --git a/public/news/photo-1613665813446-82a78c468a1d.jpg b/public/news/photo-1613665813446-82a78c468a1d.jpg new file mode 100644 index 0000000..e72b82d --- /dev/null +++ b/public/news/photo-1613665813446-82a78c468a1d.jpg @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e14705fc7ad1eb7af98c569e30f20f6769810bc66de9ab143be84049ae925309 +size 157355 diff --git a/src/pages/Home/sections/FactoryNewsletterLayout.tsx b/src/pages/Home/sections/FactoryNewsletterLayout.tsx index cbb6a6b..3d32d39 100644 --- a/src/pages/Home/sections/FactoryNewsletterLayout.tsx +++ b/src/pages/Home/sections/FactoryNewsletterLayout.tsx @@ -7,25 +7,25 @@ const REPORTS = { title: 'تحلیل عملکرد تولید و صادرات — بهمن ۱۴۰۳', desc: 'بررسی آمار تولید ماهانه، مقایسه با بودجه سالانه و تحلیل روند صادرات فولاد تخت در بازارهای منطقه‌ای', date: 'بهمن ۱۴۰۳', - img: 'https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=600&q=80', + img: '/news/photo-1504307651254-35680f356dfd.jpg', }, { title: 'وضعیت بازار و قیمت‌گذاری — دی ۱۴۰۳', desc: 'تحلیل نوسانات قیمت فولاد تخت در بازار داخلی، بررسی اثر نرخ ارز و چشم‌انداز بازار در فصل زمستان', date: 'دی ۱۴۰۳', - img: 'https://images.unsplash.com/photo-1587293852726-70cdb56c2866?w=600&q=80', + img: '/news/photo-1587293852726-70cdb56c2866.jpg', }, { title: 'گزارش پایداری و محیط زیست — آذر ۱۴۰۳', desc: 'شاخص‌های زیست‌محیطی ماهانه؛ مصرف انرژی، کاهش انتشار کربن و عملکرد سیستم بازیافت پساب صنعتی', date: 'آذر ۱۴۰۳', - img: 'https://images.unsplash.com/photo-1473341304170-971dccb5ac1e?w=600&q=80', + img: '/news/photo-1473341304170-971dccb5ac1e.jpg', }, { title: 'تحلیل نیروی انسانی و بهره‌وری — آبان ۱۴۰۳', desc: 'بررسی شاخص‌های بهره‌وری نیروی کار، آموزش‌های ماهانه و آمار ایمنی شغلی', date: 'آبان ۱۴۰۳', - img: 'https://images.unsplash.com/photo-1581092160607-ee22731c9b4e?w=600&q=80', + img: '/news/photo-1581092160607-ee22731c9b4e.jpg', }, ], en: [ @@ -33,25 +33,25 @@ const REPORTS = { title: 'Production & Export Performance — Feb 2025', desc: 'Monthly production figures, annual budget comparison, and flat steel export trend analysis across regional markets.', date: 'Feb 2025', - img: 'https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=600&q=80', + img: '/news/photo-1504307651254-35680f356dfd.jpg', }, { title: 'Market Conditions & Pricing — Jan 2025', desc: 'Flat steel price fluctuations in the domestic market, exchange rate impact analysis, and winter market outlook.', date: 'Jan 2025', - img: 'https://images.unsplash.com/photo-1587293852726-70cdb56c2866?w=600&q=80', + img: '/news/photo-1587293852726-70cdb56c2866.jpg', }, { title: 'Sustainability & Environment Report — Dec 2024', desc: 'Monthly environmental KPIs: energy consumption, carbon emission reductions, and industrial wastewater recycling performance.', date: 'Dec 2024', - img: 'https://images.unsplash.com/photo-1473341304170-971dccb5ac1e?w=600&q=80', + img: '/news/photo-1473341304170-971dccb5ac1e.jpg', }, { title: 'Workforce & Productivity Analysis — Nov 2024', desc: 'Workforce productivity indicators, monthly training hours, and occupational safety statistics.', date: 'Nov 2024', - img: 'https://images.unsplash.com/photo-1581092160607-ee22731c9b4e?w=600&q=80', + img: '/news/photo-1581092160607-ee22731c9b4e.jpg', }, ], } diff --git a/src/pages/Home/sections/InternalNewsSection.tsx b/src/pages/Home/sections/InternalNewsSection.tsx index 37429b7..c1a1e08 100644 --- a/src/pages/Home/sections/InternalNewsSection.tsx +++ b/src/pages/Home/sections/InternalNewsSection.tsx @@ -19,7 +19,7 @@ const NEWS: NewsItem[] = [ desc: 'مدیرعامل صندوق سرمایه‌گذاری خطرپذیر فولاد مبارکه: این گروه باید به پیشران نوآوری پایدار در صنعت فولاد کشور و منطقه تبدیل شود.', descEn: 'The CEO of Mobarakeh Steel Venture Fund: this group must become the driver of sustainable innovation in the country and region\'s steel industry.', source: 'MSTID', accent: '#c0392b', - img: 'https://images.unsplash.com/photo-1504307651254-35680f356dfd?w=1200&q=80', + img: '/news/photo-1504307651254-35680f356dfd.jpg', date: '۱۴ اردیبهشت ۱۴۰۴', dateEn: 'May 4, 2025', featured: true, }, @@ -30,7 +30,7 @@ const NEWS: NewsItem[] = [ desc: 'گزارشی از مسیر پنج‌ساله بومی‌سازی قطعات حیاتی در فولاد مبارکه.', descEn: 'A report on the five-year path of localizing critical components at Mobarakeh Steel.', source: 'MSTID', accent: '#2471a3', - img: 'https://images.unsplash.com/photo-1581092160607-ee22731c9b4e?w=800&q=80', + img: '/news/photo-1581092160607-ee22731c9b4e.jpg', date: '۱۰ اردیبهشت ۱۴۰۴', dateEn: 'Apr 30, 2025', }, { @@ -38,7 +38,7 @@ const NEWS: NewsItem[] = [ title: 'حمایت معاون علمی رئیس‌جمهور از تکمیل «پارک تخصصی فناوری و نوآوری فولاد»', titleEn: 'Presidential Science Advisor Backs Completion of Steel Technology & Innovation Park', source: 'MSTID', accent: '#1e8449', - img: 'https://images.unsplash.com/photo-1518770660439-4636190af475?w=800&q=80', + img: '/news/photo-1518770660439-4636190af475.jpg', date: '۸ اردیبهشت ۱۴۰۴', dateEn: 'Apr 28, 2025', }, { @@ -48,7 +48,7 @@ const NEWS: NewsItem[] = [ desc: 'اتحاد MSTID و شرکت صناپ فولاد برای انرژی پاک.', descEn: 'MSTID and Sanap Foolad alliance for clean energy.', source: 'MSTID', accent: '#b7770d', - img: 'https://images.unsplash.com/photo-1540575467063-178a50c2df87?w=800&q=80', + img: '/news/photo-1540575467063-178a50c2df87.jpg', date: '۵ اردیبهشت ۱۴۰۴', dateEn: 'Apr 25, 2025', }, ] diff --git a/src/pages/Home/sections/RadarTechSection.tsx b/src/pages/Home/sections/RadarTechSection.tsx index 04217b4..afe856a 100644 --- a/src/pages/Home/sections/RadarTechSection.tsx +++ b/src/pages/Home/sections/RadarTechSection.tsx @@ -8,21 +8,21 @@ const SIGNALS = { tag: 'چین', level: 'critical', levelLabel: 'بحرانی', title: 'صادرات فولاد چین به بالاترین رکورد ۸ ساله رسید', desc: 'در بهمن ۱۴۰۳ صادرات فولاد چین به ۱۰.۷ میلیون تن رسید — بالاترین رقم از ۲۰۱۶ — که فشار قیمتی شدیدی بر بازارهای منطقه‌ای از جمله ایران وارد کرد.', - date: 'بهمن ۱۴۰۳', img: 'https://images.unsplash.com/photo-1611273426858-450d8e3c9fce?w=800&q=80', + date: 'بهمن ۱۴۰۳', img: '/news/photo-1611273426858-450d8e3c9fce.jpg', accentColor: '#7f1d1d', levelColor: '#7f1d1d', }, { tag: 'اروپا', level: 'high', levelLabel: 'بالا', title: 'CBAM اروپا از فروردین ۱۴۰۴ اجرایی می‌شود', desc: 'مکانیزم تعدیل مرزی کربن اتحادیه اروپا برای فولاد اجرایی شد. صادرکنندگان ایرانی باید الزامات جدید گزارش‌دهی کربن را رعایت کنند.', - date: 'دی ۱۴۰۳', img: 'https://images.unsplash.com/photo-1473341304170-971dccb5ac1e?w=800&q=80', + date: 'دی ۱۴۰۳', img: '/news/photo-1473341304170-971dccb5ac1e.jpg', accentColor: '#dc2626', levelColor: '#dc2626', }, { tag: 'هند', level: 'medium', levelLabel: 'متوسط', title: 'هند ظرفیت تولید فولاد خود را تا ۲۰۳۰ دو برابر می‌کند', desc: 'با سرمایه‌گذاری ۱۴۲ میلیارد دلاری دولت هند، این کشور تا ۲۰۳۰ به ظرفیت ۳۰۰ میلیون تن می‌رسد و رقیب جدی ایران در بازارهای صادراتی می‌شود.', - date: 'آذر ۱۴۰۳', img: 'https://images.unsplash.com/photo-1566873535350-6586b0b7a1f2?w=800&q=80', + date: 'آذر ۱۴۰۳', img: '/news/photo-1566873535350-6586b0b7a1f2.jpg', accentColor: '#b45309', levelColor: '#b45309', }, ], @@ -31,21 +31,21 @@ const SIGNALS = { 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', + date: 'Feb 2025', img: '/news/photo-1611273426858-450d8e3c9fce.jpg', 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', + date: 'Jan 2025', img: '/news/photo-1473341304170-971dccb5ac1e.jpg', 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', + date: 'Dec 2024', img: '/news/photo-1566873535350-6586b0b7a1f2.jpg', accentColor: '#b45309', levelColor: '#b45309', }, ], @@ -58,21 +58,21 @@ const TECHS = { num: '۰۱', tag: 'انرژی پاک', title: 'فولاد هیدروژنی (DRI-H₂)', desc: 'جایگزینی کک با هیدروژن سبز در کوره‌های احیای مستقیم؛ اولین کارخانه تجاری اروپایی در ۲۰۲۴ وارد مرحله تولید شد. ظرفیت تولید ۲.۵ میلیون تن در سال.', - img: 'https://images.unsplash.com/photo-1613665813446-82a78c468a1d?w=800&q=80', + img: '/news/photo-1613665813446-82a78c468a1d.jpg', horizon: '۲۰۲۷–۲۰۳۰', accentColor: '#0d6b3e', }, { num: '۰۲', tag: 'هوش مصنوعی', title: 'دیجیتال‌سازی و AI در تولید فولاد', desc: 'یادگیری ماشین در بهینه‌سازی فرآیند ذوب، کنترل کیفیت آنلاین و پیش‌بینی خرابی تجهیزات. کاهش ۱۵–۲۰٪ ضایعات و صرفه‌جویی ۸٪ در مصرف انرژی.', - img: 'https://images.unsplash.com/photo-1485827404703-89b55fcc595e?w=800&q=80', + img: '/news/photo-1485827404703-89b55fcc595e.jpg', horizon: '۲۰۲۵–۲۰۲۸', accentColor: '#1a4a7a', }, { num: '۰۳', tag: 'فناوری نوین', title: 'الکترولیز اکسید مذاب (MOE)', desc: 'تولید فولاد از طریق الکترولیز مستقیم اکسید آهن با برق تجدیدپذیر — بدون انتشار CO₂. MIT این فناوری را «انقلاب صنعتی بعدی» نامیده است.', - img: 'https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=800&q=80', + img: '/news/photo-1451187580459-43490279c0fa.jpg', horizon: '۲۰۳۰–۲۰۳۵', accentColor: '#6b21a8', }, ], @@ -81,21 +81,21 @@ const TECHS = { 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', + img: '/news/photo-1613665813446-82a78c468a1d.jpg', 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', + img: '/news/photo-1485827404703-89b55fcc595e.jpg', 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', + img: '/news/photo-1451187580459-43490279c0fa.jpg', horizon: '2030–2035', accentColor: '#6b21a8', }, ], diff --git a/src/pages/Home/sections/ReportsCarouselSection.tsx b/src/pages/Home/sections/ReportsCarouselSection.tsx index 0a4c093..eb25a7b 100644 --- a/src/pages/Home/sections/ReportsCarouselSection.tsx +++ b/src/pages/Home/sections/ReportsCarouselSection.tsx @@ -7,27 +7,27 @@ import type { Report } from '@/data/reports' /* ─── Per-report images (industrial, steel-relevant) ─ */ const reportImage: Record = { 'iran-steel-global-trade-scenarios-1404': - 'https://images.unsplash.com/photo-1578662996442-48f60103fc96?q=80&w=1600&fit=crop', + '/news/photo-1578662996442-48f60103fc96.jpg', 'steel-energy-consumption-efficiency-1403': - 'https://images.unsplash.com/photo-1473341304170-971dccb5ac1e?q=80&w=1600&fit=crop', + '/news/photo-1473341304170-971dccb5ac1e.jpg', 'global-steel-market-q3-1403': - 'https://images.unsplash.com/photo-1504328345606-18bbc8c9d7d1?q=80&w=1600&fit=crop', + '/news/photo-1504328345606-18bbc8c9d7d1.jpg', 'iran-steel-export-sanctions-impact-1403': - 'https://images.unsplash.com/photo-1494412519320-aa613dfb7738?q=80&w=1600&fit=crop', + '/news/photo-1494412519320-aa613dfb7738.jpg', 'flash-iron-ore-price-surge-1403': - 'https://images.unsplash.com/photo-1611974789855-9c2a0a7236a3?q=80&w=1600&fit=crop', + '/news/photo-1611974789855-9c2a0a7236a3.jpg', 'domestic-production-dri-outlook-1403': - 'https://images.unsplash.com/photo-1567789884554-0b844b597180?q=80&w=1600&fit=crop', + '/news/photo-1567789884554-0b844b597180.jpg', 'esg-carbon-emissions-steel-iran-1403': - 'https://images.unsplash.com/photo-1466611653911-95081537e5b7?q=80&w=1600&fit=crop', + '/news/photo-1466611653911-95081537e5b7.jpg', 'policy-steel-pricing-reform-1403': - 'https://images.unsplash.com/photo-1551288049-bebda4e38f71?q=80&w=1600&fit=crop', + '/news/photo-1551288049-bebda4e38f71.jpg', 'flash-china-steel-overcapacity-1403': - 'https://images.unsplash.com/photo-1570168007204-dfb528c6958f?q=80&w=1600&fit=crop', + '/news/photo-1570168007204-dfb528c6958f.jpg', } const fallbackImage = - 'https://images.unsplash.com/photo-1558618666-fcd25c85cd64?q=80&w=1600&fit=crop' + '/news/photo-1558618666-fcd25c85cd64.jpg' const typeLabel: Record = { quarterly: 'گزارش فصلی',