2020-01-13 14:31:30 +01:00
|
|
|
<div class="tile box highlighted"
|
|
|
|
<% 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] %>;"
|
|
|
|
<% else %>
|
|
|
|
style="background-image: linear-gradient(to top right,rgba(255,255,255,0),rgba(0,0,0,.60)); background-color: lightgrey;"
|
|
|
|
<% end %>
|
|
|
|
>
|
2019-12-06 20:37:33 +01:00
|
|
|
<div class="content event-content">
|
2020-01-13 14:31:30 +01:00
|
|
|
<% if @event[:image] %>
|
2019-12-06 20:37:33 +01:00
|
|
|
<img class="event-tile-image" src="<%= @event[:image] %>" alt="">
|
|
|
|
<% end %>
|
2020-01-13 14:31:30 +01:00
|
|
|
<div class="has-text-centered">
|
|
|
|
<h3><%= @event[:title] %></h3>
|
|
|
|
<p><%= @event[:description] %></p>
|
2019-12-06 20:37:33 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-01-13 14:31:30 +01:00
|
|
|
</div>
|