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.
|
|
|
import { Component, OnInit } from '@angular/core';
|
|
|
|
import { Router } from '@angular/router';
|
|
|
|
|
|
|
|
@Component({
|
|
|
|
selector: 'app-navigation',
|
|
|
|
templateUrl: './navigation.component.html',
|
|
|
|
styleUrls: ['./navigation.component.scss']
|
|
|
|
})
|
|
|
|
export class NavigationComponent implements OnInit {
|
|
|
|
|
|
|
|
constructor(private router: Router) { }
|
|
|
|
|
|
|
|
ngOnInit(): void {
|
|
|
|
}
|
|
|
|
signOut() {
|
|
|
|
this.router.navigate(['/login'])
|
|
|
|
}
|
|
|
|
}
|