From 11b13a31ae2da4c104b33f6ccc5d1f8a0ea94a83 Mon Sep 17 00:00:00 2001 From: alireza Date: Tue, 25 Aug 2026 15:51:15 +0330 Subject: [PATCH] style: move slider navigation bar below cards to align left and right column heights --- .../pages/Home/sections/TechnogenSection.tsx | 124 +++++++++--------- 1 file changed, 63 insertions(+), 61 deletions(-) diff --git a/frontend/src/pages/Home/sections/TechnogenSection.tsx b/frontend/src/pages/Home/sections/TechnogenSection.tsx index 300cdf2..ef98925 100644 --- a/frontend/src/pages/Home/sections/TechnogenSection.tsx +++ b/frontend/src/pages/Home/sections/TechnogenSection.tsx @@ -343,67 +343,6 @@ export default function TechnogenSection() { }} className="max-lg:!col-span-1" > - {/* Slider Navigation Bar */} - {totalPages > 1 && ( -
-
- {isFa ? 'سایر یادداشت‌های تحلیلی' : 'Analytical Notes'} -
-
- - {isFa ? `${faNum(page + 1)} از ${faNum(totalPages)}` : `${page + 1} of ${totalPages}`} - - - -
-
- )} - {/* Slider Content Frame */}
@@ -558,6 +497,69 @@ export default function TechnogenSection() {
+ + {/* Slider Navigation Bar (Below the cards for perfect top alignment) */} + {totalPages > 1 && ( +
+
+ {isFa ? 'سایر یادداشت‌های تحلیلی' : 'Analytical Notes'} +
+
+ + {isFa ? `${faNum(page + 1)} از ${faNum(totalPages)}` : `${page + 1} of ${totalPages}`} + + + +
+
+ )}