2019-10-08 05:43:49 +00:00
|
|
|
import { NgModule } from '@angular/core';
|
2018-08-19 20:37:53 +00:00
|
|
|
import { Routes, RouterModule } from '@angular/router';
|
|
|
|
|
2019-10-06 00:28:36 +00:00
|
|
|
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';
|
2019-10-08 05:43:49 +00:00
|
|
|
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';
|
2020-01-23 20:10:11 +00:00
|
|
|
import { ThemesComponent } from './components/themes/themes.component';
|
2023-02-16 16:29:08 +00:00
|
|
|
import { LowerThirdComponent } from './components/lower-third/lower-third.component';
|
2023-02-09 18:31:24 +00:00
|
|
|
import { SettingsComponent } from './components/settings/settings.component';
|
2018-08-19 20:37:53 +00:00
|
|
|
|
|
|
|
const routes: Routes = [
|
2019-10-08 05:43:49 +00:00
|
|
|
{ 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 },
|
2020-01-23 20:10:11 +00:00
|
|
|
{ path: 'stage', component: StageViewComponent },
|
2023-02-09 18:31:24 +00:00
|
|
|
{ path: 'themes', component: ThemesComponent},
|
2023-02-16 16:29:08 +00:00
|
|
|
{ path: 'lower-third', component: LowerThirdComponent},
|
2023-02-09 18:31:24 +00:00
|
|
|
{ path: 'settings', component: SettingsComponent}
|
2018-08-19 20:37:53 +00:00
|
|
|
];
|
|
|
|
@NgModule({
|
2020-04-08 04:22:31 +00:00
|
|
|
imports: [RouterModule.forRoot(routes)],
|
2019-10-08 05:43:49 +00:00
|
|
|
exports: [RouterModule]
|
2018-08-19 20:37:53 +00:00
|
|
|
})
|
|
|
|
|
2019-10-08 05:43:49 +00:00
|
|
|
export class AppRoutingModule { }
|