Skip to content
Snippets Groups Projects
Commit ebcfa96b authored by Clayton, Brandon Scott's avatar Clayton, Brandon Scott
Browse files

Merge branch 'update' into 'master'

update

See merge request !10
parents 8aff52b1 e9a93b87
No related branches found
Tags 0.2.3
1 merge request!10update
Pipeline #11256 passed
......@@ -2,7 +2,7 @@
<header class="usa-header usa-header--basic" [ngClass]="{ 'header-minimal': minimal }">
<div class="grid-row">
<!-- USGS logo -->
<div class="grid-col">
<div class="grid-col-auto">
<div class="usgs-logo border-0 width-auto">
<img
alt="U.S. Geological Survey"
......@@ -14,18 +14,19 @@
</div>
</div>
<!-- Add content in header -->
<div class="grid-col-fill">
<ng-content></ng-content>
</div>
<!-- USGS site wide search bar -->
<ng-container *ngIf="!minimal ? renderSearchBar : false">
<nshmp-template-search-bar class="search-bar grid-col-12 mobile-lg:grid-col">
</nshmp-template-search-bar>
<nshmp-template-search-bar class="search-bar grid-col-auto"> </nshmp-template-search-bar>
</ng-container>
<!-- Header controls and site navigation -->
<div class="grid-col-8 mobile-lg:grid-col-4 desktop:grid-col-2">
<!-- Site navigation -->
<div class="grid-col-auto">
<div class="grid-row float-right">
<!-- Add content next to dropdown menu -->
<ng-content></ng-content>
<!-- Header dropdown menu -->
<nshmp-template-navigation class="margin-x-1" [navigationList]="navigationList">
</nshmp-template-navigation>
......
......@@ -11,4 +11,5 @@ main {
order: 0;
flex: 1 1 auto;
align-self: auto;
height: 100%;
}
import { ModuleWithProviders, NgModule } from '@angular/core';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { RouterModule } from '@angular/router';
import { NshmpLayoutModule } from './modules/nshmp-layout.module';
@NgModule({
imports: [NshmpLayoutModule, RouterModule.forRoot([])],
imports: [NshmpLayoutModule, BrowserAnimationsModule, RouterModule.forRoot([])],
exports: [NshmpLayoutModule]
})
export class NshmpTemplateModuleForRoot {}
......@@ -16,7 +17,7 @@ export class NshmpTemplateModuleForRoot {}
* RouterModule.forRoot() must call NshmpTemplateModule.forRoot()
*/
@NgModule({
imports: [NshmpLayoutModule],
imports: [NshmpLayoutModule, BrowserAnimationsModule],
exports: [NshmpLayoutModule]
})
export class NshmpTemplateModule {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment