feat: user profile page (#1209)

Fixes: #1208
This commit is contained in:
Karan Takalkar
2020-08-16 16:27:01 +05:30
committed by GitHub
parent 537d8482c7
commit a2066e721a
10 changed files with 273 additions and 1 deletions
+33
View File
@@ -0,0 +1,33 @@
/** Angular Imports */
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
/** Routing Imports */
import { Route } from '../core/route/route.service';
/** Translation Imports */
import { extract } from '../core/i18n/i18n.service';
/** Custom Components */
import { ProfileComponent } from './profile.component';
/** Profile Routes */
const routes: Routes = [
Route.withShell([
{
path: 'profile',
component: ProfileComponent,
data: { title: extract('Profile'), breadcrumb: 'Profile' },
}
])
];
/**
* Profile Routing Module
*/
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule],
providers: []
})
export class ProfileRoutingModule { }