mirror of
https://gitlab.com/openlp/web-remote.git
synced 2024-12-22 19:32:49 +00:00
34 lines
1.6 KiB
TypeScript
34 lines
1.6 KiB
TypeScript
import { NgModule } from '@angular/core';
|
|
import { Routes, RouterModule } from '@angular/router';
|
|
|
|
import { ServiceComponent } from './components/service/service.component';
|
|
import { AlertComponent } from './components/alert/alert.component';
|
|
import { SearchComponent } from './components/search/search.component';
|
|
import { SlidesComponent } from './components/slides/slides.component';
|
|
import { ChordViewComponent } from './components/chord-view/chord-view.component';
|
|
import { MainViewComponent } from './components/main-view/main-view.component';
|
|
import { StageViewComponent } from './components/stage-view/stage-view.component';
|
|
import { ThemesComponent } from './components/themes/themes.component';
|
|
import { LowerThirdComponent } from './components/lower-third/lower-third.component';
|
|
import { SettingsComponent } from './components/settings/settings.component';
|
|
|
|
const routes: Routes = [
|
|
{ path: '', redirectTo: '/service', pathMatch: 'full' },
|
|
{ path: 'service', component: ServiceComponent },
|
|
{ path: 'slides', component: SlidesComponent },
|
|
{ path: 'alerts', component: AlertComponent },
|
|
{ path: 'search', component: SearchComponent },
|
|
{ path: 'chords', component: ChordViewComponent },
|
|
{ path: 'main', component: MainViewComponent },
|
|
{ path: 'stage', component: StageViewComponent },
|
|
{ path: 'themes', component: ThemesComponent},
|
|
{ path: 'lower-third', component: LowerThirdComponent},
|
|
{ path: 'settings', component: SettingsComponent}
|
|
];
|
|
@NgModule({
|
|
imports: [RouterModule.forRoot(routes)],
|
|
exports: [RouterModule]
|
|
})
|
|
|
|
export class AppRoutingModule { }
|