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 %>
2017-02-07 20:38:51 +01:00
<div class="tile">
<!--top coders -->
<div class="tile is-parent is-4">
2017-02-08 11:25:06 +01:00
<div class="tile is-child box ">
2017-02-07 20:38:51 +01:00
<div class="content">
2017-02-08 16:31:17 +01:00
<h1 class="has-text-centered">
<a href="https://zeus.ugent.be/game">
Top Zeus WPI coders this week
</a>
</h1>
2017-02-07 20:38:51 +01:00
<div id="gamification-coders" >
<!-- EMPTY -->
</div>
</div>
2016-10-13 20:05:28 +02:00
</div>
</div>
2017-02-07 20:38:51 +01:00
<!--next event -->
2017-02-16 16:04:00 +01:00
<div class="tile is-parent is-4">
<%= render '/partials/_events_tile.*', event: upcoming_events[0] || all_events[-1] %>
2017-02-07 20:38:51 +01:00
</div>
<!-- latest blogpost -->
<div class="tile is-4 is-parent">
<%= render '/partials/_tile.*',
article: sorted_articles.first,
small_text: "Latest blogpost",
htmlclass:"highlighted"%>
</div>
2016-10-13 20:05:28 +02:00
</div>
2017-02-07 20:38:51 +01:00
<div class="tile">
2017-02-08 11:15:44 +01:00
<div class="tile is-vertical">
2017-10-02 19:56:38 +02:00
<% all_events.reject { |x| x == (upcoming_events[0] || all_events[-1]) }.reverse[0..2].each do |event| %>
2017-02-16 16:04:00 +01:00
<div class="tile is-parent ">
<%= render '/partials/_events_tile.*', event: event %>
2016-10-03 22:33:52 +02:00
</div>
2017-02-16 16:04:00 +01:00
<%end%>
2016-08-27 20:15:00 +02:00
</div>
2017-02-08 11:15:44 +01:00
<div class="tile is-vertical">
2017-02-08 13:50:59 +01:00
<% sorted_articles[1..3].each do |post| %>
2017-02-08 11:15:44 +01:00
<div class="tile is-parent ">
<%= render '/partials/_tile.*',
2017-02-08 13:50:59 +01:00
article: post,
2017-02-08 16:34:30 +01:00
small_text: "Blogpost"%>
2017-02-08 11:15:44 +01:00
</div>
<%end%>
</div>
</div>
</div>
</div>