Skip to content

Commit

Permalink
Add hike to homepage
Browse files Browse the repository at this point in the history
  • Loading branch information
richardjanssen committed Mar 13, 2024
1 parent b074d63 commit c83597b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/app/app.routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,17 @@ export class AppPaths {
static readonly admin: string = 'admin';
static readonly unauthorized: string = 'unauthorized';
static readonly hike: string = 'hike';
static readonly photos: string = 'photos';
}

export const APP_ROUTES: Routes = [
{ path: AppPaths.hike, component: HikeComponent },
{ path: AppPaths.photos, component: HomeComponent },
{ path: AppPaths.login, component: LoginComponent },
{
path: AppPaths.admin,
loadChildren: () => import('./pages/admin/admin.routes').then(m => m.ADMIN_ROUTES)
},
{ path: AppPaths.unauthorized, component: UnauthorizedComponent },
{ path: '', component: HomeComponent },
{ path: '', component: HikeComponent },
{ path: '**', redirectTo: '' }
];

0 comments on commit c83597b

Please sign in to comment.