add: unified component for watchlist/favorit pages
This commit is contained in:
1 parent
8d9a6a5da1
commit
ef444f211d
21 files changed
+709
-310
No files matched your search
@@ -4,9 +4,8 @@ import { HomeComponent } from './features/home/home.component';
|
||||
import { SearchPageComponent } from './features/discover/search-page/search-page.component';
|
||||
import { TrendingComponent } from './features/discover/trending/trending.component';
|
||||
import { PopularComponent } from './features/discover/popular/popular.component';
|
||||
import { LibraryPageComponent } from './features/library/library-page/library-page.component';
|
||||
import { FavoritComponent } from './features/favorit/favorit.component';
|
||||
import { WatchlistComponent } from './features/watchlist/watchlist.component';
|
||||
import { FavoritComponent } from './features/library/favorit-page/favorit.component';
|
||||
import { WatchlistComponent } from './features/library/watchlist-page/watchlist.component';
|
||||
|
||||
const routes: Routes = [
|
||||
{ path: '', redirectTo: '/home', pathMatch: 'full' },
|
||||
@@ -15,7 +14,13 @@ const routes: Routes = [
|
||||
{ path: 'popular', component: PopularComponent },
|
||||
{ path: 'trending', component: TrendingComponent },
|
||||
|
||||
{ path: 'library', component: LibraryPageComponent },
|
||||
{
|
||||
path: 'library',
|
||||
loadChildren: () =>
|
||||
import('./features/library/library.module').then(
|
||||
(m) => m.LibraryModule
|
||||
),
|
||||
},
|
||||
{ path: 'favorit', component: FavoritComponent },
|
||||
{ path: 'watchlist', component: WatchlistComponent },
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user