import {Component, OnInit, ChangeDetectionStrategy} from '@angular/core'; import {ParallaxComponent} from '../shared/parallax/parallax.component'; import {SeoService} from '../shared/services/seo.service'; @Component({ selector: 'app-not-found', imports: [ ParallaxComponent ], templateUrl: './not-found.component.html', changeDetection: ChangeDetectionStrategy.Eager, styleUrl: './not-found.component.css', }) export class NotFoundComponent implements OnInit { isNarrow: boolean = false; constructor( private seo: SeoService, ) { } ngOnInit() { this.seo.update({ title: '404 | Page Not Found', desc: 'How the hell did you end up here?', suffix: false, buttons: [{ label: 'Visit Homepage', url: this.seo.getpath('root') }] }) } }