-
Notifications
You must be signed in to change notification settings - Fork 0
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 #4 from IUBLibTech/iulrdc-12_remove_banner_image
image and text tweaks to About / Help / Contact pages
- Loading branch information
Showing
3 changed files
with
24 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<nav class="navbar navbar-light bg-light navbar-expand-sm justify-content-between align-items-center px-2 py-3 border-bottom" role="navigation" aria-label="Root Menu"> | ||
<ul class="nav navbar-nav col-sm-5"> | ||
<li class="nav-item <%= 'active' if current_page?(hyrax.root_path) %>"> | ||
<%= link_to t(:'hyrax.controls.home'), hyrax.root_path, class: "nav-link", aria: current_page?(hyrax.root_path) ? {current: 'page'} : nil %></li> | ||
<li class="nav-item <%= 'active' if current_page?(hyrax.about_path) %>"> | ||
<%= link_to t(:'hyrax.controls.about'), hyrax.about_path, class: "nav-link", aria: current_page?(hyrax.about_path) ? {current: 'page'} : nil %></li> | ||
<li class="nav-item <%= 'active' if current_page?(hyrax.contact_path) %>"> | ||
<%= link_to t(:'hyrax.controls.contact'), hyrax.contact_path, class: "nav-link", aria: current_page?(hyrax.contact_path) ? {current: 'page'} : nil %></li> | ||
</ul><!-- /.nav --> | ||
<div class="col-sm-7"> | ||
<%= render partial: 'catalog/search_form' %> | ||
</div> | ||
</nav><!-- /.navbar --> |
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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
<% content_for(:navbar) do %> | ||
<%= render '/controls' %> | ||
<% end %> | ||
|
||
<% content_for(:precontainer_content) do %> | ||
<%= render 'hyrax/homepage/announcement' if controller_name == 'homepage' %> | ||
<% end %> | ||
|
||
<%= render template: 'layouts/hyrax' %> |
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