Commit 0c868398 authored by Marcelo Schmidt's avatar Marcelo Schmidt Committed by Martin Schoeler

Add Ukraine to map (#707)

* WIP: add Ukraine to map

* Update ukraine location on map

* Update team.scss

* Update team.scss

* Fix error and add arrow
parent 03a65f74
......@@ -150,6 +150,17 @@
animation: 1s 1.6s appearsBox forwards;
}
}
&.ukraine {
top: 53.3%;
left: 58.2%;
animation: 1s 1s appears forwards;
.team-map__profile {
animation: 1s 1.7s appearsBox forwards;
transform: translate(1.5em, -2em);
}
}
}
@include keyframes(appears) {
......
......@@ -19,6 +19,7 @@ theme: dark
{% assign USATeam = "" | split: "" %}
{% assign IndiaTeam = "" | split: "" %}
{% assign GermanyTeam = "" | split: "" %}
{% assign UkraineTeam = "" | split: "" %}
{% for member in teamList %}
{% if member.country == "Brazil" %}
......@@ -41,6 +42,9 @@ theme: dark
{% elsif member.country == "India" %}
{% assign IndiaTeam = IndiaTeam | push: member %}
{% elsif member.country == "Ukraine" %}
{% assign UkraineTeam = UkraineTeam | push: member %}
{% endif %}
{% endfor %}
......@@ -223,6 +227,30 @@ theme: dark
</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>
</section>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment