Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to latest version of component library #606

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<%= csrf_meta_tags %>
<%= content_for(:head) %>
<%= stylesheet_link_tag "application" %>
<%= stylesheet_link_tag "https://cdn.jsdelivr.net/gh/sul-dlss/component-library@v2024-09-04/styles/sul.css" %>
<%= stylesheet_link_tag "https://cdn.jsdelivr.net/gh/sul-dlss/component-library@v2024-12-18/styles/sul.css" %>
<%= javascript_importmap_tags %>
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-B544ZKTH0M"></script>
Expand Down
7 changes: 2 additions & 5 deletions app/views/shared/_sul_footer.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@
<div class="row">
<div id="sul-footer-img"
class="col-sm-12 col-md-5 col-lg-4 col-xl-3 d-flex justify-content-center justify-content-md-start">
<a href="https://library.stanford.edu">
<img alt="Stanford Libraries" height="45"
src="https://cdn.jsdelivr.net/gh/sul-dlss/component-library@v2024-09-04/styles/StanfordLibraries-logo-whitetext.svg">
</a>
<a href="https://library.stanford.edu" class="prefooter-logo">Stanford University Libraries</a>
</div>
<div class="col d-flex justify-content-md-start justify-content-center">
<ul class="list-unstyled d-flex mt-3 mt-md-1 mt-lg-3 ms-xl-3 text-center">
Expand Down Expand Up @@ -108,4 +105,4 @@
</div>
</div>
</div>
</footer>
</footer>
10 changes: 4 additions & 6 deletions app/views/shared/_top_navbar.html.erb
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
<nav id="skip-link" role="navigation" aria-label="Skip links">
<div class="container-xl">
<a class="visually-hidden-focusable element-invisible element-focusable d-inline-flex m-1 py-2 px-3"
data-turbolinks="false" href="#main-container">Skip to main content</a>
</div>
<a class="visually-hidden-focusable rounded-bottom m-1 py-2 px-3"
href="#main-container">Skip to main content</a>
</nav>
<header>
<div class="container">
<a class="su-brand-bar__logo" href="https://www.stanford.edu">Stanford University</a>
</div>
<nav class="navbar navbar-expand-md bg-dark" role="navigation">
<div class="container">
<a class="mb-0 navbar-brand navbar-logo" href="https://library.stanford.edu">Stanford Libraries</a>
<a class="mb-0 navbar-brand navbar-logo" href="https://library.stanford.edu">Stanford University Libraries</a>
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-bs-toggle="collapse"
data-target="#user-util-collapse" data-bs-target="#user-util-collapse" aria-controls="user-util-collapse"
aria-expanded="false" aria-label="Toggle navigation">
Expand Down Expand Up @@ -39,4 +37,4 @@
<%= render "shared/feedback_forms/form" %>
</div>
<% end %>
</header>
</header>
Loading