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 %>
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-07 23:30:11 +01:00
<div class="tile is-parent is-4" >
2017-02-07 20:38:51 +01:00
<%= render '/partials/_tile.*',
article: upcoming_events[0] || all_events[-1],
2017-02-07 23:30:11 +01:00
small_text: if upcoming_events[0] then "Upcoming event" else "Past event" end%>
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-02-16 13:14:14 +01:00
<% all_events.reject { |x| x == upcoming_events[0] }.reverse[0..2].each do |event| %>
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: event,
small_text: upcoming_events.include?(event) ? "Upcoming event" : "Past event",
htmlclass:"highlighted" %>
2016-10-03 22:33:52 +02:00
</div>
2017-02-08 11:15:44 +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>
<%= asset :js, :gamification %>
2017-02-08 17:16:56 +01:00
<!--
2017-02-08 11:15:44 +01:00
<%= asset :js, :quote %>
2017-02-08 17:16:56 +01:00
-->
2017-02-08 13:50:59 +01:00
<!--
2017-02-08 11:15:44 +01:00
2017-02-07 20:38:51 +01:00
<div class="tile is-parent is-2">
<a class="tile box is-child imgcenter project-tile" href="/projects/#12urenloop">
<%= asset :img, '12urenloop.png' %>
</a>
</div>
<div class="tile is-parent is-2">
<a class="tile is-child imgcenter box hydra-tile" href="/projects/#hydra">
<%= asset :img, 'hydra-logo.svg' %>
</a>
</div>
2017-02-08 11:15:44 +01:00
-->