File

src/app/main/containers/not-found/not-found.component.ts

Metadata

changeDetection ChangeDetectionStrategy.OnPush
selector app-not-found-page
styles :host { text-align: center; }
template
<md-card>
  <md-card-title>404: Not Found</md-card-title>
  <md-card-content>
    <p>Hey! It looks like this page doesn't exist yet.</p>
  </md-card-content>
  <md-card-actions>
    <button md-raised-button color="primary" routerLink="/">
      Take Me Home</button>
  </md-card-actions>
</md-card>
import { Component, ChangeDetectionStrategy } from '@angular/core';

@Component({
  selector: 'app-not-found-page',
  changeDetection: ChangeDetectionStrategy.OnPush,
  template: `
    <md-card>
      <md-card-title>404: Not Found</md-card-title>
      <md-card-content>
        <p>Hey! It looks like this page doesn't exist yet.</p>
      </md-card-content>
      <md-card-actions>
        <button md-raised-button color="primary" routerLink="/">
          Take Me Home</button>
      </md-card-actions>
    </md-card>
  `,
  styles: [
    `
    :host {
      text-align: center;
    }
  `,
  ],
})
export class NotFoundPageComponent {}
Legend
Html element
Component
Html element with directive

results matching ""

    No results matching ""