diff --git a/ng8-seed/src/app/app.module.ts b/ng8-seed/src/app/app.module.ts index 221c236..aa64f94 100644 --- a/ng8-seed/src/app/app.module.ts +++ b/ng8-seed/src/app/app.module.ts @@ -56,6 +56,7 @@ import {CookieService} from 'ngx-cookie-service' import { LoginComponent } from './components/login/login.component'; import { RegisterComponent } from './components/register/register.component'; import { ReqListComponent } from './components/req-list/req-list.component'; +import { UserProfileComponent } from './components/user-profile/user-profile.component'; export function HttpLoaderFactory(http: HttpClient) { @@ -85,6 +86,7 @@ const DEFAULT_PERFECT_SCROLLBAR_CONFIG: PerfectScrollbarConfigInterface = { LoginComponent, RegisterComponent, ReqListComponent, + UserProfileComponent, // ProjectListComponent ], diff --git a/ng8-seed/src/app/app.routing.ts b/ng8-seed/src/app/app.routing.ts index 9b7f554..5661cae 100644 --- a/ng8-seed/src/app/app.routing.ts +++ b/ng8-seed/src/app/app.routing.ts @@ -11,6 +11,8 @@ import { MyAccountComponent } from './components/my-account/my-account.component import { AuthGuardService } from './shared/guards/auth-guard.service'; import { LoginComponent } from './components/login/login.component'; import { RegisterComponent } from './components/register/register.component'; +import { Component } from '@angular/core'; +import { UserProfileComponent } from './components/user-profile/user-profile.component'; export const AppRoutes: Routes = [{ path: '', redirectTo: 'home', @@ -54,6 +56,10 @@ export const AppRoutes: Routes = [{ { path:'register', component:RegisterComponent + }, + { + path:'user-profile', + component:UserProfileComponent } ] diff --git a/ng8-seed/src/app/components/contribute/contribute.component.html b/ng8-seed/src/app/components/contribute/contribute.component.html index a1af942..076e777 100644 --- a/ng8-seed/src/app/components/contribute/contribute.component.html +++ b/ng8-seed/src/app/components/contribute/contribute.component.html @@ -8,28 +8,28 @@