forked from Lapikud/lapikud.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
mentors.html
103 lines (92 loc) · 3.03 KB
/
mentors.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
---
layout: default
title: Mentorid - Lapikud
---
<div class="page" id="mentors">
<h1>Mentorid</h1>
<h3>Siin on meie 2024. aasta mentorid. Nemad on õiged inimesed, kelle poole pöörduda küsimuste tekkimisel seoses liitumise või Lapikutega üldiselt! </h3>
{% for mentor in site.data.mentors %}
<div class="mentor">
<div class="photo-container">
<img src="{{ '/assets/mentors-images/optimised/' | append: mentor.photo }}" alt="{{ mentor.name }}">
</div>
<div class="description">
<div class="general">
<h1>{{ mentor.name }}</h1>
<p>Vanus: {{ mentor.age }}</p>
{% if mentor.speciality != null %}
<p>Eriala: {{ mentor.speciality }}</p>
{% endif %}
{% if mentor.term != null %}
<p>Kursus: {{ mentor.term }}</p>
{% endif %}
<p>Tiimid:</p>
<ul>
{% for team in mentor.teams %}
<li>{{ team }}</li>
{% endfor %}
</ul>
{% if mentor.contactMethods != null %}
<p>Kontaktid:</p>
{% endif %}
<ul>
{% for contactMethod in mentor.contactMethods %}
{% if contactMethod.name == 'Telefon' %}
<li>
Telefon: <a href="tel:{{ contactMethod.value }}">{{ contactMethod.value }}</a>
</li>
{% elsif contactMethod.name == 'E-mail' %}
<li>
E-mail: <a href="mailto: {{ contactMethod.value }}">{{ contactMethod.value }}</a>
</li>
{% elsif contactMethod.name == 'Messenger' %}
<li>
Messenger: <a href="{{ contactMethod.value }}">{{ contactMethod.value }}</a>
</li>
{% elsif contactMethod.name == 'Telegram' %}
<li>
Telegram: <a href="{{ contactMethod.value }}">{{ contactMethod.value }}</a>
</li>
{% elsif contactMethod.name == 'Facebook' %}
<!--<p>Facebook <a href="{{ contactMethod.value }}">{{ contactMethod.value }}</a></p>-->
<li>
<a href="{{ contactMethod.value }}">Facebook</a>
</li>
{% else %}
<li>
{{ contactMethod.name }}: {{ contactMethod.value }}
</li>
{% endif %}
{% endfor %}
</ul>
</div>
<div class="varia">
<h4>Milliseid inimesi ootan oma piksliteks?</h4>
{% if mentor.description.first %}
{% for descriptionLine in mentor.description %}
{% if descriptionLine == '' %}
<br>
{% else %}
<p>{{ descriptionLine }}</p>
{% endif %}
{% endfor %}
{% else %}
<p>{{ mentor.description }}</p>
{% endif %}
<h4>Milline Lapik olen ise?</h4>
{% if mentor.activities.first %}
{% for activitiesLine in mentor.activities %}
{% if activitiesLine == '' %}
<br>
{% else %}
<p>{{ activitiesLine }}</p>
{% endif %}
{% endfor %}
{% else %}
<p>{{ mentor.activities }}</p>
{% endif %}
</div>
</div>
</div>
{% endfor %}
</div>