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,8 +9,12 @@
<div class="hero-head">
<%= render '/partials/_navbar.*', zeus_logo_color: :white %>
</div>
<div class="hero-body">
<div class="hero-body ">
<div class="container">
<div class="columns">
<div class="column">
<p class="title is-1">
<b>
<%= item[:title] %>
@ -26,6 +30,13 @@
</ul>
</p>
</div>
<div class="is-narrow column banner-image">
<img src=<%= item[:banner] %> >
</div>
</div>
</div>
</div>
</section>