Skip to content

Commit

Permalink
Merge pull request #95 from innogeeks/test
Browse files Browse the repository at this point in the history
Test
  • Loading branch information
AdityyaX authored Apr 15, 2024
2 parents 5da747e + 0970b4d commit 66ab584
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 0 deletions.
29 changes: 29 additions & 0 deletions src/Module/General.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [{
Expand Down Expand Up @@ -553,4 +581,5 @@ export {
merchandiseSponsor,
hiringSponsor,
hostingPartner
, MentorInfo
};
27 changes: 27 additions & 0 deletions src/containers/Home/HomePage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down Expand Up @@ -76,6 +77,20 @@ const TeamMembers = (props, index) => {
);
};

const MentorMembers = (props, index) => {
useEffect(() => {
Aos.init({ duration: 400 });
}, []);
return (
<Row key={index} className="members">
{props.map((s, i) => (
<Col data-aos="fade-up" key={i} className="" sm={12} lg={4} md={4}>
<Member info={s}/>
</Col>
))}
</Row>
);
};
const FrequentlyAsked = (props, index) => {
return (
<Row key={index} className="sf">
Expand Down Expand Up @@ -599,6 +614,18 @@ export default function HomePage() {
{TeamInfo.map(TeamMembers)}
{/* Judges End */}


<div id="judges">
<h1
className="title_community"
data-aos="zoom-in"
data-aos-anchor-placement="top-bottom"
>
Mentors
</h1>
</div>
{MentorInfo.map(MentorMembers)}
{/* Judges End */}
{/* Community partners */}
<Row>
<CommunityPartner />
Expand Down

0 comments on commit 66ab584

Please sign in to comment.