Files
itzmineydev/src/app/not-found/not-found.component.ts
T
itzMiney e7ed9f047f
Frontend CI/CD / test-and-build (push) Successful in 25s
Frontend CI/CD / deploy (push) Successful in 26s
refactored seo helper, adjusted meta tags & added a shitload more buttons to discord component embeds
2026-11-08 21:27:37 +01:00

31 lines
797 B
TypeScript

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') }]
})
}
}