Commit f94fc42 1 parent 20f850a commit f94fc42 Copy full SHA for f94fc42
File tree 5 files changed +43
-7
lines changed
5 files changed +43
-7
lines changed Original file line number Diff line number Diff line change 1
1
import React from "react" ;
2
2
import "./Team.css" ;
3
3
import { mentordata } from "./util/MentorData" ;
4
+ import { teamdata } from "./util/TeamData" ;
4
5
import TeamCard from "./TeamCard/TeamCard" ;
5
6
6
7
const Team = ( ) => {
Original file line number Diff line number Diff line change 2
2
padding : 30px 0px ;
3
3
}
4
4
5
+ .teamcard-image-container {
6
+ /* width: 320px; */
7
+ height : 320px ;
8
+ }
9
+
10
+ .teamcard-image {
11
+ /* width: 320px; */
12
+ height : 320px ;
13
+ border-radius : 20px 20px 0px 0px ;
14
+ }
5
15
6
16
.teamcard-details {
7
- height : 200px ;
8
- display : flex;
9
- flex-direction : column;
10
- justify-content : center;
11
- align-items : center;
12
17
background : none;
13
18
background-color : # 393E82 ;
14
- border-radius : 20 px 20 px 20px 20px ;
19
+ border-radius : 0 px 0 px 20px 20px ;
15
20
width : 320px ;
16
21
}
17
22
Original file line number Diff line number Diff line change @@ -4,6 +4,9 @@ import "./TeamCard.css";
4
4
const TeamCard = ( { data } ) => {
5
5
return (
6
6
< div className = "teamcard-container" >
7
+ < div className = "teamcard-image-container" >
8
+ < img className = "teamcard-image" src = { data . imageURL } alt = "profile" />
9
+ </ div >
7
10
< div className = "teamcard-details" >
8
11
< h2 className = "teamcard-name" > { data . name } </ h2 >
9
12
< p className = "teamcard-post" > { data . post } </ p >
Original file line number Diff line number Diff line change 1
-
2
1
export const mentordata = [
3
2
{
4
3
name : "Aashutosh Rathi" ,
5
4
post : "Jio | IIIT Vadodara" ,
6
5
linkedin : "https://www.linkedin.com/in/aashutoshrathi/" ,
7
6
twitter : "https://twitter.com/AashutoshRathi" ,
7
+ imageURL : "https://media-exp1.licdn.com/dms/image/C5103AQFtC8CwFz5ejQ/profile-displayphoto-shrink_400_400/0/1573880831178?e=1651708800&v=beta&t=J69y3QrvKWjTXeNRJrmH7ZwGrwR-pufwm9g2A-UHlSM" ,
8
8
} ,
9
9
{
10
10
name : "Monal Shadi" ,
11
11
post : "Blindside | IIIT Vadodara" ,
12
12
linkedin : "https://www.linkedin.com/in/monalshadi/" ,
13
13
twitter : "https://twitter.com/Monalshadi" ,
14
+ imageURL : "https://media-exp1.licdn.com/dms/image/C4E03AQHGjZNJoOYLEg/profile-displayphoto-shrink_400_400/0/1623837034839?e=1651708800&v=beta&t=03Frf3wHnZNPuC68wdqMDowLnmyQbzbRCpCdATNA0N4" ,
14
15
} ,
15
16
{
16
17
name : "Keshav Purohit" ,
17
18
post : "IIIT Vadodara" ,
18
19
linkedin : "https://www.linkedin.com/in/keshavpp/" ,
19
20
twitter : "https://twitter.com/KeshavPurohit17" ,
21
+ imageURL : "https://media-exp1.licdn.com/dms/image/C5103AQF4XXFQp4PF0Q/profile-displayphoto-shrink_400_400/0/1568116426088?e=1651708800&v=beta&t=1n5mJqjmiAB7xzZYOl92AV3qJt9PcJl3EsRg81HzRcc" ,
20
22
} ,
21
23
{
22
24
name : "Ananya Tewari" ,
23
25
post : "MathWorks | IIIT Vadodara" ,
24
26
linkedin : "https://www.linkedin.com/in/antew/" ,
27
+ // twitter: "",
28
+ imageURL : "https://media-exp1.licdn.com/dms/image/C5603AQGyFeM_QysCbg/profile-displayphoto-shrink_400_400/0/1591862772944?e=1651708800&v=beta&t=iwQCsaTKdu5QWrXFORY54u2fkFOn8VeVGuy4_pMWbWQ" ,
25
29
} ,
26
30
] ;
Original file line number Diff line number Diff line change
1
+ export const teamdata = [
2
+ {
3
+ name : "Kalash Shah" ,
4
+ post : "Noob" ,
5
+ linkedin : "https://www.linkedin.com/signup" ,
6
+ twitter : "https://twitter.com/" ,
7
+ imageURL : "https://picsum.photos/320/320" ,
8
+ } ,
9
+ {
10
+ name : "Kalash Shah" ,
11
+ post : "Noob" ,
12
+ linkedin : "https://www.linkedin.com/signup" ,
13
+ twitter : "https://twitter.com/" ,
14
+ imageURL : "https://picsum.photos/320/320" ,
15
+ } ,
16
+ {
17
+ name : "Kalash Shah" ,
18
+ post : "Noob" ,
19
+ linkedin : "https://www.linkedin.com/signup" ,
20
+ twitter : "https://twitter.com/" ,
21
+ imageURL : "https://picsum.photos/320/320" ,
22
+ } ,
23
+ ] ;
You can’t perform that action at this time.
0 commit comments