mirror of
https://github.com/turt2live/matrix-dimension.git
synced 2024-09-14 13:04:59 +00:00
6657d5dbf5
Integrations need styling and the breadcrumbs don't work. Further, you can't actually add/edit anything.
22 lines
1.1 KiB
TypeScript
22 lines
1.1 KiB
TypeScript
import { RouterModule, Routes } from "@angular/router";
|
|
import { HomeComponent } from "./home/home.component";
|
|
import { RiotComponent } from "./riot/riot.component";
|
|
import { GenericWidgetWrapperComponent } from "./widget_wrappers/generic/generic.component";
|
|
import { VideoWidgetWrapperComponent } from "./widget_wrappers/video/video.component";
|
|
import { JitsiWidgetWrapperComponent } from "./widget_wrappers/jitsi/jitsi.component";
|
|
import { GCalWidgetWrapperComponent } from "./widget_wrappers/gcal/gcal.component";
|
|
|
|
const routes: Routes = [
|
|
{path: "", component: HomeComponent},
|
|
{
|
|
path: "riot", component: RiotComponent, data: {breadcrumb: "Home"},
|
|
children: [{path: "test", component: RiotComponent, data: {breadcrumb: "Testing"}}]
|
|
},
|
|
{path: "widgets/generic", component: GenericWidgetWrapperComponent},
|
|
{path: "widgets/video", component: VideoWidgetWrapperComponent},
|
|
{path: "widgets/jitsi", component: JitsiWidgetWrapperComponent},
|
|
{path: "widgets/gcal", component: GCalWidgetWrapperComponent},
|
|
];
|
|
|
|
export const routing = RouterModule.forRoot(routes);
|