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-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
|
|
|
[
|
|
|
|
{path: '', component: FormContainerComponent},
|
|
|
|
{path: 'home', component: FormContainerComponent},
|
|
|
|
{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},
|
|
|
|
{path: 'step/recapitulatif', component: ResumeComponent},
|
|
|
|
{path: 'step/end', component: EndConfirmationComponent},
|
2019-08-10 16:20:59 +02:00
|
|
|
]
|
2019-08-09 17:43:23 +02:00
|
|
|
;
|