funky-framadate-front/src/app/config/Routes.ts

26 lines
1.2 KiB
TypeScript
Raw Normal View History

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';
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-10 16:20:59 +02:00
* each step in the form is a component
*/
export const Routes =
2019-08-10 16:20:59 +02:00
[
{path: '', component: FormContainerComponent},
{path: 'home', component: FormContainerComponent},
{path: 'step/date', component: DatesComponent},
{path: 'step/kind', component: KindComponent},
2019-08-10 17:41:01 +02:00
{path: 'step/answers', component: AnswersComponent},
{path: 'step/pictures', component: PicturesComponent},
{path: 'step/visibility', component: VisibilityComponent},
{path: 'step/recapitulatif', component: ResumeComponent},
{path: 'step/end', component: EndConfirmationComponent},
2019-08-10 16:20:59 +02:00
]
;