feat: add profile screen
This commit is contained in:
committed by
Aditya Chandel
parent
ad6f848752
commit
afb4c86c83
@@ -5,10 +5,10 @@ import {AppLayoutComponent} from './layout/component/layout-main/app.layout.comp
|
||||
import {LoginComponent} from './core/component/login/login.component';
|
||||
import {AuthGuard} from './auth.guard';
|
||||
import {SettingsComponent} from './settings/settings.component';
|
||||
import {ProfileComponent} from './profile/profile.component';
|
||||
import {PdfViewerComponent} from './book/components/pdf-viewer/pdf-viewer.component';
|
||||
import {EpubViewerComponent} from './book/components/epub-viewer/component/epub-viewer.component';
|
||||
import {ChangePasswordComponent} from './core/component/change-password/change-password.component';
|
||||
import {EmailComponent} from './settings/email/email.component';
|
||||
import {BookMetadataCenterComponent} from './metadata/book-metadata-center/book-metadata-center.component';
|
||||
|
||||
export const routes: Routes = [
|
||||
@@ -23,6 +23,7 @@ export const routes: Routes = [
|
||||
children: [
|
||||
{path: 'dashboard', component: MainDashboardComponent, canActivate: [AuthGuard]},
|
||||
{path: 'all-books', component: BookBrowserComponent, canActivate: [AuthGuard]},
|
||||
{path: 'profile', component: ProfileComponent, canActivate: [AuthGuard]},
|
||||
{path: 'settings', component: SettingsComponent, canActivate: [AuthGuard]},
|
||||
{path: 'library/:libraryId/books', component: BookBrowserComponent, canActivate: [AuthGuard]},
|
||||
{path: 'shelf/:shelfId/books', component: BookBrowserComponent, canActivate: [AuthGuard]},
|
||||
|
||||
Reference in New Issue
Block a user