feat: Implement Login and Logout functionality, protect authenticated routes #12

Merged
ptran merged 8 commits from feature/oauth into main 2025-02-12 10:00:54 +00:00
Showing only changes of commit c3f9ba7bca - Show all commits

View File

@ -8,10 +8,15 @@ export const routes: Routes = [
path: '', path: '',
component: LandingPageComponent, component: LandingPageComponent,
}, },
{
path: '**',
canActivate: [authGuard],
children: [
{ {
path: 'home', path: 'home',
component: HomepageComponent, component: HomepageComponent,
canActivate: [authGuard],
}, },
]
}
]; ];