components/about/about.component.ts
About page for dynamic hazard application.
selector | app-about |
imports |
NshmpAboutContentComponent
NshmpAboutDescriptionComponent
NshmpAboutDescriptionTitleComponent
NshmpAboutUsingApplicationExpansionPanelComponent
NshmpAboutPlotlyComponent
NshmpAboutOptionsComponent
NshmpAboutNavMenuComponent
|
templateUrl | ./about.component.html |
styleUrl | ./about.component.scss |
Properties |
logs |
Default value : changelogs(apps().hazard.dynamic.routerLink)
|
Defined in components/about/about.component.ts:32
|
import {Component} from '@angular/core';
import {
NshmpAboutContentComponent,
NshmpAboutDescriptionComponent,
NshmpAboutDescriptionTitleComponent,
NshmpAboutNavMenuComponent,
NshmpAboutOptionsComponent,
NshmpAboutPlotlyComponent,
NshmpAboutUsingApplicationExpansionPanelComponent,
} from '@ghsc/nshmp-lib-ng/about';
import {changelogs} from 'projects/nshmp-apps/src/app/changelog';
import {apps} from 'projects/nshmp-apps/src/shared/utils/applications.utils';
/**
* About page for dynamic hazard application.
*/
@Component({
imports: [
NshmpAboutContentComponent,
NshmpAboutDescriptionComponent,
NshmpAboutDescriptionTitleComponent,
NshmpAboutUsingApplicationExpansionPanelComponent,
NshmpAboutPlotlyComponent,
NshmpAboutOptionsComponent,
NshmpAboutNavMenuComponent,
],
selector: 'app-about',
styleUrl: './about.component.scss',
templateUrl: './about.component.html',
})
export class AboutComponent {
logs = changelogs(apps().hazard.dynamic.routerLink);
}
<nshmp-about-content [changelogs]="logs">
<nshmp-about-description>
<nshmp-about-description-title>
The dynamic hazard curve application computes on-demand probabilisitic seismic hazard curves
from a USGS national seismic hazard model (NSHM).
</nshmp-about-description-title>
</nshmp-about-description>
<!-- Using this application panel -->
<nshmp-about-using-application-expansion-panel>
<nshmp-about-nav-menu />
<nshmp-about-options />
<nshmp-about-plotly />
</nshmp-about-using-application-expansion-panel>
</nshmp-about-content>