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