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

Add .nav-link to links in the header #1150

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
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
4 changes: 2 additions & 2 deletions app/views/shared/_brand_navbar.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<nav class="navbar navbar-expand-md bg-dark bg-cardinal" 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 nav-link" href="https://library.stanford.edu">Stanford 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">
<span class="navbar-toggler-icon"></span>
</button>
Expand Down Expand Up @@ -28,7 +28,7 @@
<div class="container">
<div class="row align-items-center">
<div class="col-md-8 d-flex justify-content-center justify-content-md-start">
<div class="h1 my-4"><a href="/">Stanford Digital Repository</a></div>
<div class="h1 my-4"><a class="nav-link" href="/">Stanford Digital Repository</a></div>
</div>
</div>
</div>
Expand Down