diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index c2bb339..b6e8060 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -4,6 +4,7 @@ import { RouterModule, Routes } from '@angular/router'; import { AboutComponent } from './about/about.component'; import { LinksComponent } from './links/links.component'; import { ResumeComponent } from './resume/resume.component'; +import { UserComponent } from './user/user.component'; const routes: Routes = [ { @@ -17,6 +18,10 @@ const routes: Routes = [ { path: 'links', component: LinksComponent + }, + { + path: 'user/:index', + component: UserComponent } ]; diff --git a/src/app/user/user.component.html b/src/app/user/user.component.html index 5e7fd58..e20d2d6 100644 --- a/src/app/user/user.component.html +++ b/src/app/user/user.component.html @@ -1,3 +1 @@ -
- user works! -
+