From b595699133a0d41ba913de443173d38706015263 Mon Sep 17 00:00:00 2001 From: alireza Date: Tue, 25 Aug 2026 16:09:45 +0330 Subject: [PATCH] feat: remove card labels and add breathing gold border glow animation --- .../pages/Home/sections/TechnogenSection.tsx | 77 +++++++++---------- 1 file changed, 36 insertions(+), 41 deletions(-) diff --git a/frontend/src/pages/Home/sections/TechnogenSection.tsx b/frontend/src/pages/Home/sections/TechnogenSection.tsx index 96e8886..a8d06e0 100644 --- a/frontend/src/pages/Home/sections/TechnogenSection.tsx +++ b/frontend/src/pages/Home/sections/TechnogenSection.tsx @@ -71,6 +71,30 @@ export default function TechnogenSection() { overflow: 'hidden', }} > + {/* Dynamic CSS keyframes for breathing border glow */} + + {/* Ambient background lighting */}
- {/* ── 5-Card Row / Slider Strip (Like Factory Reports) ── */} + {/* ── 5-Card Row / Slider Strip (No Labels, Breathing Border Animation) ── */} - {currentReports.map((report) => { + {currentReports.map((report, idx) => { const isSpecial = !!report.isFeatured return ( - - {/* Top Cover Image */} + {/* Top Cover Image (Clean, No Labels) */}
openPreview(report)} style={{ @@ -250,35 +273,10 @@ export default function TechnogenSection() { height: '100%', objectFit: 'cover', display: 'block', - transition: 'transform 0.3s ease', + transition: 'transform 0.35s ease', }} className="hover:scale-105" /> - - {/* Tag badge overlay */} -
- - {isFa ? (report.tagFa || 'گزارش تکنوژن') : (report.tagEn || 'Technogen Report')} - -
{/* Card Content Body */} @@ -394,11 +392,11 @@ export default function TechnogenSection() { left: 0, width: '100%', height: 3, - backgroundColor: isSpecial ? GOLD : 'rgba(205,158,83,0.3)', + backgroundColor: isSpecial ? GOLD : 'rgba(205,158,83,0.4)', borderRadius: '0 0 20px 20px', }} /> -
+
) })} @@ -469,9 +467,6 @@ export default function TechnogenSection() {
-
- {isFa ? selectedReport.tagFa : (selectedReport.tagEn || selectedReport.tagFa)} -