Skip to content

Commit

Permalink
Merge pull request #197 from scientist-softserv/fixfooterlinkorder
Browse files Browse the repository at this point in the history
made footer links match top links order
  • Loading branch information
ckarpinski authored Nov 29, 2023
2 parents 2ad14dd + 33e7aa4 commit 0862749
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions app/views/shared/_footer.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
<div class = 'col-xs-6 col-md-2 footer-link' <%= 'class=active' if current_page?(hyrax.about_path) %>>
<%= link_to t(:'hyrax.controls.about'), hyrax.about_path, aria: current_page?(hyrax.about_path) ? {current: 'page'} : nil %>
</div>
<div class = 'col-xs-6 col-md-2 footer-link' <%= 'class=active' if current_page?(hyrax.contact_path) %>>
<%= link_to t(:'hyrax.controls.contact'), hyrax.contact_path, aria: current_page?(hyrax.contact_path) ? {current: 'page'} : nil %>
</div>
<div class = 'col-xs-6 col-md-2 footer-link' <%= 'class=active' if current_page?(hyrax.help_path) %>>
<%= link_to t(:'hyrax.controls.help'), hyrax.help_path, aria: current_page?(hyrax.help_path) ? {current: 'page'} : nil %>
</div>
<div class = 'col-xs-6 col-md-2 footer-link' <%= 'class=active' if current_page?(hyrax.contact_path) %>>
<%= link_to t(:'hyrax.controls.contact'), hyrax.contact_path, aria: current_page?(hyrax.contact_path) ? {current: 'page'} : nil %>
</div>
<div class = 'col-xs-6 col-md-4 footer-link'>
<%= link_to t(:'hyrax.pages.tabs.terms_page'), hyrax.terms_path %>
</div>
Expand All @@ -34,16 +34,16 @@
About
<% end %>
</div>
<div class = 'col-xs-4 col-md-3 footer-link'>
<%= link_to "https://www.atla.com/about/contact-us/" do %>
Contact
<% end %>
</div>
<div class = 'col-xs-4 col-md-3 footer-link'>
<%= link_to "//#{host_for('shared-search')}/help" do %>
Help
<% end %>
</div>
<div class = 'col-xs-4 col-md-3 footer-link'>
<%= link_to "https://www.atla.com/about/contact-us/" do %>
Contact
<% end %>
</div>
<% end %>
<%# END LINKS ONLY VISIBLE IN SPLASH CONTROLLER %>
</div><!-- /.nav -->
Expand Down

0 comments on commit 0862749

Please sign in to comment.