projects/cobbler-frontend/src/app/not-found/not-found.component.ts
| selector | cobbler-not-found |
| standalone | true |
| imports |
RouterLink
|
| styleUrls | ./not-found.component.css |
| templateUrl | ./not-found.component.html |
constructor()
|
import { Component } from '@angular/core';
import { RouterLink } from '@angular/router';
@Component({
selector: 'cobbler-not-found',
templateUrl: './not-found.component.html',
styleUrls: ['./not-found.component.css'],
standalone: true,
imports: [RouterLink],
})
export class NotFoundComponent {
constructor() {}
}
<div class="flex-center-all full">
<h1>Path not found, Or unavailable.</h1>
<h2>Please Log in.</h2>
<a [routerLink]="['/login']">Login</a>
</div>
./not-found.component.css