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