Fix some HTML in contacts page

This commit is contained in:
Niko Strijbol 2019-05-22 19:38:33 +02:00
parent 045c3573ad
commit 2ff1c56704
No known key found for this signature in database
GPG key ID: 1A8AEBABD9012251

View file

@ -35,29 +35,28 @@ contact_links:
<% content_for :head do %> <% content_for :head do %>
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.3.4/dist/leaflet.css" /> <link rel="stylesheet" href="https://unpkg.com/leaflet@1.3.4/dist/leaflet.css" />
<script src="https://unpkg.com/leaflet@1.3.4/dist/leaflet.js"></script> <script src="https://unpkg.com/leaflet@1.3.4/dist/leaflet.js"></script>
<script src="https://unpkg.com/leaflet@1.3.4/dist/leaflet.js"></script>
<% end %> <% end %>
<%= render '/partials/_about_sub_navbar.*', selected: 'contact' %> <%= render '/partials/_about_sub_navbar.*', selected: 'contact' %>
<h1 class='title is-1 has-text-centered'>Contact us</h1> <h1 class='title is-1 has-text-centered'>Contact us</h1>
<h2 class='subtitle is-4 has-text-centered has-text-weight-light'>bleep bloop</h1> <h2 class='subtitle is-4 has-text-centered has-text-weight-light'>bleep bloop</h2>
<!-- Contact buttons --> <!-- Contact buttons -->
<ul id='contact-icons' class='columns is-centered is-multiline'> <ul id='contact-icons' class='columns is-centered is-multiline'>
<% @item[:contact_links].each do |option| %> <% @item[:contact_links].each do |option| %>
<div class='column is-one-quarter-desktop is-one-third-tablet is-half-mobile'> <div class='column is-one-quarter-desktop is-one-third-tablet is-half-mobile'>
<li id='<%= option[:description] %>' class='contact-circle-option'> <div id='<%= option[:description] %>' class='contact-circle-option'>
<a href='<%= option[:link] %>' class='contact-circle-wrapper'> <a href='<%= option[:link] %>' class='contact-circle-wrapper'>
<div class='contact-circle is-centered'> <div class='contact-circle is-centered'>
<div class='contact-circle-pulse grow'></div> <div class='contact-circle-pulse grow'></div>
<%= fa option[:icon], size: @item[:icon_size], class: 'grow-large' %> <%= fa option[:icon], size: @item[:icon_size], class: 'grow-large' %>
</div> </div>
</a> </a>
<h4 class='contact-description is-uppercase'><%= option[:description] %></h3> <h4 class='contact-description is-uppercase'><%= option[:description] %></h4>
<p class='has-text-centered'> <p class='has-text-centered'>
<a href='<%= option[:link] %>' class='contact-text-link is-link'><%= option[:action] %></a> <a href='<%= option[:link] %>' class='contact-text-link is-link'><%= option[:action] %></a>
</p> </p>
</li> </div>
</div> </div>
<% end %> <% end %>
</ul> </ul>