forked from gdg-x/zeppelin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprizes.html
20 lines (20 loc) · 1.01 KB
/
prizes.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!-- Prizes Section -->
<section id="prizes" class="prizes">
<div class="content-wrapper">
<div class="col-md-8 col-md-offset-2">
<h3>{{ site.prizesTitle }}</h3>
{% for prize in site.prizes %}
{% assign colWidth = 12 | divided_by: forloop.length %}
{% assign check = forloop.index | modulo:2 %}
<div class="prize col-md-{{ colWidth }} col-xs-{{ colWidth }} animated hiding" data-animation="{% if forloop.index == 1 %}fadeInLeft{% elsif forloop.index == forloop.length %}fadeInRight{% else %}fadeInDown{% endif %}" data-delay="{% if check == 0 %}0{% else %}500{% endif %}">
<h4>{{ prize.title }}</h4>
<div class="prize-img-wrapper">
<img class="img-responsive" src="{{ site.baseurl }}/img/hackathon/{{ prize.image }}" alt="Hackathon">
</div>
<p>{{ prize.info }}</p>
</div>
{% endfor %}
</div>
</div>
</section>
<!-- End Prizes Section -->