import { NgModule } from '@angular/core'
import { RouterModule, Routes } from '@angular/router'
import { MetaGuard } from '@ngx-meta/core'
-import { AccountsComponent } from './accounts.component'
-import { AccountVideosComponent } from './account-videos/account-videos.component'
-import { AccountAboutComponent } from './account-about/account-about.component'
+import { AccountSearchComponent } from './account-search/account-search.component'
import { AccountVideoChannelsComponent } from './account-video-channels/account-video-channels.component'
+import { AccountVideosComponent } from './account-videos/account-videos.component'
+import { AccountsComponent } from './accounts.component'
const accountsRoutes: Routes = [
{
redirectTo: 'video-channels',
pathMatch: 'full'
},
+ {
+ path: 'video-channels',
+ component: AccountVideoChannelsComponent,
+ data: {
+ meta: {
+ title: $localize`Account video channels`
+ }
+ }
+ },
{
path: 'videos',
component: AccountVideosComponent,
}
},
{
- path: 'video-channels',
- component: AccountVideoChannelsComponent,
- data: {
- meta: {
- title: $localize`Account video channels`
- }
- }
- },
- {
- path: 'about',
- component: AccountAboutComponent,
+ path: 'search',
+ component: AccountSearchComponent,
data: {
meta: {
- title: $localize`About account`
+ title: $localize`Search videos within account`
}
}
}