mirror of
https://github.com/Lapikud/lapikud.github.io.git
synced 2026-03-21 12:37:49 +00:00
Mentors view, history view
* brought over mentors form data and images * add contact information to mentors * add image conversion scripts * optimised current images
This commit is contained in:
36
mentors.html
36
mentors.html
@@ -10,22 +10,52 @@ title: Mentorid - Lapikud
|
||||
|
||||
<div class="mentor">
|
||||
<div class="photo-container">
|
||||
<img src="{{ mentor.photo }}">
|
||||
<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>
|
||||
<p>Telefon: <a href="tel:{{ mentor.phone }}">{{ mentor.phone }}</a></p>
|
||||
<p>E-mail: <a href="mailto: {{ mentor.email }}">{{ mentor.email }}</a></p>
|
||||
|
||||
{% if mentor.contactMethods != null %}
|
||||
<p>Kontaktid:</p>
|
||||
{% endif %}
|
||||
|
||||
{% for contactMethod in mentor.contactMethods %}
|
||||
|
||||
{% if contactMethod.name == 'Telefon' %}
|
||||
<p>Telefon: <a href="tel:{{ contactMethod.value }}">{{ contactMethod.value }}</a></p>
|
||||
{% endif %}
|
||||
|
||||
{% if contactMethod.name == 'E-mail' %}
|
||||
<p>E-mail: <a href="mailto: {{ contactMethod.value }}">{{ contactMethod.value }}</a></p>
|
||||
{% endif %}
|
||||
|
||||
{% if contactMethod.name == 'Messenger' %}
|
||||
<p>Messenger <a href="{{ contactMethod.value }}">{{ contactMethod.value }}</a></p>
|
||||
{% endif %}
|
||||
|
||||
{% if contactMethod.name == 'other' %}
|
||||
<p>{{ contactMethod.value }}</p>
|
||||
{% endif %}
|
||||
|
||||
{% endfor %}
|
||||
|
||||
</div>
|
||||
|
||||
<div class="varia">
|
||||
|
||||
Reference in New Issue
Block a user