Commit 449ddd85 authored by alek's avatar alek

#28

parent 497a4af6
Pipeline #413 passed with stage
in 1 minute and 32 seconds
......@@ -28,27 +28,32 @@ title: Coding Gym
</div>
{% assign sessions = site.data.coding_gym | values | sort: "date" | reverse %}
<div class="codinggym-sessions bg-blueish-gray">
{% for session in sessions %}
{% assign session_past = session.date | is_elapsed %}
{% if session_past %}
<div class="session bg-darker">
{% else %}
<div class="session new">
{% endif %}
<div class="date">
<div>{{ session.date | date: "%b %d" | upcase }}</div>
<div class="year">{{ session.date | date: "%Y" }}</div>
<div class="bg-blueish-gray">
<div class="container" style="max-width: 1600px">
<div class="codinggym-sessions">
{% for session in sessions %}
{% assign session_past = session.date | is_elapsed %}
{% if session_past %}
<div class="session bg-darker">
{% else %}
<div class="session new">
{% endif %}
<div class="date">
<div>{{ session.date | date: "%b %d" | upcase }}</div>
<div class="year">{{ session.date | date: "%Y" }}</div>
</div>
<div class="time">{{ session.date | date: "%H:%M" }}</div>
<div class="room">
<div class="room_caption">Room</div>
<div>{{ session.room }}</div>
</div>
<hr/>
<a class="registration_url" href="{{ session.registration_url }}">registration</a>
<a class="contest_url" href="{{ session.contest_url }}">HackerRank contest</a>
<a class="coding_gym_url" href="{{ session.coding_gym_url }}">Coding Gym site</a>
</div>
{% endfor %}
</div>
<div class="time">{{ session.date | date: "%H:%M" }}</div>
<div class="room">
<div class="room_caption">Room</div>
<div>{{ session.room }}</div>
</div>
<hr/>
<a class="registration_url" href="{{ session.registration_url }}">registration</a>
<a class="contest_url" href="{{ session.contest_url }}">HackerRank contest</a>
<a class="coding_gym_url" href="{{ session.coding_gym_url }}">Coding Gym site</a>
</div>
{% endfor %}
</div>
\ No newline at end of file
</div>
</div>
......@@ -25,15 +25,19 @@ title: Corsi POuL
<h4>Qui sotto puoi trovare l'elenco dei corsi (divisi per argomento) passati e programmati.</h4>
</div>
</div>
<div class="courses-list bg-blueish-gray">
{% for course in page.courses %}
<a class="no-decoration" href="./{{ course.slug }}/">
<div class="card bg-darker">
<div class="image"><img src="{{ course.logo | relative_url }}" alt="course logo"/></div>
<div class="description">{{ course.description | markdownify }}</div>
<div class="bg-blueish-gray">
<div class="container" style="max-width: 1600px">
<div class="courses-list">
{% for course in page.courses %}
<a class="no-decoration" href="./{{ course.slug }}/">
<div class="card bg-darker">
<div class="image"><img src="{{ course.logo | relative_url }}" alt="course logo"/></div>
<div class="description">{{ course.description | markdownify }}</div>
</div>
</a>
{% endfor %}
</div>
</a>
{% endfor %}
</div>
</div>
<div class="bg-yellow">
<div class="container text-align-center">
......@@ -45,4 +49,4 @@ title: Corsi POuL
usate nei corsi, e sul nostro canale <a href="https://www.youtube.com/user/POuLpolimi/videos">youtube</a> le
registrazioni.</p>
</div>
</div>
\ No newline at end of file
</div>
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