From a3caa188af427cb2b63a0c3449383d4162b077f0 Mon Sep 17 00:00:00 2001 From: pradeeptosarkar Date: Sun, 1 Sep 2024 17:54:02 +0530 Subject: [PATCH] achievements page responsiveness issues --- src/Pages/Achievements/Achievements.jsx | 9 +- src/components/AnimatedCard/AnimatedCard.css | 218 +++++++++---------- src/components/AnimatedCard/AnimatedCard.jsx | 22 +- src/constants/achievementConstants.js | 2 +- 4 files changed, 123 insertions(+), 128 deletions(-) diff --git a/src/Pages/Achievements/Achievements.jsx b/src/Pages/Achievements/Achievements.jsx index bd16d8f2..ebb4c7b5 100644 --- a/src/Pages/Achievements/Achievements.jsx +++ b/src/Pages/Achievements/Achievements.jsx @@ -14,13 +14,10 @@ const Achievements = () => { At nameSpace, we take pride in the remarkable accomplishments of our members, who consistently push the boundaries of innovation and excellence. This section celebrates the dedication, hard work, and success of those who have made significant contributions both within our society and beyond. From pioneering projects to winning prestigious awards, our achievers exemplify the true spirit of nameSpace. Explore the milestones and achievements that define our journey and inspire future generations.

-
+
{achievements.map((event, index) => ( -
-
+
+
{/* Adjusting width to make the photo square */} { return ( -
+
{/* Front Side of the Card */}
{/* Image with Glow Effect */} -
+
{img ? ( - {`${title} + {`${title} ) : ( -
+
No Image
)} -
+
{/* Name with Enhanced Typography */} -

{title}

+

{title}

{/* Batch */} -

{date}

+

{date}

{/* Back Side of the Card */} -
+
{/* Achievements with Styling */} -
+
{description.split('|').map((achievement, index) => (

{achievement.trim()} diff --git a/src/constants/achievementConstants.js b/src/constants/achievementConstants.js index 2e15e33b..f669fdff 100644 --- a/src/constants/achievementConstants.js +++ b/src/constants/achievementConstants.js @@ -9,7 +9,7 @@ export const achievements = [ img: "https://media.licdn.com/dms/image/v2/C4D03AQEatv7P9Aso-w/profile-displayphoto-shrink_800_800/profile-displayphoto-shrink_800_800/0/1651746196592?e=1730332800&v=beta&t=_WKkn9_qse81Uauxp3pOBvWAxKF0rfVO-ZWGSaEFHXA", name: "Deepti Mittal", batch: "2020-24", - achievements: "SDE @Xeno", + achievements: "SDE @Xeno | Offered Juspay, Josh Technologies", }, { img: "https://media.licdn.com/dms/image/v2/D5635AQGjh-QoZIKR5w/profile-framedphoto-shrink_400_400/profile-framedphoto-shrink_400_400/0/1703348681758?e=1725631200&v=beta&t=HK7AQEFGQboS-uldiGiWWlpYRevHr8lM4REJ53jUm3s",