add img to events

This commit is contained in:
Eloïse Piret 2016-09-13 17:13:43 +02:00
parent 6b5bb351c1
commit ec7bc435b1
3 changed files with 36 additions and 15 deletions

2
.bundle/config Normal file
View file

@ -0,0 +1,2 @@
---
BUNDLE_WITHOUT: "production"

View file

@ -11,3 +11,11 @@
height: 400px;
}
}
.banner-image{
justify-content: center;
display: flex;
img{
height: 256px;
}
}

View file

@ -9,22 +9,33 @@
<div class="hero-head">
<%= render '/partials/_navbar.*', zeus_logo_color: :white %>
</div>
<div class="hero-body">
<div class="hero-body ">
<div class="container">
<p class="title is-1">
<b>
<%= item[:title] %>
</b>
</p>
<p class="subtitle is-3">
<%= item[:description] %>
</p>
<p class="subtitle is-3">
<ul class="fa-ul">
<li><%= fa 'clock-o', li: true %><%= item[:time] %></li>
<li><%= fa 'globe', li: true %><%= item[:location] %></li>
</ul>
</p>
<div class="columns">
<div class="column">
<p class="title is-1">
<b>
<%= item[:title] %>
</b>
</p>
<p class="subtitle is-3">
<%= item[:description] %>
</p>
<p class="subtitle is-3">
<ul class="fa-ul">
<li><%= fa 'clock-o', li: true %><%= item[:time] %></li>
<li><%= fa 'globe', li: true %><%= item[:location] %></li>
</ul>
</p>
</div>
<div class="is-narrow column banner-image">
<img src=<%= item[:banner] %> >
</div>
</div>
</div>
</div>
</section>