@@ -8,18 +8,18 @@ export const routes: Routes = [
88 { path : '' , redirectTo : 'auth' , pathMatch : 'full' } ,
99 { path : 'auth' , component : AuthPage , data : { title : 'Authentication' } } ,
1010 {
11- path : 'home ' ,
11+ path : 'articles ' ,
1212 loadComponent : async ( ) => {
13- const c = await import ( './pages/home/home -page.component ' )
14- return c . HomePage
13+ const c = await import ( './pages/articles-page/articles -page' )
14+ return c . ArticlesPage
1515 } ,
1616 canMatch : [ authGuard ] ,
1717 } ,
1818 {
1919 path : 'bookmarks' ,
2020 loadComponent : async ( ) => {
21- const c = await import ( './pages/bookmarks/bookmarks' )
22- return c . Bookmarks
21+ const c = await import ( './pages/bookmarks-page /bookmarks-page ' )
22+ return c . BookmarksPage
2323 } ,
2424 canMatch : [ authGuard ] ,
2525 } ,
@@ -35,7 +35,7 @@ export const routes: Routes = [
3535 {
3636 path : 'subscription/:subscriptionId/article/:articleId' ,
3737 loadComponent : async ( ) => {
38- const c = await import ( './pages/article-page/article-page.component ' )
38+ const c = await import ( './pages/article-page/article-page' )
3939 return c . ArticlePage
4040 } ,
4141 data : { title : 'Article' } ,
@@ -44,7 +44,7 @@ export const routes: Routes = [
4444 {
4545 path : 'tags' ,
4646 loadComponent : async ( ) => {
47- const c = await import ( './pages/tags/tags-page.component ' )
47+ const c = await import ( './pages/tags-page /tags-page' )
4848 return c . TagsPage
4949 } ,
5050 data : { title : 'Tags' } ,
@@ -63,6 +63,7 @@ export const routes: Routes = [
6363 path : 'status' ,
6464 component : StatusPage ,
6565 data : { title : 'Status' } ,
66+ canMatch : [ authGuard ] ,
6667 } ,
6768 {
6869 path : '**' ,
0 commit comments