2017-05-26 23:51:48 -04:00
|
|
|
import { RouterModule, Routes } from "@angular/router";
|
|
|
|
import { HomeComponent } from "./home/home.component";
|
2017-05-27 03:27:36 -04:00
|
|
|
import { RiotComponent } from "./riot/riot.component";
|
2017-10-09 22:49:26 -04:00
|
|
|
import { GenericWidgetWrapperComponent } from "./widget_wrappers/generic/generic.component";
|
2017-10-10 22:44:09 -04:00
|
|
|
import { VideoWidgetWrapperComponent } from "./widget_wrappers/video/video.component";
|
2017-12-10 02:59:36 -05:00
|
|
|
import { JitsiWidgetWrapperComponent } from "./widget_wrappers/jitsi/jitsi.component";
|
2017-05-26 23:51:48 -04:00
|
|
|
|
|
|
|
const routes: Routes = [
|
2017-08-27 01:26:00 -04:00
|
|
|
{path: "", component: HomeComponent},
|
|
|
|
{path: "riot", component: RiotComponent},
|
2017-10-09 22:49:26 -04:00
|
|
|
{path: "widgets/generic", component: GenericWidgetWrapperComponent},
|
2017-10-10 22:44:09 -04:00
|
|
|
{path: "widgets/video", component: VideoWidgetWrapperComponent},
|
2017-12-10 02:59:36 -05:00
|
|
|
{path: "widgets/jitsi", component: JitsiWidgetWrapperComponent},
|
2017-05-26 23:51:48 -04:00
|
|
|
];
|
|
|
|
|
|
|
|
export const routing = RouterModule.forRoot(routes);
|