change upper layout
This commit is contained in:
parent
57a1f53f31
commit
57f6cf9aee
|
@ -7,50 +7,61 @@
|
||||||
<div id="homepage">
|
<div id="homepage">
|
||||||
<div class="tile is-vertical is-ancestor">
|
<div class="tile is-vertical is-ancestor">
|
||||||
<%= if studytime? then render '/tiles/blokmap.*'end %>
|
<%= if studytime? then render '/tiles/blokmap.*'end %>
|
||||||
<div class="tile is-parent is-12">
|
<div class="tile">
|
||||||
<div class="tile is-child box highlighted">
|
<!--top coders -->
|
||||||
<div class="content">
|
<div class="tile is-parent is-4">
|
||||||
<h1 class="has-text-centered"><a href="https://zeus.ugent.be/game">Top Zeus WPI coders this week</a></h1>
|
<div class="tile is-child box highlighted">
|
||||||
<div id="gamification-coders" >
|
<div class="content">
|
||||||
<!-- EMPTY -->
|
<h1 class="has-text-centered"><a href="https://zeus.ugent.be/game">Top Zeus WPI coders this week</a></h1>
|
||||||
</div>
|
<div id="gamification-coders" >
|
||||||
</div>
|
<!-- EMPTY -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
<div class="tile">
|
|
||||||
<div class="tile is-parent is-4">
|
|
||||||
<%= render '/partials/_tile.*', article: upcoming_events[0] || all_events[-1], small_text: if upcoming_events[0] then "Upcoming event" else "Past event" end %>
|
|
||||||
</div>
|
|
||||||
<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>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<!--next event -->
|
||||||
<div class="tile is-parent is-2">
|
<div class="tile is-parent is-4">
|
||||||
<a class="tile box is-child imgcenter project-tile" href="/projects/#12urenloop">
|
<%= render '/partials/_tile.*',
|
||||||
<%= asset :img, '12urenloop.png' %>
|
article: upcoming_events[0] || all_events[-1],
|
||||||
</a>
|
small_text: if upcoming_events[0] then "Upcoming event" else "Past event" end %>
|
||||||
</div>
|
</div>
|
||||||
<div class="tile is-parent is-2">
|
|
||||||
<a class="tile is-child imgcenter box hydra-tile" href="/projects/#hydra">
|
<!-- latest blogpost -->
|
||||||
<%= asset :img, 'hydra-logo.svg' %>
|
<div class="tile is-4 is-parent">
|
||||||
</a>
|
<%= render '/partials/_tile.*',
|
||||||
</div>
|
article: sorted_articles.first,
|
||||||
</div>
|
small_text: "Latest blogpost",
|
||||||
<div class="tile">
|
htmlclass:"highlighted"%>
|
||||||
<div class="tile is-4 is-parent">
|
</div>
|
||||||
<%= render '/partials/_tile.*', article: sorted_articles.first, small_text: "Latest blogpost",htmlclass:"highlighted"%>
|
</div>
|
||||||
</div>
|
<div class="tile">
|
||||||
<div class="tile is-vertical">
|
<div class="tile is-parent is-4">
|
||||||
<div class="tile is-parent">
|
<div class="tile is-child box centering">
|
||||||
<%= render '/partials/_tile.*', article: upcoming_events[1] || all_events[-2], small_text: if upcoming_events[1] then "Upcoming event" else "Past event" end %>
|
<div class="content has-text-centered">
|
||||||
|
<div id="quote" >
|
||||||
|
<!-- INTENTIONALLY LEFT BLANK -->
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<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>
|
||||||
|
</div>
|
||||||
|
<div class="tile">
|
||||||
|
<div class="tile is-vertical">
|
||||||
|
<div class="tile is-parent">
|
||||||
|
<%= render '/partials/_tile.*', article: upcoming_events[1] || all_events[-2], small_text: if upcoming_events[1] then "Upcoming event" else "Past event" end %>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<%= asset :js, :gamification %>
|
<%= asset :js, :gamification %>
|
||||||
|
|
Loading…
Reference in a new issue