You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

18 lines
473 B

import { Component, HostBinding } from '@angular/core';
import { Router } from '@angular/router';
@Component({
selector: 'app-blank-layout',
styleUrls: ['./blank-layout.component.scss'],
templateUrl: './blank-layout.component.html',
})
export class BlankLayoutComponent {
// FIXME: responsibility leak
@HostBinding('class.not-found') private get notFound() {
return this.router.url === '/pages/404';
}
constructor(
private router: Router,
) { }
}