<% content_for :head do %> <% if item[:image] %> <% end %> <% end %> <% if item[:banner] %>
<% elsif item[:color] %> <% gradient = if item[:gradient].nil? || item[:gradient] 'linear-gradient(141deg,rgba(255,255,255,0),rgba(0,0,0,.60))' else 'none' end %>
<% else %>
<% end %>
<%= render '/partials/_navbar.*', zeus_logo_color: :white, transparent_nav: true %>
style="background-color: <%= item[:header_text_background_color] %>" <% end %>>

<%= item[:title] %> <% if item[:facebook] %> <%= fa :facebook %> <% end %> <%= fa :calendar %>

<%= item[:description] %>

  • <%= fa 'clock-o', li: true %> <%= item[:time].strftime '%A %d %B %Y %H:%M' %> <% if item[:end] %> - <% if (item[:end].strftime '%d %B %Y') != (item[:time].strftime '%d %B %Y') %> <%= item[:end].strftime '%d %B ' %> <% end %> <% if (item[:end].strftime '%Y') != (item[:time].strftime '%Y') %> <%= item[:end].strftime '%Y ' %> <% end %> <%= item[:end].strftime '%H:%M' %> <% end %>
  • <%= fa 'map-marker', li: true %><%= item[:location] %>
<% if item[:image] %> <% end %>
<%= yield %>
<% if item[:locationlink] %> <%= render '/partials/_map.erb', location: item[:locationlink] %> <% end %>
<% if item[:sponsors] %>

Sponsored by

<% @item[:sponsors].each do |sp| %> <%= sp[:name] %> <% end %>
<% end %>