Merge pull request #334 from ZeusWPI/fix/valid-html

Make HTML valid
This commit is contained in:
Wout Schellaert 2019-06-07 11:40:30 +02:00 committed by GitHub
commit 3281a550c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 15 additions and 17 deletions

View file

@ -78,5 +78,5 @@ title: Cammie
Send to kelder Send to kelder
</a> </a>
</div> </div>
<div> </div>
</section> </section>

View file

@ -44,25 +44,23 @@ contact_links:
<div class="content"> <div class="content">
<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'> <li id='<%= option[:description] %>' class='contact-circle-option column is-one-quarter-desktop is-one-third-tablet is-half-mobile'>
<li 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> </li>
</div>
<% end %> <% end %>
</ul> </ul>