large update wip

This commit is contained in:
2025-08-24 17:24:40 +03:00
parent ae2dce2871
commit ef93d51f77
50 changed files with 3459 additions and 621 deletions

View File

@@ -1,15 +1,17 @@
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';
import { RegistrationComponent } from './components/registration/registration.component';
import { LandingComponent } from './components/landing/landing.component';
import { ApplicationListComponent } from './components/application-list/application-list.component';
import { ApplicationComponent } from './components/application/application.component';
import { PageNotFoundComponent } from './page-not-found/page-not-found.component';
export const routes: Routes = [
{ path: 'landing', component: LandingComponent },
{ path: 'registration', component: RegistrationComponent },
{ path: 'application/new', component: RegistrationComponent },
{ path: 'application/:id/edit', component: RegistrationComponent },
{ path: 'application-list', component: ApplicationListComponent },
{ path: 'application/:id', component: ApplicationComponent },
{ path: '', redirectTo: '/landing', pathMatch: 'full' },
{ path: '**', redirectTo: '/landing' },
// component: PageNotFoundComponent
{ path: '**', component: PageNotFoundComponent },
];