diff --git a/projects/nshmp-apps/src/app/dev/dashboard/app.component.html b/projects/nshmp-apps/src/app/dev/dashboard/app.component.html index 6f4c9fe7c54551bdb0dfab21166edcfa4eb98424..19568f897d61cb473a96cce4fb377258535caec2 100644 --- a/projects/nshmp-apps/src/app/dev/dashboard/app.component.html +++ b/projects/nshmp-apps/src/app/dev/dashboard/app.component.html @@ -2,9 +2,9 @@ <!-- Dashboard --> <nshmp-lib-ng-dashboard [sections]="sections"> <nshmp-lib-ng-dashboard-title> - USGS Earthquake + USGS Development <br /> - Development + Earthquake <br /> Hazard Toolbox </nshmp-lib-ng-dashboard-title> diff --git a/projects/nshmp-apps/src/app/dev/dashboard/app.component.ts b/projects/nshmp-apps/src/app/dev/dashboard/app.component.ts index 28957cbc6c6725d3896d6cab826b2369d53f2b85..fc22fe0f0c64b4113fa9748666f4008dd26221ef 100644 --- a/projects/nshmp-apps/src/app/dev/dashboard/app.component.ts +++ b/projects/nshmp-apps/src/app/dev/dashboard/app.component.ts @@ -34,24 +34,16 @@ export class AppComponent { /** Navigation list for menu */ navigationList = nav.devNavigation(); - /** AWS applications */ - private awsApps = nav.devAwsApps(); /** Main development applications */ private mainApps = nav.devMainApps(); sections: ApplicationSections[] = [ { + gridClass: 'grid-col-10', sections: [ { applications: this.mainApps.map(navigation => ({navigation})), - }, - ], - }, - { - sections: [ - { - applications: this.awsApps.map(navigation => ({navigation})), - title: 'AWS', + gridClass: 'grid-col-12 tablet-lg:grid-col-8 grid-offset-1', }, ], }, diff --git a/projects/nshmp-apps/src/app/internal/dashboard/app.component.html b/projects/nshmp-apps/src/app/internal/dashboard/app.component.html index ba0728ed002fc40d1b8bdf8eef71bb819b3f973f..2384d26ae35e3c78c73bcc2c37f069e6bc6a1d45 100644 --- a/projects/nshmp-apps/src/app/internal/dashboard/app.component.html +++ b/projects/nshmp-apps/src/app/internal/dashboard/app.component.html @@ -2,7 +2,7 @@ <!-- Dashboard --> <nshmp-lib-ng-dashboard [sections]="sections"> <nshmp-lib-ng-dashboard-title> - USGS Earthquake + USGS Internal Earthquake <br /> Hazard Toolbox: <br /> diff --git a/projects/nshmp-apps/src/app/internal/dashboard/app.component.ts b/projects/nshmp-apps/src/app/internal/dashboard/app.component.ts index 51c6803040c302d59ff4bd9265d03c334e21a947..42fbf69187601c51eae73de510a7ed9a56cab5cc 100644 --- a/projects/nshmp-apps/src/app/internal/dashboard/app.component.ts +++ b/projects/nshmp-apps/src/app/internal/dashboard/app.component.ts @@ -34,16 +34,17 @@ import {AuthService} from '../shared/services/auth.service'; }) export class AppComponent implements OnInit, OnDestroy { /** Navigation list for menu */ - navigationList = nav.devNavigation(); + navigationList = nav.internalNavigation(); /** AWS applications */ - private awsApps = nav.devAwsApps(); + private awsApps = nav.internalAwsApps(); sections: ApplicationSections[] = []; private sub: Subscription; constructor(private authService: AuthService) {} + ngOnInit(): void { this.sub = this.authService.isAuthorized().subscribe(() => { this.sections = [