Skip to content

Commit

Permalink
Improve styling of help page
Browse files Browse the repository at this point in the history
Drop the redundant links in the footer and turn the title
into a header and extend it to cover the whole card.
  • Loading branch information
tomhughes committed Jan 26, 2024
1 parent 6766917 commit bf9713b
Showing 1 changed file with 5 additions and 12 deletions.
17 changes: 5 additions & 12 deletions app/views/site/help.html.erb
Expand Up @@ -11,21 +11,14 @@
<% sites.each do |site| %>
<div class="col">
<div class='<%= site %> help-item card h-100'>
<h6 class='card-header'>
<a href='<%= t ".#{site}.url" %>' class='stretched-link'>
<%= t ".#{site}.title" %>
</a>
</h6>
<div class='card-body'>
<h6 class='card-title'>
<a href='<%= t ".#{site}.url" %>'>
<%= t ".#{site}.title" %>
</a>
</h6>
<p class='card-text'><%= t ".#{site}.description" %></p>
</div>
<div class="card-footer">
<small>
<a href='<%= t ".#{site}.url" %>'>
<%= t ".#{site}.url" %>
</a>
</small>
</div>
</div>
</div>
<% end %>
Expand Down

0 comments on commit bf9713b

Please sign in to comment.