Merge pull request #205 from ZeusWPI/event/techz_talks
Event/techz talks
This commit is contained in:
commit
3e0c6cd77d
2 changed files with 11 additions and 7 deletions
|
@ -1,16 +1,15 @@
|
||||||
---
|
---
|
||||||
title: 'The Web We Take for Granted'
|
title: 'The Web We Take for Granted'
|
||||||
description: Two experts come to talk about our internet freedom and how it is in immediate danger.
|
description: Two experts discuss how our online freedom is in immediate danger.
|
||||||
created_at: 19-10-2017
|
created_at: 19-10-2017
|
||||||
time: '23-11-2017 19:30'
|
time: '23-11-2017 19:30'
|
||||||
end: '22-11-2017 21:00'
|
end: '23-11-2017 21:00'
|
||||||
location: 'Auditorium D, Jozef Plateaustraat 22, 9000 Gent'
|
location: 'Auditorium D, Jozef Plateaustraat 22, 9000 Gent'
|
||||||
locationlink: 'Faculteit Ingenieurswetenschappen en Architectuur'
|
locationlink: 'Faculteit Ingenieurswetenschappen en Architectuur'
|
||||||
facebook: 'https://www.facebook.com/events/313118845828839/'
|
facebook: 'https://www.facebook.com/events/313118845828839/'
|
||||||
color: '#282825'
|
color: '#aea485'
|
||||||
image: 'https://zeus.ugent.be/zeuswpi/K4DI_hEf.png'
|
gradient: false
|
||||||
# image: 'https://zeus.ugent.be/zeuswpi/jXnkucIH.png' #(inverted)
|
image: 'https://zeus.ugent.be/zeuswpi/YkUgUTuQ.png'
|
||||||
# banner: 'https://zeus.ugent.be/zeuswpi/JLMprrIc.png'
|
|
||||||
---
|
---
|
||||||
|
|
||||||
This event is part of the [TeCH TalkZ](<%= @items['/blog/17-18/tech-talkz.md'].path %>), a collaboration between the two student associations Zeus WPI and CenEka.
|
This event is part of the [TeCH TalkZ](<%= @items['/blog/17-18/tech-talkz.md'].path %>), a collaboration between the two student associations Zeus WPI and CenEka.
|
||||||
|
|
|
@ -17,7 +17,12 @@
|
||||||
<% if item[:banner] %>
|
<% if item[:banner] %>
|
||||||
<section class="hero is-medium is-primary is-bold" style="background-image:url('<%= item[:banner] %>');background-position:center;">
|
<section class="hero is-medium is-primary is-bold" style="background-image:url('<%= item[:banner] %>');background-position:center;">
|
||||||
<% elsif item[:color] %>
|
<% elsif item[:color] %>
|
||||||
<section class="hero is-medium is-primary is-bold" style="background-image: linear-gradient(to top right,rgba(255,255,255,0),rgba(0,0,0,.60)); background-color:<%= item[:color] %>;">
|
<% gradient = if item[:gradient].nil? || item[:gradient]
|
||||||
|
'linear-gradient(to top right,rgba(255,255,255,0),rgba(0,0,0,.60))'
|
||||||
|
else
|
||||||
|
'none'
|
||||||
|
end %>
|
||||||
|
<section class="hero is-medium is-primary is-bold" style="background-image: <%= gradient %>; background-color:<%= item[:color] %>;">
|
||||||
<% else %>
|
<% else %>
|
||||||
<section class="hero is-medium is-primary is-bold">
|
<section class="hero is-medium is-primary is-bold">
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
Loading…
Reference in a new issue