-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor templates to keep Spotlight's header navbar
This ensures that the header and navbar are still displayed on pages where the masthead is not (like auth flow pages), and removes some places where we overrode Spotlight. See #1372
- Loading branch information
1 parent
512ebaf
commit 1a3b106
Showing
4 changed files
with
39 additions
and
52 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,17 @@ | ||
<%# blank out default layout behavior %> | ||
<span class="background-container-gradient"></span> | ||
<nav class="navbar navbar-expand-md navbar-dark topbar" role="navigation" aria-label="<%= t('spotlight.topbar.label') %>"> | ||
<div class="<%= container_classes %>"> | ||
<%= link_to main_app.root_url, class: 'navbar-brand' do %> | ||
<%= image_tag 'logo.png', class: 'dlme-logo', alt: '', role: 'presentation' %> | ||
<%= t('application_name') %> | ||
<% end %> | ||
|
||
<button class="navbar-toggler navbar-toggler-right" type="button" data-toggle="collapse" data-target="#user-util-collapse" aria-controls="user-util-collapse" aria-expanded="false" aria-label="<%= t :toggle_nav %>"> | ||
<span class="navbar-toggler-icon"></span> | ||
</button> | ||
|
||
<div class="collapse navbar-collapse justify-content-md-end" id="user-util-collapse"> | ||
<%= render partial: 'shared/user_util_links' %> | ||
</div> | ||
</div> | ||
</nav> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.