Skip to content

Commit

Permalink
Adding page titles to the router.
Browse files Browse the repository at this point in the history
  • Loading branch information
SilverLinings89 committed Jan 13, 2025
1 parent 9e41b3a commit a0c9554
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/app/app.routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,15 @@ export const routes: Routes = [
import('./portal/features/home-page/home-page.component').then(
(m) => m.HomePageComponent,
),
title: 'GHGA | Home',
},
{
path: 'browse',
loadComponent: () =>
import('./metadata/features/metadata-browser/metadata-browser.component').then(
(m) => m.MetadataBrowserComponent,
),
title: 'GHGA | Browse Datasets',
},
// routes used in the authentication flows
{
Expand All @@ -37,19 +39,22 @@ export const routes: Routes = [
import('./auth/features/register/register.component').then(
(m) => m.RegisterComponent,
),
title: 'GHGA | Registration',
},
{
path: 'setup-totp',
loadComponent: () =>
import('./auth/features/setup-totp/setup-totp.component').then(
(m) => m.SetupTotpComponent,
),
title: 'GHGA | Set up TOTP',
},
{
path: 'confirm-totp',
loadComponent: () =>
import('./auth/features/confirm-totp/confirm-totp.component').then(
(m) => m.ConfirmTotpComponent,
),
title: 'GHGA | Confirm TOTP',
},
];

0 comments on commit a0c9554

Please sign in to comment.