From dd7fbc2efc32cc86a7f7c8c7c88b6065c7542886 Mon Sep 17 00:00:00 2001 From: alireza Date: Mon, 1 Jun 2026 10:35:57 +0330 Subject: [PATCH] =?UTF-8?q?Responsive=20fixes=20across=20site=20=E2=80=94?= =?UTF-8?q?=20mobile=20padding,=20font=20sizes,=20hero=20text?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- src/app/layout/Footer.tsx | 2 +- src/pages/Archive/Archive.tsx | 2 +- src/pages/Events/Events.tsx | 2 +- src/pages/Home/sections/EventsSection.tsx | 5 +++-- src/pages/Home/sections/HeroSection.tsx | 10 +++++----- src/pages/Home/sections/LatestReportsSection.tsx | 1 + src/pages/Risks/Risks.tsx | 4 ++-- 7 files changed, 14 insertions(+), 12 deletions(-) diff --git a/src/app/layout/Footer.tsx b/src/app/layout/Footer.tsx index c54b71b..ed3e990 100644 --- a/src/app/layout/Footer.tsx +++ b/src/app/layout/Footer.tsx @@ -48,7 +48,7 @@ function NewsletterBox() {
خبرنامه فولاد
-
+
setEmail(e.target.value)} diff --git a/src/pages/Archive/Archive.tsx b/src/pages/Archive/Archive.tsx index e57918f..6449363 100644 --- a/src/pages/Archive/Archive.tsx +++ b/src/pages/Archive/Archive.tsx @@ -203,7 +203,7 @@ export default function Archive() { style={{ maxWidth: 1280, margin: '0 auto', - padding: '64px 48px', + padding: 'clamp(24px,5vw,64px) clamp(16px,4vw,48px)', direction: 'rtl', }} > diff --git a/src/pages/Events/Events.tsx b/src/pages/Events/Events.tsx index b2daab5..2795769 100644 --- a/src/pages/Events/Events.tsx +++ b/src/pages/Events/Events.tsx @@ -99,7 +99,7 @@ export default function Events() { const filtered = activeFilter === 'all' ? events : events.filter(e => e.type === activeFilter) return ( -
+

{t.heading}

diff --git a/src/pages/Home/sections/EventsSection.tsx b/src/pages/Home/sections/EventsSection.tsx index 353608c..e6fac19 100644 --- a/src/pages/Home/sections/EventsSection.tsx +++ b/src/pages/Home/sections/EventsSection.tsx @@ -90,14 +90,15 @@ export default function EventsSection() { {displayed.map((event) => (
{/* Date block */}
-
+
{event.date.toLocaleString('fa-IR')}
diff --git a/src/pages/Home/sections/HeroSection.tsx b/src/pages/Home/sections/HeroSection.tsx index bd253f9..d65a55c 100644 --- a/src/pages/Home/sections/HeroSection.tsx +++ b/src/pages/Home/sections/HeroSection.tsx @@ -90,15 +90,15 @@ export default function HeroSection() { {/* Content block */}
{/* Headline */}

@@ -108,7 +108,7 @@ export default function Risks() {

-
+
{/* Risk Matrix Table */}