-
Notifications
You must be signed in to change notification settings - Fork 38
/
Copy pathmain.js
113 lines (105 loc) · 4.24 KB
/
main.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
const participants = [
{
"name": "AIT-OSS",
"img": "https://avatars3.githubusercontent.com/u/47062438?s=400&u=ab4cb37695763efe4297b2da4b7f97cd8f6f888b&v=4",
"title": "Organizer",
"year": "BE - 2022",
"linkedIn": "https://www.linkedin.com/company/open-source-software-club/",
"github": "https://github.com/aitoss",
"skills": ['All Open Source Technologies'],
"description": "A student driven Open Source Community at AIT, Pune."
},
{
"name": "Kumari Palak",
"img": "https://avatars.githubusercontent.com/u/54790525?s=400&u=d29cc10e71229700b65ddbe13e0c102aa5096211&v=4",
"year": "BE - 2023",
"linkedIn": "https://www.linkedin.com/in/kumaripalak/",
"github": "https://github.com/Palak-137",
},
{
"name": "Snehasis Sahoo",
"img": "https://avatars.githubusercontent.com/u/54761358?v=4",
"year": "BE - 2023",
"linkedIn": "https://www.linkedin.com/in/kazukilapislazuli/",
"github": "https://github.com/kazukilapislazuli",
},
{
"name": "Rohit Kumar",
"img": "https://avatars.githubusercontent.com/u/54764235?v=4",
"year": "BE - 2023",
"linkedIn": "https://www.linkedin.com/in/rohitkumar-yadav/",
"github": "https://github.com/The-Fuse",
},
{
"name": "Akash Saxena",
"img": "https://avatars.githubusercontent.com/u/54790554?v=4",
"year": "BE - 2023",
"linkedIn": "https://www.linkedin.com/in/akashsaxena2308/",
"github": "https://github.com/Akashsaxena2308",
},
{
"name": "Vishal singh",
"img": "https://avatars.githubusercontent.com/u/76548939?v=4",
"year": "BE - 2024",
"linkedIn": "https://www.linkedin.com/in/impetus007/",
"github": "https://github.com/impetus007",
},
{
"name": "Mohammad Kaif Siddique",
"img": "https://avatars.githubusercontent.com/MoKaif",
"year": "BE - 2024",
"linkedIn": "https://www.linkedin.com/in/mokaif/",
"github": "https://github.com/MoKaif",
},
{
"name": "Sachin choudhary",
"img": "https://avatars.githubusercontent.com/u/54989437?v=4",
"year": "BE - 2023",
"linkedIn": "https://www.linkedin.com/in/sachin-choudhary-7037381a9/",
"github": "https://github.com/sachin-611",
},
{ "name": "Ankit Gadhwal",
"img": "https://avatars.githubusercontent.com/u/60103160?v=4",
"year": "BE - 2023",
"linkedIn": "https://www.linkedin.com/in/ankit-gadhwal-a9451b18b/",
"github": "https://github.com/Ankit-123-123",
},
{ "name": "Saurav Singh Rauthan",
"img": "https://avatars.githubusercontent.com/u/54982868?s=400&u=d89f494492572f108f6d1668f53cfd195f68182e&v=4",
"year": "BE - 2023",
"linkedIn": "https://www.linkedin.com/in/saurav-singh-rauthan-87141918b/",
"github": "https://github.com/Saurav-Singh-Rauthan",
},
{
"name": "Shivangi Chauhan",
"img": "https://avatars.githubusercontent.com/u/62792560?v=4",
"year": "BE - 2023",
"linkedIn": "https://www.linkedin.com/in/shivangi-chauhan-57919a191/",
"github": "https://github.com/Flaming-Phoenix24",
}
]
function loadParticipants() {
participants.forEach((participant) => {
const profileCard = `
<div class="box">
<div class="top-bar"></div>
<div class="top">
<i class="fa fa-heart heart" aria-hidden="true"></i>
<input type="checkbox" class="heart-btn" id="heart-btn-1">
</div>
<div class="content">
<img src=${participant.img || 'https://i.ibb.co/dKnX0Kx/default-profile-pic.png'}
alt="">
<strong>${participant.name}</strong>
<p>${participant.year}</p>
</div>
<div class="btn">
<a href="${participant.linkedIn}"><i class="fa fa-linkedin" aria-hidden="true"></i>LinkedIn</a>
<a href="${participant.github}"><i class="fa fa-github" aria-hidden="true"></i>Github</a>
</div>
</div>
`;
$(".outer-div").append(profileCard);
})
}
loadParticipants();