add favorit page
This commit is contained in:
1 parent
299f566b96
commit
8b7c10317f
10 files changed
+370
-17
No files matched your search
@@ -5,6 +5,8 @@ import { SearchComponent } from './features/discover/search/search.component';
|
||||
import { TrendingComponent } from './features/discover/trending/trending.component';
|
||||
import { PopularComponent } from './features/discover/popular/popular.component';
|
||||
import { LibraryComponent } from './features/library/library.component';
|
||||
import { FavoritComponent } from './features/favorit/favorit.component';
|
||||
import { WatchlistComponent } from './features/watchlist/watchlist.component';
|
||||
|
||||
const routes: Routes = [
|
||||
{ path: '', redirectTo: '/home', pathMatch: 'full' },
|
||||
@@ -14,20 +16,13 @@ const routes: Routes = [
|
||||
{ path: 'trending', component: TrendingComponent },
|
||||
|
||||
{ path: 'library', component: LibraryComponent },
|
||||
{ path: 'entry', component: LibraryComponent },
|
||||
// {
|
||||
// path: 'entry/:id',
|
||||
// component: EntryPageComponent,
|
||||
// resolve: {
|
||||
// entry: EntryResolverService,
|
||||
// },
|
||||
// },
|
||||
{ path: 'favorit', component: FavoritComponent },
|
||||
{ path: 'watchlist', component: WatchlistComponent },
|
||||
// { path: 'entry', component: LibraryComponent },
|
||||
{
|
||||
path: 'entry',
|
||||
loadChildren: () =>
|
||||
import('./features/entry/entries.module').then(
|
||||
(m) => m.EntriesModule
|
||||
),
|
||||
import('./features/entry/entries.module').then((m) => m.EntriesModule),
|
||||
},
|
||||
{
|
||||
path: 'user-collections',
|
||||
|
||||
Reference in new issue
Block a user