-
Notifications
You must be signed in to change notification settings - Fork 0
/
team.html
465 lines (403 loc) · 17.2 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
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
---
permalink: "/team"
layout: en/default
class: 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: "" %}
{% assign EcuadorTeam = "" | split: "" %}
{% assign SpainTeam = "" | split: "" %}
{% assign PortugalTeam = "" | 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 %}
{% elsif member.country == "Ecuador" %}
{% assign EcuadorTeam = EcuadorTeam | push: member %}
{% elsif member.country == "Spain" %}
{% assign SpainTeam = SpainTeam | push: member %}
{% elsif member.country == "Portugal" %}
{% assign PortugalTeam = PortugalTeam | 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' | relative_url }}" 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 %}
{% capture team-link %}/images/team/member/{{ member.username | replace: '.', '-' }}-01.jpg{% endcapture %}
<span><img src="{{ team-link | relative_url }}" alt=""></span>
{% else %}
<span><img src="{{'/images/team/placeholder.png' | relative_url }}" 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' | relative_url }}" 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 %}
{% capture team-link %}/images/team/member/{{ member.username | replace: '.', '-' }}-01.jpg{% endcapture %}
<span><img src="{{team-link | relative_url }}" alt=""></span>
{% else %}
<span><img src="{{'/images/team/placeholder.png' | relative_url }}" 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' | relative_url }}" 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 %}
{% capture team-link %}/images/team/member/{{ member.username | replace: '.', '-' }}-01.jpg{% endcapture %}
<span><img src="{{team-link | relative_url }}" alt=""></span>
{% else %}
<span><img src="{{'/images/team/placeholder.png' | relative_url }}" 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' | relative_url }}" 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 %}
{% capture team-link %}/images/team/member/{{ member.username | replace: '.', '-' }}-01.jpg{% endcapture %}
<span><img src="{{team-link | relative_url }}" alt=""></span> {% else %}
<span><img src="{{'/images/team/placeholder.png' | relative_url }}" 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 %}
{% capture team-link %}/images/team/member/{{ member.username | replace: '.', '-' }}-01.jpg{% endcapture %}
<span><img src="{{team-link | relative_url }}" alt=""></span> {% else %}
<span><img src="{{'/images/team/placeholder.png' | relative_url }}" 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' | relative_url }}" 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 %}
{% capture team-link %}/images/team/member/{{ member.username | replace: '.', '-' }}-01.jpg{% endcapture %}
<span><img src="{{team-link | relative_url }}" alt=""></span> {% else %}
<span><img src="{{'/images/team/placeholder.png' | relative_url }}" 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' | relative_url }}" 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 %}
{% capture team-link %}/images/team/member/{{ member.username | replace: '.', '-' }}-01.jpg{% endcapture %}
<span><img src="{{team-link | relative_url }}" alt=""></span> {% else %}
<span><img src="{{'/images/team/placeholder.png' | relative_url }}" 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 %}
{% capture team-link %}/images/team/member/{{ member.username | replace: '.', '-' }}-01.jpg{% endcapture %}
<span><img src="{{team-link | relative_url }}" alt=""></span> {% else %}
<span><img src="{{'/images/team/placeholder.png' | relative_url }}" 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' | relative_url }}" 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 %}
{% capture team-link %}/images/team/member/{{ member.username | replace: '.', '-' }}-01.jpg{% endcapture %}
<span><img src="{{team-link | relative_url }}" alt=""></span> {% else %}
<span><img src="{{'/images/team/placeholder.png' | relative_url }}" 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' | relative_url }}" alt="China" /></span>
</p>
</div>
</div>
<div class="team-map__pin ecuador">
<div class="team-map__profile right">
<div class="flags">
{% for member in EcuadorTeam %}
{% if forloop.index <= 5 %}
{% if member.photo %}
{% capture team-link %}/images/team/member/{{ member.username | replace: '.', '-' }}-01.jpg{% endcapture %}
<span><img src="{{team-link | relative_url }}" alt=""></span> {% else %}
<span><img src="{{'/images/team/placeholder.png' | relative_url }}" alt=""></span>
{% endif %}
{% endif %}
{% if forloop.length > 5 and forloop.last %}
<span class="count">+{{ forloop.length | minus:5 }}</span>
{% endif %}
{% endfor %}
</div>
<p>
<strong>Ecuador</strong>
<span><img src="{{'/images/flags/Ecuador.png' | relative_url }}" alt="Ecuador" /></span>
</p>
</div>
</div>
<div class="team-map__pin spain">
<div class="team-map__profile right">
<div class="flags">
{% for member in SpainTeam %}
{% if forloop.index <= 5 %}
{% if member.photo %}
{% capture team-link %}/images/team/member/{{ member.username | replace: '.', '-' }}-01.jpg{% endcapture %}
<span><img src="{{team-link | relative_url }}" alt=""></span> {% else %}
<span><img src="{{'/images/team/placeholder.png' | relative_url }}" alt=""></span>
{% endif %}
{% endif %}
{% if forloop.length > 5 and forloop.last %}
<span class="count">+{{ forloop.length | minus:5 }}</span>
{% endif %}
{% endfor %}
</div>
<p>
<strong>Spain</strong>
<span><img src="{{'/images/flags/Spain.png' | relative_url }}" alt="Spain" /></span>
</p>
</div>
</div>
<div class="team-map__pin portugal">
<div class="team-map__profile right">
<div class="flags">
{% for member in PortugalTeam %}
{% if forloop.index <= 5 %}
{% if member.photo %}
{% capture team-link %}/images/team/member/{{ member.username | replace: '.', '-' }}-01.jpg{% endcapture %}
<span><img src="{{team-link | relative_url }}" alt=""></span> {% else %}
<span><img src="{{'/images/team/placeholder.png' | relative_url }}" alt=""></span>
{% endif %}
{% endif %}
{% if forloop.length > 5 and forloop.last %}
<span class="count">+{{ forloop.length | minus:5 }}</span>
{% endif %}
{% endfor %}
</div>
<p>
<strong>Portugal</strong>
<span><img src="{{'/images/flags/Portugal.png' | relative_url }}" alt="Portugal" /></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">
{% capture memberImage %}/images/team/member/{{ member.username | replace: '.', '-' }}-01.jpg{% endcapture %}
<div
class="team-item__image"
{% if member.photo %}
style="background-image: url({{ memberImage | relative_url }})"
{% else %}
style="background-image: url({{'/images/team/placeholder.png' | relative_url }}"
{% endif %}
>
<div class="team-item__wrap">
<h3 class="team-item__name theme_type--dark">
<strong>{{ member.name }}</strong>
{% capture country %}/images/flags/{{ member.country | replace: ' ', '-' }}.png{% endcapture %}
<span><img src="{{country | relative_url}}" 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' | relative_url}}" 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' | relative_url}}" alt="Twitter link" />
</a>
{% endif %}
{% if member.email %}
<a href="mailto:{{ member.email }}">
<img src="{{'/images/team/email.svg' | relative_url}}" 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' | relative_url}}" 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>