-
Notifications
You must be signed in to change notification settings - Fork 74
/
team.html
189 lines (178 loc) · 8.42 KB
/
team.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
---
layout: default
title: Team
css: /assets/css/team.css
---
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.2.0/css/all.min.css" integrity="sha512-xh6O/CkQoPOWDdYTDqeRdPCVd1SpvCA9XXcUnZS2FmJNp1coAFzvtCN9BmamE+4aHK8yyUHUSCcJHgXloTyT2A==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<!-- Faculty -->
<div class="colorlib-intro">
<div class="container-fluid">
<div class="row">
<div class="col-md-10 col-md-offset-1 text-center colorlib-heading animate-box">
<h2>Faculty Members</h2>
</div>
</div>
<div id="faculty" class="animate-box card-container">
{% for item in site.data.team.faculty %}
<div class="contact-card" data-aos="fade-up">
<div class="contact-card-body">
<div class="contact-card-image">
<img src="/assets/img/faculty/{{item.image}}" alt="{{item.name}}">
</div>
<hr>
<p class="text-center">
<h2 class="text-center m-2">{{item.name}}</h2>
<h4 class="text-center m-2">{{item.position}}</h4>
</p>
</div>
<div class="contact-card-footer">
<a href="{{item.link}}" title="{{item.name}}'s Personal Page" class="btn btn-primary btn-outline with-arrow" target="_blank">Visit Web Page <i class="fa fa-arrow-right"></i></a>
</div>
</div>
{% endfor %}
</div>
</div>
</div>
<!-- ------------------------------- -->
<!-- Core -->
<div class="team-info colorlib-bg-white">
<div class="container-fluid">
<div class="row">
<div class="col-md-10 col-md-offset-1 text-center colorlib-heading animate-box" style="margin-top: 30px;">
<h2>Core Members</h2>
</div>
</div>
<div id="core" class="animate-box card-container">
{% for item in site.data.team.core %}
<div class="contact-card" data-aos="fade-up">
<div class="contact-card-body">
<div class="contact-card-image">
<img src="/assets/img/core/{{item.image}}" alt="member">
</div>
<hr>
<p class="text-center">
<h2 class="text-center m-2">{{item.name}}</h2>
<h4 class="text-center m-2">{{item.position}}</h4>
</p>
</div>
<div class="contact-card-footer">
<a href="{{item.linkedin}}" target="_blank" rel="noopener noreferrer"><i class="fa-brands fa-linkedin fa-2xl contact-card-icon"></i></a>
<a href="https://github.com/{{item.github}}" target="_blank" rel="noopener noreferrer"><i class="fa-brands fa-github fa-2xl contact-card-icon"></i></a>
<a href="mailto:{{item.email}}" target="_blank" rel="noopener noreferrer"><i class="fa-regular fa-envelope fa-2xl contact-card-icon"></i></a>
</div>
</div>
{% endfor %}
</div>
</div>
</div>
<!-- --------------------- -->
<div class="container-fluid colorlib-bg-white"><div class="animate-box"><hr></div></div>
<!-- Exective Members -->
<div class="team-info colorlib-bg-white">
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-1 text-center colorlib-heading animate-box">
<h2>Executive Members</h2>
</div>
</div>
<div class="row animate-box" style="padding-bottom: 50px;">
<ul class="nav-pills-custom">
{% assign count = 0 %}
{% for title in site.data.array.teams %}
{% assign id_variable = title.name | append : "-projects-tab" %}
{% assign href_variable = "#" | append : title.name | append : "-projects" %}
{% assign aria_variable = title.name | append : "-projects" %}
{% if count == 0 %}
<li class="nav-item-custom active">
{% else %}
<li class="nav-item-custom">
{% endif %}
<a id={{id_variable}} data-toggle="pill" href={{href_variable}} role="tab" aria-controls={{aria_variable}} aria-selected="true">{{ title.name }}</a>
</li>
{% assign count = 1 %}
{% endfor %}
</ul>
</div>
<div class="tab-content" id="pills-tabContent">
{% assign count_2 = 0 %}
{% for title in site.data.array.teams %}
{% assign id_variable_2 = title.name | append : "-projects" %}
{% assign aria_variable_2 = title.name | append : "-projects-tab" %}
{% if count_2 == 0 %}
<div class="tab-pane fade active in" id={{id_variable_2}} aria-labelledby={{aria_variable_2}} role="tabpanel">
{% else %}
<div class="tab-pane fade" id={{id_variable_2}} aria-labelledby={{aria_variable_2}} role="tabpanel">
{% endif %}
<div id="exec" class="row animate-box">
{% assign len = site.data.team.members.size %}
{% assign i = 0 %}{% assign count = 0 %}
{% for item in site.data.team.members %}
{% assign a = item.sig | slice: 0 %} {% assign b = title.name | slice: 0 %}
{% if a == b %}
{% assign k = i|modulo:6 %}
{% if k == 0 %}
<div class="row">
{% endif %}
<div class="col-md-2 text-center">
<h4 class="member-names" style="font-size: 1.2em; font-weight: bold;">
{% assign words = item.name | split: ' ' %}
{% capture titlecase %}{% for word in words %}{{ word | capitalize }} {% endfor %}{% endcapture %}
{{ titlecase }}
</h4>
<br>
</div>
{% if k == 5 %}
</div>
{% endif %}
{% assign i = i|plus:1 %}
{% endif %}
{% assign count = count | plus : 1 %}
{% endfor %}
{% if k != 5 and count == len %}
</div>
{% endif %}
</div>
</div>
{% assign count_2 = 1 %}
{% endfor %}
{% if k != 5 and count == len %}
</div>
{% endif %}
</div>
</div>
</div>
<div class="container-fluid colorlib-bg-white"><div class="animate-box"><hr></div></div>
<!-- Alumni -->
<div class="team-info colorlib-bg-white">
<div class="container">
<div class="row">
<div class="col-md-10 col-md-offset-1 text-center colorlib-heading animate-box">
<h2>Alumni</h2>
</div>
</div>
<div id="alumni" class="row animate-box">
{% assign i = 0 %}
{% for item in site.data.team.alumni %}
{% assign k = i|modulo:6 %}
{% if k == 0 %}
<div class="row">
{% endif %}
<div class="col-md-2 text-center">
<h4 class="member-names" style="font-size: 1.2em; font-weight: bold;">
{% assign words = item.name | split: ' ' %}
{% capture titlecase %}{% for word in words %}{{ word | capitalize }} {% endfor %}{% endcapture %}
{{ titlecase }}
</h4>
<br>
</div>
{% if k == 5 %}
</div>
{% endif %}
{% assign i = i|plus:1 %}
{% if forloop.index == site.data.team.alumni.size %}
</div>
{% endif %}
{% endfor %}
</div>
</div>
</div>