2019-10-23 15:39:16 +02:00
|
|
|
import { KindComponent } from "../pages/kind/kind.component";
|
|
|
|
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";
|
|
|
|
import { AnswersComponent } from "../pages/answers/answers.component";
|
|
|
|
import { CreateOrRetrieveComponent } from "../pages/create-or-retrieve/create-or-retrieve.component";
|
|
|
|
import { BaseComponent } from "../pages/base-page/base.component";
|
|
|
|
import { HomeComponent } from "../pages/home/home.component";
|
|
|
|
import { PollGraphicComponent } from '../poll-graphic/poll-graphic.component';
|
2019-10-03 11:48:13 +02:00
|
|
|
import {VoteChoiceComponent} from "../vote-choice/vote-choice.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-09-09 10:49:33 +02:00
|
|
|
{path: 'home', component: HomeComponent},
|
2019-08-11 16:49:58 +02:00
|
|
|
{path: 'base', component: BaseComponent},
|
2019-11-19 10:36:53 +01:00
|
|
|
{path: 'step/base', component: BaseComponent},
|
2019-08-11 16:49:58 +02:00
|
|
|
{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-11-19 14:45:21 +01:00
|
|
|
{ path: "graphic/:poll", component: PollGraphicComponent },
|
2019-10-03 11:48:13 +02:00
|
|
|
{path: 'votechoice', component: VoteChoiceComponent},
|
2019-08-10 16:20:59 +02:00
|
|
|
]
|
2019-08-09 17:43:23 +02:00
|
|
|
;
|