forked from mrinaldhar/rocketchat.github.io-1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathteam.html
366 lines (323 loc) · 12.7 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
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
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
---
layout: en/default
class: team
permalink: /team
redirect_from:
- /team/
- /rocket-team
- /rocket-team/
theme: dark
---
{% assign teamList = site.data.team %}
{% assign BrazilTeam = "" | split: "" %}
{% assign UruguayTeam = "" | split: "" %}
{% assign CanadaTeam = "" | split: "" %}
{% assign UnitedkingdomTeam = "" | split: "" %}
{% assign USATeam = "" | split: "" %}
{% assign IndiaTeam = "" | split: "" %}
{% assign GermanyTeam = "" | split: "" %}
{% assign UkraineTeam = "" | split: "" %}
{% assign ChinaTeam = "" | split: "" %}
{% for member in teamList %}
{% if member.country == "Brazil" %}
{% assign BrazilTeam = BrazilTeam | push: member %}
{% elsif member.country == "Uruguay" %}
{% assign UruguayTeam = UruguayTeam | push: member %}
{% elsif member.country == "Canada" %}
{% assign CanadaTeam = CanadaTeam | push: member %}
{% elsif member.country == "United Kingdom" %}
{% assign UnitedkingdomTeam = UnitedkingdomTeam | push: member %}
{% elsif member.country == "USA" %}
{% assign USATeam = USATeam | push: member %}
{% elsif member.country == "Germany" %}
{% assign GermanyTeam = GermanyTeam | push: member %}
{% elsif member.country == "India" %}
{% assign IndiaTeam = IndiaTeam | push: member %}
{% elsif member.country == "Ukraine" %}
{% assign UkraineTeam = UkraineTeam | push: member %}
{% elsif member.country == "China" %}
{% assign ChinaTeam = ChinaTeam | push: member %}
{% endif %}
{% endfor %}
<section class="container hero team-map">
<div class="team-map__wrap">
<h1 class="display--big theme_type--dark">Team Rocket.Chat</h1>
<p class="display--small theme_type--grey">A global team to keep the rockets firing</p>
</div>
<img class="team-map__map" src="/images/team/world-map.svg" alt="World map" />
<div>
<div class="team-map__pin canada">
<div class="team-map__profile">
<div class="flags">
{% for member in CanadaTeam %}
{% if forloop.index <= 5 %}
{% if member.photo %}
<span><img src="/images/team/member/{{ member.username | replace: '.', '-' }}-01.jpg" alt=""></span>
{% else %}
<span><img src="/images/team/placeholder.png" alt=""></span>
{% endif %}
{% endif %}
{% if forloop.length > 5 and forloop.last %}
<span class="count">+{{ forloop.length | minus:5 }}</span>
{% endif %}
{% endfor %}
</div>
<p>
<strong>Canada</strong>
<span><img src="/images/flags/Canada.png" alt="Canada" /></span>
</p>
</div>
</div>
<div class="team-map__pin brazil">
<div class="team-map__profile">
<div class="flags">
{% for member in BrazilTeam %}
{% if forloop.index <= 3 %}
{% if member.photo %}
<span><img src="/images/team/member/{{ member.username | replace: '.', '-' }}-01.jpg" alt=""></span>
{% else %}
<span><img src="/images/team/placeholder.png" alt=""></span>
{% endif %}
{% endif %}
{% if forloop.length > 3 and forloop.last %}
<span class="count">+{{ forloop.length | minus:3 }}</span>
{% endif %}
{% endfor %}
</div>
<p>
<strong>Brazil</strong>
<span><img src="/images/flags/Brazil.png" alt="Brazil" /></span>
</p>
</div>
</div>
<div class="team-map__pin uruguay">
<div class="team-map__profile left">
<div class="flags">
{% for member in UruguayTeam %}
{% if forloop.index <= 5 %}
{% if member.photo %}
<span><img src="/images/team/member/{{ member.username | replace: '.', '-' }}-01.jpg" alt=""></span>
{% else %}
<span><img src="/images/team/placeholder.png" alt=""></span>
{% endif %}
{% endif %}
{% if forloop.length > 5 and forloop.last %}
<span class="count">+{{ forloop.length | minus:5 }}</span>
{% endif %}
{% endfor %}
</div>
<p>
<strong>Uruguay</strong>
<span><img src="/images/flags/Uruguay.png" alt="Uruguay" /></span>
</p>
</div>
</div>
<!-- Please uncomment here if we have a new team member from UK -->
<!--
<div class="team-map__pin unitedkingdom">
<div class="team-map__profile">
<div class="flags">
{% for member in UnitedkingdomTeam %}
{% if forloop.index <= 5 %}
{% if member.photo %}
<span><img src="/images/team/member/{{ member.username | replace: '.', '-' }}-01.jpg" alt=""></span>
{% else %}
<span><img src="/images/team/placeholder.png" alt=""></span>
{% endif %}
{% endif %}
{% if forloop.length > 5 and forloop.last %}
<span class="count">+{{ forloop.length | minus:5 }}</span>
{% endif %}
{% endfor %}
</div>
<p>
<strong>United kingdom</strong>
<span><img src="/images/flags/United-Kingdom.png" alt="Unitedkingdom" /></span>
</p>
</div>
</div>
-->
<div class="team-map__pin germany">
<div class="team-map__profile">
<div class="flags">
{% for member in GermanyTeam %}
{% if forloop.index <= 5 %}
{% if member.photo %}
<span><img src="/images/team/member/{{ member.username | replace: '.', '-' }}-01.jpg" alt=""></span>
{% else %}
<span><img src="/images/team/placeholder.png" alt=""></span>
{% endif %}
{% endif %}
{% if forloop.length > 5 and forloop.last %}
<span class="count">+{{ forloop.length | minus:5 }}</span>
{% endif %}
{% endfor %}
</div>
<p>
<strong>Germany</strong>
<span><img src="/images/flags/Germany.png" alt="Germany" /></span>
</p>
</div>
</div>
<div class="team-map__pin usa">
<div class="team-map__profile">
<div class="flags">
{% for member in USATeam %}
{% if forloop.index <= 5 %}
{% if member.photo %}
<span><img src="/images/team/member/{{ member.username | replace: '.', '-' }}-01.jpg" alt=""></span>
{% else %}
<span><img src="/images/team/placeholder.png" alt=""></span>
{% endif %}
{% endif %}
{% if forloop.length > 5 and forloop.last %}
<span class="count">+{{ forloop.length | minus:5 }}</span>
{% endif %}
{% endfor %}
</div>
<p>
<strong>USA</strong>
<span><img src="/images/flags/USA.png" alt="USA" /></span>
</p>
</div>
</div>
<!-- Please uncomment here if we have a new team member from india -->
<!-- <div class="team-map__pin india">
<div class="team-map__profile">
<div class="flags">
{% for member in IndiaTeam %}
{% if forloop.index <= 5 %}
{% if member.photo %}
<span><img src="/images/team/member/{{ member.username | replace: '.', '-' }}-01.jpg" alt=""></span>
{% else %}
<span><img src="/images/team/placeholder.png" alt=""></span>
{% endif %}
{% endif %}
{% if forloop.length > 5 and forloop.last %}
<span class="count">+{{ forloop.length | minus:5 }}</span>
{% endif %}
{% endfor %}
</div>
<p>
<strong>India</strong>
<span><img src="/images/flags/India.png" alt="India" /></span>
</p>
</div>
</div> -->
<div class="team-map__pin ukraine">
<div class="team-map__profile left">
<div class="flags">
{% for member in UkraineTeam %}
{% if forloop.index <= 5 %}
{% if member.photo %}
<span><img src="/images/team/member/{{ member.username | replace: '.', '-' }}-01.jpg" alt=""></span>
{% else %}
<span><img src="/images/team/placeholder.png" alt=""></span>
{% endif %}
{% endif %}
{% if forloop.length > 5 and forloop.last %}
<span class="count">+{{ forloop.length | minus:5 }}</span>
{% endif %}
{% endfor %}
</div>
<p>
<strong>Ukraine</strong>
<span><img src="/images/flags/Ukraine.png" alt="Ukraine" /></span>
</p>
</div>
</div>
</div>
<div class="team-map__pin china">
<div class="team-map__profile left">
<div class="flags">
{% for member in ChinaTeam %}
{% if forloop.index <= 5 %}
{% if member.photo %}
<span><img src="/images/team/member/{{ member.username | replace: '.', '-' }}-01.jpg" alt=""></span>
{% else %}
<span><img src="/images/team/placeholder.png" alt=""></span>
{% endif %}
{% endif %}
{% if forloop.length > 5 and forloop.last %}
<span class="count">+{{ forloop.length | minus:5 }}</span>
{% endif %}
{% endfor %}
</div>
<p>
<strong>China</strong>
<span><img src="/images/flags/China.png" alt="China" /></span>
</p>
</div>
</div>
</section>
<div class="space--4"></div>
<section class="container">
<div class="card theme_box--dark-strong team-description">
<div class="wrap">
<p class="label theme_type--grey"></p>
<h2 class="display theme_type--dark">About Us</h2>
<p class="theme_type--grey">Rocket.Chat is more than your average company, we are the leading open source team chat community. When you choose Rocket.Chat, you become part of a global community comprised of a core team, hundreds of open source developers, testers and writers, and millions of users.</p>
<p class="theme_type--grey">We are building the future of communication and would love to build it with you. We are often looking for more team members, so check out our <a href="/jobs"><b>Jobs page</b></a> for opportunities!</p>
</div>
</div>
</section>
<section class="container">
<ul class="team-grid">
{% for member in teamList %}
<li class="team-item">
<div
class="team-item__image"
{% if member.photo %}
style="background-image: url(/images/team/member/{{ member.username | replace: '.', '-' }}-01.jpg)"
{% else %}
style="background-image: url(/images/team/placeholder.png"
{% endif %}
>
<div class="team-item__wrap">
<h3 class="team-item__name theme_type--dark">
<strong>{{ member.name }}</strong>
<span><img src="/images/flags/{{ member.country | replace: ' ', '-' }}.png" alt="{{ member.country }}" /></span>
</h3>
<p class="team-item__role label--small theme_type--grey">{{ member.role }}</p>
{% if member.description %}
<label class="team-item__button" for="team-button__{{ forloop.index }}"></label>
<div class="team-item__bio">
{% for desc in member.description %}
<p>{{ desc }}</p>
{% endfor %}
</div>
{% endif %}
<div class="team-item__social">
{% if member.github_username %}
<a target="_blank" href="//github.com/{{ member.github_username }}" rel="noopener noreferrer">
<img src="/images/team/github.svg" alt="Github link" />
</a>
{% endif %}
{% if member.twitter %}
<a target="_blank" href="//twitter.com/{{ member.twitter }}" rel="noopener noreferrer">
<img src="/images/team/twitter.svg" alt="Twitter link" />
</a>
{% endif %}
{% if member.email %}
<a href="mailto:{{ member.email }}">
<img src="/images/team/email.svg" alt="{{ member.email }}" />
</a>
{% endif %}
{% if member.username %}
<a target="_blank" href="https://open.rocket.chat/direct/{{member.username}}">
<img src="/images/team/rocketchat.svg" alt="{{ member.username }}" />
</a>
{% endif %}
</div>
</div>
</div>
<input class="team-button__toggle" id="team-button__{{ forloop.index }}" type="checkbox" />
</li>
{% endfor %}
{% capture modulo %}{{ teamList.size | modulo:4 }}{% endcapture %}
{% if modulo != '0' %}
<li class="team-item empty"></li>
{% endif %}
</ul>
<section>
<div class="space--4"></div>