This commit is contained in:
2025-08-19 21:07:41 +03:00
parent 5326e545a8
commit 61a1ba59cd
20 changed files with 185 additions and 50 deletions

View File

@@ -1,7 +1,15 @@
import { Routes } from '@angular/router';
import { RegistrationComponent } from './registration/registration.component';
import { LandingComponent } from './landing/landing.component';
import { ApplicationListComponent } from './application-list/application-list.component';
import { ApplicationComponent } from './application/application.component';
export const routes: Routes = [
{ path: 'register', component: RegistrationComponent },
{ path: '', redirectTo: '/register', pathMatch: 'full' },
{ path: 'landing', component: LandingComponent },
{ path: 'registration', component: RegistrationComponent },
{ path: 'application-list', component: ApplicationListComponent },
{ path: 'application/:id', component: ApplicationComponent },
{ path: '', redirectTo: '/landing', pathMatch: 'full' },
{ path: '**', redirectTo: '/landing' },
// component: PageNotFoundComponent
];