feat: Implement Login and Logout functionality, protect authenticated routes #12
@ -8,14 +8,9 @@ export const routes: Routes = [
|
||||
path: '',
|
||||
component: LandingPageComponent,
|
||||
},
|
||||
{
|
||||
path: '**',
|
||||
canActivate: [authGuard],
|
||||
children: [
|
||||
{
|
||||
path: 'home',
|
||||
component: HomepageComponent,
|
||||
},
|
||||
],
|
||||
},
|
||||
canActivate: [authGuard],
|
||||
}
|
||||
];
|
||||
|
Loading…
x
Reference in New Issue
Block a user