Commit 590996f6 authored by Aaron Ogle's avatar Aaron Ogle

Add Uruguay to map

parent 70cbadbd
......@@ -71,6 +71,17 @@
}
}
&.uruguay {
top: 90%;
left: 34.5%;
animation: 1s 0.6s appears forwards;
.team-map__profile {
animation: 1s 1.2s appearsBox forwards;
transform: translate(1.5em, -2em);
}
}
&.peru {
top: 78%;
left: 29%;
......@@ -186,6 +197,18 @@
left: calc(50% - 0.3em);
}
&.left:after {
content: "";
display: block;
border: 0.3em solid transparent;
border-left: 0.3em solid transparent;
border-right: 0.3em solid rgba(56,74,102,0.55);
position: absolute;
bottom: auto;
top: 2em;
left: calc(50% - 3.5em);
}
.flags {
margin-bottom: 0.3em;
......
......@@ -13,6 +13,7 @@ theme: dark
{% assign teamList = site.data.team %}
{% assign BrazilTeam = "" | split: "" %}
{% assign UruguayTeam = "" | split: "" %}
{% assign CanadaTeam = "" | split: "" %}
{% assign UnitedkingdomTeam = "" | split: "" %}
{% assign USATeam = "" | split: "" %}
......@@ -22,6 +23,9 @@ theme: dark
{% 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 %}
......@@ -97,6 +101,30 @@ theme: dark
</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 %}
<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>Uruguay</strong>
<span><img src="/images/flags/Uruguay.png" alt="Uruguay" /></span>
</p>
</div>
</div>
<div class="team-map__pin unitedkingdom">
<div class="team-map__profile">
<div class="flags">
......
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