You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
123 lines
3.4 KiB
123 lines
3.4 KiB
--- |
|
layout: default |
|
title: Mentorid - Lapikud |
|
--- |
|
<div class="page" |
|
id="mentors"> |
|
<h1>Mentorid</h1> |
|
<h3>Siin on meie mentorid. Kui leiad kellegi, kellega huvid kattuvad, võta temaga julgelt ühendust!</h3> |
|
|
|
{% assign sorted_mentors = site.data.mentors | sort: 'name' %} |
|
{% for mentor in sorted_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.specialty != null %} |
|
<p>Eriala: {{ mentor.specialty }}</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> |
|
{% endif %} |
|
|
|
{% if contactMethod.name == 'E-mail' %} |
|
<li> |
|
E-mail: <a href="mailto: {{ contactMethod.value }}">{{ contactMethod.value }}</a> |
|
</li> |
|
{% endif %} |
|
|
|
{% if contactMethod.name == 'Messenger' %} |
|
<li> |
|
Messenger: <a href="{{ contactMethod.value }}">{{ contactMethod.value }}</a> |
|
</li> |
|
{% endif %} |
|
|
|
{% if contactMethod.name == 'Telegram' %} |
|
<li> |
|
Telegram: <a href="{{ contactMethod.value }}">{{ contactMethod.value }}</a> |
|
</li> |
|
{% endif %} |
|
|
|
{% if contactMethod.name == 'Facebook' %} |
|
<!--<p>Facebook <a href="{{ contactMethod.value }}">{{ contactMethod.value }}</a></p>--> |
|
<li> |
|
<a href="{{ contactMethod.value }}">Facebook</a> |
|
</li> |
|
{% endif %} |
|
|
|
{% if contactMethod.name != 'Telefon' and contactMethod.name != 'E-mail' and contactMethod.name != 'Messenger' |
|
and contactMethod.name != 'Facebook' and contactMethod.name != 'Telegram' %} |
|
<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> |