[FEATURE] Display qualifications list in homepage (#10)

Co-authored-by: Phan Huy Tran <p.tran@neusta.de>
Reviewed-on: #10
Reviewed-by: Constantin Simonis <constantin@simonis.lol>
This commit is contained in:
Hernd Beidemann
2024-12-18 12:28:13 +00:00
parent 53c0fde21f
commit 4f31bc1358
8 changed files with 56 additions and 2 deletions

View File

@ -1,10 +1,10 @@
import {Routes} from '@angular/router';
import {EmployeeListComponent} from "./employee-list/employee-list.component";
import {LoginComponent} from "./login/login.component";
import {AuthGuardService} from "./services/auth-guard.service";
import {HomeComponent} from "./home/home.component";
export const routes: Routes = [
{path: 'login', component: LoginComponent},
{path: '', component: EmployeeListComponent, canActivate: [AuthGuardService]},
{path: '', component: HomeComponent, canActivate: [AuthGuardService]},
{path: '**', redirectTo: ''}
];