add img to events
This commit is contained in:
parent
6b5bb351c1
commit
ec7bc435b1
3 changed files with 36 additions and 15 deletions
2
.bundle/config
Normal file
2
.bundle/config
Normal file
|
@ -0,0 +1,2 @@
|
|||
---
|
||||
BUNDLE_WITHOUT: "production"
|
|
@ -11,3 +11,11 @@
|
|||
height: 400px;
|
||||
}
|
||||
}
|
||||
|
||||
.banner-image{
|
||||
justify-content: center;
|
||||
display: flex;
|
||||
img{
|
||||
height: 256px;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue