add entry page feature

This commit is contained in:
X4Lo committed 2024-04-16 19:18:24 +01:00
1 parent 9fb4202640
commit e1223171b0
8 files changed
+525 -73

No files matched your search

+15 -2
View File
@@ -5,7 +5,6 @@ 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 { EntryPageComponent } from './features/entry/entry-page/entry-page.component';
const routes: Routes = [
{ path: '', redirectTo: '/home', pathMatch: 'full' },
@@ -15,7 +14,21 @@ const routes: Routes = [
{ path: 'trending', component: TrendingComponent },
{ path: 'library', component: LibraryComponent },
{ path: 'entry', component: EntryPageComponent },
{ path: 'entry', component: LibraryComponent },
// {
// path: 'entry/:id',
// component: EntryPageComponent,
// resolve: {
// entry: EntryResolverService,
// },
// },
{
path: 'entry',
loadChildren: () =>
import('./features/entry/entries.module').then(
(m) => m.EntriesModule
),
},
{
path: 'user-collections',
loadChildren: () =>