File

410.component.ts

Description

Error page for any 410 errors.

Used for reverse proxy.

Metadata

Index

Properties

Properties

navService
Default value : inject(NavigationService)
import {Component, inject} from '@angular/core';
import {NshmpErrorPageComponent} from '@ghsc/nshmp-lib-ng/nshmp';
import {NavigationService} from 'projects/nshmp-apps/src/shared/services/navigation.service';

/**
 * Error page for any 410 errors.
 *
 * Used for reverse proxy.
 */
@Component({
  imports: [NshmpErrorPageComponent],
  selector: 'app-410',
  styleUrl: './410.component.scss',
  templateUrl: './410.component.html',
})
export class Error410Component {
  navService = inject(NavigationService);
}
<nshmp-error-page
  title="410 Gone"
  alertText="The page you requested no longer exists."
  [navigationList]="navService.navigationList()"
/>
Legend
Html element
Component
Html element with directive

results matching ""

    No results matching ""