This commit is contained in:
ajuvercr 2019-12-06 22:14:02 +01:00
parent 18afac1ebb
commit afdfa98695
6 changed files with 35 additions and 11 deletions

View file

@ -55,7 +55,7 @@ $top_coder_size: 80px;
.content { .content {
color: white; color: white;
h1, h2 { h1, h2, h3 {
color: inherit; color: inherit;
} }
a, a:visited { a, a:visited {
@ -130,7 +130,7 @@ $top_coder_size: 80px;
.content { .content {
position: relative; position: relative;
h1, h2 { h1, h2, h3 {
color: white; color: white;
} }

View file

@ -0,0 +1,7 @@
---
title: 'Capture The Flag II'
description: Zeus CTF in aanloop naar de Belgische Cybersecuritychallenge
time: '12-11-2019 18:00'
location: 'Kelder Zeus WPI'
soon: true
---

View file

@ -0,0 +1,8 @@
---
title: Game Development - Godot
description: Maak je eerste spel met Godot, we focussen op Flappy Bird!
color: '#478CBF'
time: '12-11-2019 18:00'
location: 'Kelder Zeus WPI'
soon: true
---

View file

@ -0,0 +1,8 @@
---
title: Spelletjesavond
description: Kom samen met andere Zeussers en Zeusinnen spelletjes spelen!
color: lightblue
time: '12-11-2019 18:00'
location: 'Kelder Zeus WPI'
soon: true
---

View file

@ -64,25 +64,27 @@
<% unless soon_events().empty? %> <% unless soon_events().empty? %>
<div class="column is-3 is-narrow"> <div class="column is-3 is-narrow">
<aside class="menu"> <div class="menu">
<p class="menu-label"> <div class="content">
<h1>
Soon TM. Soon TM.
</p> </h1>
</div>
<% soon_events().each do |event| %> <% soon_events().each do |event| %>
<div class="tile box" <div class="tile box highlighted"
<% if event[:color] %> <% if event[:color] %>
style="background-image: linear-gradient(to top right,rgba(255,255,255,0),rgba(0,0,0,.60)); background-color:<%= event[:color] %>;" style="background-image: linear-gradient(to top right,rgba(255,255,255,0),rgba(0,0,0,.60)); background-color:<%= event[:color] %>;"
<% else %> <% else %>
style="background-image: linear-gradient(to top right,rgba(255,255,255,0),rgba(0,0,0,.60)); background-color:'light-grey';" style="background-image: linear-gradient(to top right,rgba(255,255,255,0),rgba(0,0,0,.60)); background-color:'light-grey';"
<% end %> <% end %>
> >
<div class="content event-content"> <div class="content event-content has-text-centered">
<h3><%= event[:title] %></h3> <h3 style="color: white;"><%= event[:title] %></h3>
<p><%= event[:description] %></p> <p><%= event[:description] %></p>
</div> </div>
</div> </div>
<% end %> <% end %>
</aside> </div>
</div> </div>
<% end %> <% end %>
</div> </div>

View file

@ -5,7 +5,6 @@ module PreprocessHelper
time: 'An event item should include the :time attribute, which describes the begin time and date of the event.', time: 'An event item should include the :time attribute, which describes the begin time and date of the event.',
title: 'The event does not include a :title', title: 'The event does not include a :title',
location: 'The event should include a :location, a textual description', location: 'The event should include a :location, a textual description',
locationlink: 'The event does not include a :locationlink, which is a querystring which is used for Google Maps'
} }
} }
end end