2019-08-09 17:43:23 +02:00
|
|
|
import {FormContainerComponent} from '../form-container/form-container.component';
|
2019-08-10 16:57:36 +02:00
|
|
|
import {KindComponent} from '../pages/kind/kind.component';
|
2019-08-10 16:20:59 +02:00
|
|
|
import {DatesComponent} from '../pages/dates/dates.component';
|
2019-08-10 17:21:40 +02:00
|
|
|
import {VisibilityComponent} from '../pages/visibility/visibility.component';
|
|
|
|
import {ResumeComponent} from '../pages/resume/resume.component';
|
|
|
|
import {PicturesComponent} from '../pages/pictures/pictures.component';
|
|
|
|
import {EndConfirmationComponent} from '../pages/end-confirmation/end-confirmation.component';
|
2019-08-10 17:41:01 +02:00
|
|
|
import {AnswersComponent} from '../pages/answers/answers.component';
|
2019-08-12 15:14:29 +02:00
|
|
|
import {CreateOrRetrieveComponent} from '../pages/create-or-retrieve/create-or-retrieve.component';
|
2019-08-11 16:49:58 +02:00
|
|
|
import {BaseComponent} from '../pages/base-page/base.component';
|
2019-08-09 17:43:23 +02:00
|
|
|
|
|
|
|
/**
|
2019-08-10 16:20:59 +02:00
|
|
|
* each step in the form is a component
|
2019-08-09 17:43:23 +02:00
|
|
|
*/
|
|
|
|
export const Routes =
|
2019-08-10 16:20:59 +02:00
|
|
|
[
|
2019-08-11 16:49:58 +02:00
|
|
|
{path: '', component: CreateOrRetrieveComponent},
|
2019-08-10 16:20:59 +02:00
|
|
|
{path: 'home', component: FormContainerComponent},
|
2019-08-11 16:49:58 +02:00
|
|
|
{path: 'base', component: BaseComponent},
|
|
|
|
{path: 'step/creation', component: CreateOrRetrieveComponent},
|
2019-08-10 16:20:59 +02:00
|
|
|
{path: 'step/date', component: DatesComponent},
|
2019-08-10 17:21:40 +02:00
|
|
|
{path: 'step/kind', component: KindComponent},
|
2019-08-10 17:41:01 +02:00
|
|
|
{path: 'step/answers', component: AnswersComponent},
|
|
|
|
{path: 'step/pictures', component: PicturesComponent},
|
2019-08-10 17:21:40 +02:00
|
|
|
{path: 'step/visibility', component: VisibilityComponent},
|
2019-08-10 18:38:07 +02:00
|
|
|
{path: 'step/resume', component: ResumeComponent},
|
2019-08-10 17:21:40 +02:00
|
|
|
{path: 'step/end', component: EndConfirmationComponent},
|
2019-08-10 16:20:59 +02:00
|
|
|
]
|
2019-08-09 17:43:23 +02:00
|
|
|
;
|