From a64495b7c93627b9c01db895d30a956e5433fba4 Mon Sep 17 00:00:00 2001 From: Aditya Pachauri <103623274+AdityyaX@users.noreply.github.com> Date: Mon, 15 Apr 2024 16:54:21 +0530 Subject: [PATCH] mentor section added --- src/Module/General.tsx | 29 +++++++++++++++++++++++++++++ src/containers/Home/HomePage.jsx | 27 +++++++++++++++++++++++++++ 2 files changed, 56 insertions(+) diff --git a/src/Module/General.tsx b/src/Module/General.tsx index 9b5f105..2f04423 100644 --- a/src/Module/General.tsx +++ b/src/Module/General.tsx @@ -402,6 +402,34 @@ const TeamInfo = [ ], ]; + +const MentorInfo = [ + [ + //Array 1 + { + Name: "Nikhhiil Gehlot ", + role: "", + github: "", + linkedin: "", + img: "https://s3.ap-south-1.amazonaws.com/innohacks3.0/nikhilgehlot.jpeg", + }, + { + Name: "Akhil Gupta", + role: " ", + github: "", + linkedin: "https://www.linkedin.com/in/akhil-gupta-2810", + img: "https://s3.ap-south-1.amazonaws.com/innohacks3.0/akhilgupta.jpeg", + }, + { + Name: " Yuvraj Kachhawaha", + role: "", + github: "", + linkedin: "https://www.linkedin.com/in/yuvraj23aiwarex80/overlay/photo/", + img: "https://s3.ap-south-1.amazonaws.com/innohacks3.0/yuvrajkachhwa.jpeg", + }, + ], +]; + const titleSponsor = [{ src: twentyone }]; const associateSponsor = [{ src: "https://www.algoprep.in/img/logo_1.png"}]; const hostingPartner = [{ @@ -553,4 +581,5 @@ export { merchandiseSponsor, hiringSponsor, hostingPartner + , MentorInfo }; diff --git a/src/containers/Home/HomePage.jsx b/src/containers/Home/HomePage.jsx index 6ea2af4..fa2d56d 100644 --- a/src/containers/Home/HomePage.jsx +++ b/src/containers/Home/HomePage.jsx @@ -38,6 +38,7 @@ import { hiringSponsor, hostingPartner, TeamInfo, + MentorInfo } from "../../Module/General"; // import PastWinner from "components/pastWinners/index.jsx"; import Map from "components/map/index.jsx"; @@ -76,6 +77,20 @@ const TeamMembers = (props, index) => { ); }; +const MentorMembers = (props, index) => { + useEffect(() => { + Aos.init({ duration: 400 }); + }, []); + return ( + + {props.map((s, i) => ( + + + + ))} + + ); +}; const FrequentlyAsked = (props, index) => { return ( @@ -599,6 +614,18 @@ export default function HomePage() { {TeamInfo.map(TeamMembers)} {/* Judges End */} + +
+

+ Mentors +

+
+ {MentorInfo.map(MentorMembers)} + {/* Judges End */} {/* Community partners */}