Skip to content

Commit

Permalink
Merge pull request #144 from datacite/update-footer-links
Browse files Browse the repository at this point in the history
Update footer template
  • Loading branch information
svogt0511 authored Sep 28, 2023
2 parents d1ee49d + 2473d69 commit 56d5884
Showing 1 changed file with 19 additions and 16 deletions.
35 changes: 19 additions & 16 deletions app/views/layouts/datacite/_footer.html.erb
Original file line number Diff line number Diff line change
@@ -1,55 +1,58 @@
<div class='row footer'>
<div class="container-fluid">
<div class='col-sm-3'>
<h4>About DataCite</h4>
<h4>About Us</h4>
<ul>
<% settings.about_links.each do |link| %>
<li><%= link_to link.name, "#{ENV["HOMEPAGE_URL"]}#{link.url}" %></a></li>
<li><%= link_to link.name, link.url %></a></li>
<% end %>
</ul>
</div>
<div class='col-sm-3'>
<h4>Services</h4>
<h4>Work With Us</h4>
<ul>
<% settings.services_links.each do |link| %>
<li><%= link_to link.name, "#{ENV["HOMEPAGE_URL"]}#{link.url}" %></a></li>
<li><%= link_to link.name, link.url %></a></li>
<% end %>
</ul>
</div>
<div class='col-sm-3'>
<h4>Resources</h4>
<h4>Membership</h4>
<ul>
<% settings.resources_links.each do |link| %>
<% settings.community_links.each do |link| %>
<li><%= link_to link.name, link.url %></a></li>
<% end %>
</ul>
<h4>Community</h4>
<h4>Resources</h4>
<ul>
<% settings.community_links.each do |link| %>
<li><%= link_to link.name, "#{ENV["HOMEPAGE_URL"]}#{link.url}" %></a></li>
<% settings.resources_links.each do |link| %>
<li><%= link_to link.name, link.url %></a></li>
<% end %>
</ul>
</div>
<div class='col-sm-3'>
<h4 class="share">Contact us</h4>
<h4 class="share">Contact Us</h4>
<a href='mailto:support@datacite.org' class="share">
<i class='fas fa-envelope'></i>
</a>
<a href='https://blog.datacite.org' class="share">
<a href='https://datacite.org/blog/' class="share">
<i class='fas fa-blog'></i>
</a>
<a href='https://twitter.com/datacite' class="share">
<i class='fab fa-twitter'></i>
</a>
<a href='https://github.com/datacite/datacite' class="share">
<i class='fab fa-github'></i>
</a>
<a href='https://www.youtube.com/channel/UCVsSDZhIN_WbnD_v5o9eB_A' class="share">
<i class='fab fa-youtube'></i>
<a href='https://twitter.com/datacite' class="share">
<svg xmlns="http://www.w3.org/2000/svg" height="1em" viewBox="0 0 512 512" style="fill: #a3acb2;position: relative;bottom: -3;"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path d="M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z"></path></svg>
</a>
<a href="https://openbiblio.social/@datacite" class="share">
<i class='fab fa-mastodon'></i>
</a>
<a href='https://www.linkedin.com/company/datacite' class="share">
<i class='fab fa-linkedin'></i>
</a>
<a href='https://www.youtube.com/@DataCiteChannel' class="share">
<i class='fab fa-youtube'></i>
</a>
<ul class="share">
<% settings.contact_links.each do |link| %>
<li><%= link_to link.name, "#{ENV["HOMEPAGE_URL"]}#{link.url}" %></a></li>
Expand Down

0 comments on commit 56d5884

Please sign in to comment.