2016-09-02 00:22:01 +02:00
<% content_for :head do %>
<META NAME="Title" CONTENT="Zeus WPI: Werkgroep informatica van de Universiteit Gent">
<META NAME="Keywords" CONTENT="zeus wpi, informatica, universiteit gent">
2016-09-03 16:42:58 +02:00
<META NAME="Description" CONTENT="Studentenvereniging van de informatica aan de Universiteit Gent. Informatie over o.a. Linux (downloads en lessen), programmeren, en internetbeveiliging.">
2016-09-02 00:22:01 +02:00
<% end %>
2017-04-23 15:27:43 +02:00
<% content_for :scripts do %>
<%= asset :js, :gamification %>
<% end %>
2016-08-30 22:48:58 +02:00
<div id="homepage">
<div class="tile is-vertical is-ancestor">
2017-02-06 14:15:06 +01:00
<%= if studytime? then render '/tiles/blokmap.*'end %>
2018-04-09 22:09:11 +02:00
<!--next event -->
<div class="tile is-parent">
<%= render '/partials/_events_tile.*', event: upcoming_events[0] || all_events[-1] %>
</div>
<div class="tile">
<!--top coders -->
<div class="tile is-parent is-6">
<div class="tile is-child box gamification-tile">
<div class="content">
<div class="tile-header">
<h1 class="has-text-centered">
<a href="https://zeus.ugent.be/game">
<i class="fa fa-trophy" aria-hidden="true"></i>
</a>
</h1>
</div>
<div id="gamification-coders" >
<!-- EMPTY -->
2017-02-07 20:38:51 +01:00
</div>
2016-10-13 20:05:28 +02:00
</div>
</div>
</div>
2018-04-09 22:09:11 +02:00
<!-- latest blogpost -->
<div class="tile is-6 is-parent">
2018-04-14 23:33:56 +02:00
<%= render '/partials/_blog_preview.*', post: sorted_articles.first %>
</div>
2018-04-09 22:09:11 +02:00
</div>
<div class="tile">
<div class="tile is-vertical">
<% all_events.reject { |x| x == (upcoming_events[0] || all_events[-1]) }.reverse[0..2].each do |event| %>
<div class="tile is-parent ">
<%= render '/partials/_events_tile.*', event: event %>
2016-08-27 20:15:00 +02:00
</div>
2017-02-08 11:15:44 +01:00
<%end%>
2018-04-09 22:09:11 +02:00
</div>
<div class="tile is-vertical">
<% sorted_articles[1..3].each do |post| %>
<div class="tile is-parent ">
2018-04-14 23:33:56 +02:00
<%= render '/partials/_blog_preview.*', post: post %>
2017-02-08 11:15:44 +01:00
</div>
2018-04-09 22:09:11 +02:00
<%end%>
2017-02-08 11:15:44 +01:00
</div>
2018-04-09 22:09:11 +02:00
</div>
2017-02-08 11:15:44 +01:00
</div>
</div>