-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2809 from sul-dlss/2772-header-navigation
have all navigation links appear in mobile menu, move mobile menu to …
- Loading branch information
Showing
6 changed files
with
63 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,38 @@ | ||
<header> | ||
<div class="identity-bar bg-cardinal"> | ||
<div class="container"> | ||
<a class="su-brand-bar__logo" href="https://www.stanford.edu">Stanford University</a> | ||
</div> | ||
</div> | ||
<nav | ||
class="navbar navbar-expand-md bg-light" | ||
<header> | ||
<div class="identity-bar bg-cardinal"> | ||
<div class="container"> | ||
<a class="su-brand-bar__logo" href="https://www.stanford.edu" | ||
>Stanford University</a | ||
> | ||
<div class="container"> | ||
<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" | ||
> | ||
<span class="navbar-toggler-icon"></span> | ||
</button> | ||
|
||
<div | ||
class="collapse navbar-collapse justify-content-md-end" | ||
id="user-util-collapse" | ||
> | ||
<%= render 'shared/user_util_links' %> | ||
</div> | ||
</div> | ||
</nav> | ||
</div> | ||
</div> | ||
<nav class="navbar navbar-expand-md bg-light"> | ||
<div class="container"> | ||
<a | ||
class="mb-0 navbar-brand navbar-logo" | ||
href="https://library.stanford.edu" | ||
>Stanford University Libraries</a | ||
> | ||
<button | ||
class="navbar-toggler navbar-toggler-right collapsed" | ||
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> | ||
|
||
<%= render 'shared/masthead' %> | ||
</header> | ||
<div | ||
class="d-md-block d-none" | ||
> | ||
<%= render 'shared/user_util_links' %> | ||
</div> | ||
</div> | ||
</nav> | ||
<%= render 'shared/masthead' %> | ||
</header> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters