zeus.ugent.be/content/index.erb

71 lines
2.6 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">
<div class="tile is-child box highlighted">
<div class="content">
<h1 class="has-text-centered"><a href="https://zeus.ugent.be/game">Top Zeus WPI coders this week</a></h1>
<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-07 22:30:11 +00:00
<div class="tile is-parent is-4" >
2017-02-07 19:38:51 +00:00
<%= render '/partials/_tile.*',
article: upcoming_events[0] || all_events[-1],
2017-02-07 22:30:11 +00:00
small_text: if upcoming_events[0] then "Upcoming event" else "Past event" end%>
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">
<div class="tile is-parent is-4">
<div class="tile is-child box centering">
<div class="content has-text-centered">
<div id="quote" >
<!-- INTENTIONALLY LEFT BLANK -->
</div>
2016-10-04 14:06:26 +00:00
</div>
2016-10-03 20:33:52 +00:00
</div>
2016-08-27 18:15:00 +00:00
</div>
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>
2016-08-27 18:15:00 +00:00
</div>
2017-02-07 19:38:51 +00:00
<div class="tile">
<div class="tile is-vertical">
<div class="tile is-parent">
2017-02-07 22:30:11 +00:00
<%= render '/partials/_tile.*',
article: upcoming_events[1] || all_events[-2],
small_text: if upcoming_events[1] then "Upcoming event" else "Past event" end %>
2017-02-07 19:38:51 +00:00
</div>
2016-08-27 18:15:00 +00:00
</div>
2016-07-27 18:27:28 +00:00
</div>
2016-06-17 23:43:41 +00:00
</div>
2016-07-05 20:13:14 +00:00
</div>
2016-10-03 12:41:36 +00:00
<%= asset :js, :gamification %>
2016-10-03 20:33:52 +00:00
<%= asset :js, :quote %>