add api services to frontend

This commit is contained in:
rubikscraft
2022-03-03 13:38:39 +01:00
parent 0e0060ffb5
commit e0230b26ae
22 changed files with 383 additions and 73 deletions

View File

@@ -1,8 +1,15 @@
import { Component, OnInit } from '@angular/core';
import { Router } from '@angular/router';
@Component({
selector: 'app-header',
templateUrl: './header.component.html',
styleUrls: ['./header.component.scss'],
})
export class HeaderComponent {}
export class HeaderComponent {
constructor(private router: Router) {}
doLogin() {
this.router.navigate(['/login']);
}
}