zeus.ugent.be/content/index.erb

77 lines
2.5 KiB
Plaintext
Raw Normal View History

2016-09-01 22:22:01 +00: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 14:42:58 +00: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-01 22:22:01 +00:00
<% end %>
2016-08-30 20:48:58 +00:00
<div id="homepage">
<div class="tile is-vertical is-ancestor">
2017-02-06 13:15:06 +00:00
<%= if studytime? then render '/tiles/blokmap.*'end %>
2017-02-07 19:38:51 +00:00
<div class="tile">
<!--top coders -->
<div class="tile is-parent is-4">
2017-02-08 10:25:06 +00:00
<div class="tile is-child box ">
2017-02-07 19:38:51 +00:00
<div class="content">
2017-02-08 15:31:17 +00:00
<h1 class="has-text-centered">
<a href="https://zeus.ugent.be/game">
Top Zeus WPI coders this week
</a>
</h1>
2017-02-07 19:38:51 +00:00
<div id="gamification-coders" >
<!-- EMPTY -->
</div>
</div>
2016-10-13 18:05:28 +00:00
</div>
</div>
2017-02-07 19:38:51 +00:00
<!--next event -->
2017-02-16 15:04:00 +00:00
<div class="tile is-parent is-4">
<%= render '/partials/_events_tile.*', event: upcoming_events[0] || all_events[-1] %>
2017-02-07 19:38:51 +00: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 18:05:28 +00:00
</div>
2017-02-07 19:38:51 +00:00
<div class="tile">
2017-02-08 10:15:44 +00:00
<div class="tile is-vertical">
2017-02-16 12:14:14 +00:00
<% all_events.reject { |x| x == upcoming_events[0] }.reverse[0..2].each do |event| %>
2017-02-16 15:04:00 +00:00
<div class="tile is-parent ">
<%= render '/partials/_events_tile.*', event: event %>
2016-10-03 20:33:52 +00:00
</div>
2017-02-16 15:04:00 +00:00
<%end%>
2016-08-27 18:15:00 +00:00
</div>
2017-02-08 10:15:44 +00:00
<div class="tile is-vertical">
2017-02-08 12:50:59 +00:00
<% sorted_articles[1..3].each do |post| %>
2017-02-08 10:15:44 +00:00
<div class="tile is-parent ">
<%= render '/partials/_tile.*',
2017-02-08 12:50:59 +00:00
article: post,
2017-02-08 15:34:30 +00:00
small_text: "Blogpost"%>
2017-02-08 10:15:44 +00:00
</div>
<%end%>
</div>
</div>
</div>
</div>
<%= asset :js, :gamification %>
<!--
2017-02-08 10:15:44 +00:00
<%= asset :js, :quote %>
-->
2017-02-08 12:50:59 +00:00
<!--
2017-02-08 10:15:44 +00:00
2017-02-07 19:38:51 +00: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 10:15:44 +00:00
-->