-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
247 lines (191 loc) · 8.4 KB
/
index.html
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<meta name="theme-color" content="#ffffff" />
<!-- Favicons -->
<link rel="apple-touch-icon" href="favicon.png">
<link rel="icon" href="favicon.png">
<!-- Fonts and icons -->
<link rel="stylesheet" type="text/css"
href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700|Roboto+Slab:400,700|Material+Icons" />
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/latest/css/font-awesome.min.css" />
<link rel="stylesheet" href="assets/css/material-kit.css?v=2.0.2">
<!-- Documentation extras -->
<link rel="stylesheet" href="assets/css/styles.css" />
<link rel="stylesheet" href="assets/css/team.css" />
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet"
integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/flickity.min.css">
<script src="https://unpkg.com/[email protected]/dist/flickity.pkgd.min.js"></script>
<link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<title>
Diversity in DSC
</title>
<style>
body {
overflow-x: hidden;
}
#top-button {
font-size: 20px;
transition: 0.3s ease;
}
.grid-item {
width: 25%;
}
.grid-item--width2 {
width: 50%;
}
.img-fluid {
border-radius: 5px 5px;
}
.team-member-details {
cursor: pointer;
}
</style>
<!-- iframe removal -->
<script src="https://kit.fontawesome.com/622afd0c30.js" crossorigin="anonymous"></script>
</head>
<body class="landing-page" name="top" id="top">
<!-- Navbar -->
<nav class="navbar navbar-color-on-scroll navbar-transparent fixed-top navbar-expand-lg " color-on-scroll="100"
id="sectionsNav">
<!-- ===== Navbar through JS ===== -->
</nav>
<!-- /.Navbar -->
<div class="main main-raised margin-t-0">
<p> </p>
<div class="container">
<div class="container-page">
<!-- **** Banner **** -->
<div class="row mt-5">
<!-- First Column -->
<div class="col-lg-6">
<p> </p>
<h2 class="title">Diversity in DSC</h2>
<h5 class="description">
<span class="blue_text">Diversity in DSC</span> is a community-led initiative by Developer Student Club Leads to showcase the stories of the amazing journeys we have all had.
The stories where we inspire, get inspired, learn and take heart from.
This is a forum to celebrate teamwork, leadership and attribute the success of DSC to the wonderful individuals
who put untiring efforts for it.
</h5>
<p> </p>
<a href="https://www.youtube.com/channel/UCCR8rHzvm0l9E7DNa6Y_OGA/featured">
<button class="btn btn-primary btn-round btn-logo"><i class="fab fa-youtube"></i> YouTube</button>
</a>
</div>
<!-- Second Column -->
<div class="col-lg-6">
<img class="img-fluid" src="assets/img/kit/team.png" />
</div>
</div>
<div class="container no-padding container-sub-page">
<div id="container-team" class="row">
<div class="col-lg-12">
<h3 class="title">DSC India Leads Panel</h3>
<h4 class="description header-card yellow-back yellow" style="width: 160px; border-radius: 10px 50px 50px 10px;">28th May, 2020</h4>
<a href="https://www.youtube.com/watch?v=MDh4TIK7Agg">
<button class="btn btn-primary btn-round btn-logo"><i class="fab fa-youtube"></i> Join the Livestream</button>
</a>
<p> </p>
</div>
<!-- ===== Here the Team will Appear ===== -->
</div>
</div>
<div class="container no-padding container-sub-page">
<div id="container-team" class="row">
<div class="col-lg-6">
<h3 class="title">Women DSC Leads Panel</h3>
<h4 class="description header-card yellow-back yellow" style="width: 160px; border-radius: 10px 50px 50px 10px;">14th May, 2020</h4>
<h5 class="description">Join in to hear the amazing stories of challenges and triumphs from the Developer Student Clubs women leads.</h5>
<p> </p>
<a href="https://www.youtube.com/watch?v=vwuLz1jNx20">
<button class="btn btn-primary btn-round btn-logo"><i class="fab fa-youtube"></i> Watch the Session</button>
</a>
</div>
<!-- ===== Here the Team will Appear ===== -->
</div>
</div>
</div>
</div>
<!-- **** Footer **** -->
<div id="footer">
<!-- ===== Footer Through JS ===== -->
</div>
<!-- /. Footer -->
</div>
<script src="assets/js/app.js"></script>
<script src="assets/js/navbar.js"></script>
<script src="assets/js/footer.js"></script>
<!-- Core JS Files -->
<script src="assets/js/core/jquery.min.js"></script>
<script src="assets/js/core/popper.min.js"></script>
<script src="assets/js/style/bootstrap-material-design.js"></script>
<!-- Material Kit Core initialisations of plugins and Bootstrap Material Design Library -->
<script src="assets/js/style/material-kit.js?v=2.0.2"></script>
<script src="assets/assets-custom/js/material-kit-demo.js"></script>
<!-- <script src="assets/assets-custom/js/GridHorizontal.js"></script> -->
<!-- <script src="https://unpkg.com/packery@2/dist/packery.pkgd.min.js"></script> -->
<!-- <script src="https://unpkg.com/masonry-layout@4/dist/masonry.pkgd.min.js"></script> -->
<script src="assets/assets-custom/main.js"></script>
<!--<script src="assets/assets-custom/index.js"></script>-->
<script>
$('document').ready(function () {
function getLinks(links) {
var result = '';
links.forEach(function (link) {
if (link.linkType === 'Twitter') {
result += `<li style="color:rgb(0,101,202);">
<a id="social_link1" href="${link.link}" target="_blank"><i class="fa fa-twitter" aria-hidden="true"></i></a>
</li>`;
}
if (link.linkType == 'LinkedIn') {
result += `<li style="color:rgb(0,101,202);">
<a id="social_link1" href="${link.link}" target="_blank"><i class="fa fa-linkedin" aria-hidden="true"></i></a>
</li>`;
}
if (link.linkType == 'Github') {
result += `<li style="color:rgb(0,101,202);">
<a id="social_link1" href="${link.link}" target="_blank"><i class="fa fa-link" aria-hidden="true"></i></a>
</li>`;
}
if (link.linkType == 'Facebook') {
result += `<li style="color:rgb(0,101,202);">
<a id="social_link1" href="${link.link}" target="_blank"><i class="fa fa-facebook" aria-hidden="true"></i></a>
</li>`;
}
});
return result;
}
function getTemplate(member) {
var template =
`<div class="col-lg-4 container-team-member">
<div class="clearfix float-my-children">
<img src="${member.displayPicture}">
<div class="team-member-details">
<span class="team-member-name blue_text" style="font-weight:500;" onclick="myfun('${member.id}')">
<b>${member.name}</b>
</span><br>
<span style="font-weight:300;">${member.description}</span>
<span>
<ul>${getLinks(member.links)}</ul>
</span>
</div>
</div>
</div>`;
return template;
}
var html = '';
$.getJSON('./assets/json/team.json', function (members) {
members.forEach(function (member) {
html += getTemplate(member);
});
$('#container-team').append(html);
});
});
</script>
</body>
</html>