diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index edcd738..c363ba5 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -3,11 +3,13 @@ import {RouterModule, Routes} from '@angular/router'; import {GamenightComponent} from './pages/gamenight/gamenight.component'; import {HomeComponent} from './pages/home/home.component'; import {StatsComponent} from './pages/stats/stats.component'; +import {MatchHistoryComponent} from "./pages/match-history/match-history.component"; const routes: Routes = [ {path: '', component: HomeComponent, pathMatch: 'full'}, {path: 'gamenight', component: GamenightComponent}, - {path: 'stats', component: StatsComponent} + {path: 'stats', component: StatsComponent}, + {path: 'match-history', component: MatchHistoryComponent} ]; @NgModule({ diff --git a/src/app/app.module.ts b/src/app/app.module.ts index eaa250d..ae4db80 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -8,7 +8,8 @@ import {StatsComponent} from './pages/stats/stats.component'; import {GamenightComponent} from './pages/gamenight/gamenight.component'; import {HeaderComponent} from './components/header/header.component'; import {ProfileComponent} from './components/profile/profile.component'; -import { AddGameComponent } from './components/add-game/add-game.component'; +import {AddGameComponent} from './components/add-game/add-game.component'; +import {MatchHistoryComponent} from './pages/match-history/match-history.component'; @NgModule({ declarations: [ @@ -18,7 +19,8 @@ import { AddGameComponent } from './components/add-game/add-game.component'; GamenightComponent, HeaderComponent, ProfileComponent, - AddGameComponent + AddGameComponent, + MatchHistoryComponent ], imports: [ BrowserModule, diff --git a/src/app/components/header/header.component.html b/src/app/components/header/header.component.html index b19b6eb..e545b5e 100644 --- a/src/app/components/header/header.component.html +++ b/src/app/components/header/header.component.html @@ -4,6 +4,7 @@