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.
 
 
 
 

24 lines
644 B

import {Component} from "@angular/core";
import {AuthService} from "../../services/auth.service";
@Component({
selector: 'app-need-auth-to-continue',
template: `
<div style="display: flex; justify-content: center">
<div>
<img style="height: 200px" src="assets/images/stop.png">
<h4>Нужно сначала авторизоваться</h4>
<button style="width: 100%" mat-button mat-raised-button (click)="login()">Войти</button>
</div>
</div>
`
})
export class NeedAuthToContinue {
constructor(private authService: AuthService) {
}
login() {
this.authService.login()
}
}