psu-libraries/psulib_blacklight

View on GitHub
app/components/external_links/psu_collections_links_component.html.erb

Summary

Maintainability
Test Coverage
<div class="bs-callout bs-callout-psu">
  <h5><%= heading %></h5>

  <%= image_pack_tag('static/psulib_blacklight/images/psu-shield.png',
                     alt: 'Penn State Shield',
                     class: 'mr-3') %>

  <ul class="external-links-psu-collections">
    <% links.map do |item| %>
        <%= render ExternalLinks::LinkComponent.new(item) %>
    <% end %>
  </ul>
</div>