Skip to content

Commit

Permalink
Hide the sign in link in the navbar
Browse files Browse the repository at this point in the history
Closes #1372
  • Loading branch information
thatbudakguy committed Mar 2, 2023
1 parent fbb8bc4 commit d725439
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 4 additions & 2 deletions app/assets/stylesheets/dlme.scss
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ body {
}
}

.topbar .navbar-nav {
.topbar .navbar-nav {
text-transform: none;
.nav-link {
color: $color-gray-lightest;
Expand Down Expand Up @@ -346,6 +346,7 @@ body {
border: 0;
}

// Hide the masthead title on mobile, because we render it in the navbar
.masthead .site-title-container {
display: none;
}
Expand Down Expand Up @@ -397,7 +398,8 @@ body {
}
}

// Turn off transparency for the topbar on pages where there's no masthead
// Turn off transparency for the topbar on pages where there's no masthead,
// e.g. pages provided by Devise
body.blacklight-sessions,
body.blacklight-registrations,
body.blacklight-passwords {
Expand Down
4 changes: 0 additions & 4 deletions app/views/shared/_user_util_links.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,6 @@
</li>
</ul>
</li>
<% else %>
<li class="nav-item d-none d-md-block">
<%= link_to t('spotlight.header_links.login'), main_app.new_user_session_path, class: 'nav-link' %>
</li>
<% end %>
<% if current_exhibit and show_contact_form? %>
<li class="nav-item d-none d-md-block">
Expand Down

0 comments on commit d725439

Please sign in to comment.