From a9f322b998c313c7d5a422625f44e8c541112bf9 Mon Sep 17 00:00:00 2001 From: Krish Agarwal Date: Wed, 13 Aug 2025 19:18:51 +0530 Subject: [PATCH] Commiting changes --- src/components/Sponsor.jsx | 24 ++++++-- src/components/Team.jsx | 12 ++-- src/config/teammate.js | 2 +- src/pages/team/TeamPage.jsx | 107 ++++++++++++++++++++++-------------- 4 files changed, 94 insertions(+), 51 deletions(-) diff --git a/src/components/Sponsor.jsx b/src/components/Sponsor.jsx index 158bc31..133b1e4 100644 --- a/src/components/Sponsor.jsx +++ b/src/components/Sponsor.jsx @@ -82,7 +82,8 @@ const SponsorsSection = () => { return (
-
+ {/* CENTERED TITLE SECTION */} +

Our Sponsors and Partners

@@ -114,14 +115,22 @@ const SponsorsSection = () => { href={sponsor.link} target="_blank" rel="noopener noreferrer" - className="flex-shrink-0 px-2" + className="flex-shrink-0 px-2 sponsor-item" style={{ width: `${100 / itemsToShow}%` }} > -
+
{sponsor.name}
@@ -136,6 +145,13 @@ const SponsorsSection = () => {
+ +
); }; diff --git a/src/components/Team.jsx b/src/components/Team.jsx index f1e8652..4536ec2 100644 --- a/src/components/Team.jsx +++ b/src/components/Team.jsx @@ -69,7 +69,9 @@ const TeamSlider = () => {

Our team

-

+

+ Meet Our Amazing Team Members +

-
+
{ {`${teamMember.name}
@@ -157,7 +159,7 @@ const TeamSlider = () => { ))}
+
{activeTeam === "Team Bluestreak" && ( -

+

Bluestreak, a team within ASME at NIT Rourkela, is a dedicated team focused on research, analysis, and innovation. They specialize in designing human-powered vehicles from scratch, incorporating @@ -54,7 +56,7 @@ const TeamPage = () => {

)} {activeTeam === "Team Bluebird" && ( -

+

Bluebird, a team from ASME NIT Rourkela, specializes in CAD modeling and coding for virtual competitions. Their expertise extends to designing vehicles for diverse challenges, including autonomous @@ -66,56 +68,79 @@ const TeamPage = () => {

)} {activeTeam === "Team Blueprint" && ( -

+

Team Blueprint, a team of ASME NIT Rourkela, engages in research, innovation, and design. They utilize CAD software to create diverse models, subsequently manufacturing them through 3D printing - technology . The team actively participates in the IAM3D competition + technology. The team actively participates in the IAM3D competition as part of ASME Efest, showcasing their skills and expertise in engineering and design within the ASME community

)}
-
- {filteredMembers.map((member, index) => ( -
-
- {member.name} -
-
-

- {member.name || "Full name"} -

-

{member.title || ""}

-

{member.team || ""}

-
- - - - - - +
+ {filteredMembers.length > 0 ? ( +
+ {filteredMembers.map((member, index) => ( +
+
+ {member.name} +
+ +
+

+ {member.name || "Full name"} +

+

{member.title || ""}

+

{member.team || ""}

+ +
+ ))} +
+ ) : ( +
+
+
👥
+

+ No team members found +

+

+ There are currently no members in the {activeTeam} team. + {activeTeam !== "All" && + " Try selecting a different team or check back later."} +

- ))} + )}
);