2022-09-02 12:39:24 +00:00
|
|
|
import {NgModule} from '@angular/core';
|
|
|
|
import {RouterModule, Routes} from '@angular/router';
|
2022-09-02 15:55:19 +00:00
|
|
|
import {GamenightComponent} from './pages/gamenight/gamenight.component';
|
2022-09-02 12:39:24 +00:00
|
|
|
import {HomeComponent} from './pages/home/home.component';
|
2022-09-02 15:55:19 +00:00
|
|
|
import {StatsComponent} from './pages/stats/stats.component';
|
2022-09-09 19:50:11 +00:00
|
|
|
import {MatchHistoryComponent} from "./pages/match-history/match-history.component";
|
2022-08-28 18:28:08 +00:00
|
|
|
|
2022-09-02 12:39:24 +00:00
|
|
|
const routes: Routes = [
|
|
|
|
{path: '', component: HomeComponent, pathMatch: 'full'},
|
|
|
|
{path: 'gamenight', component: GamenightComponent},
|
2022-09-09 19:50:11 +00:00
|
|
|
{path: 'stats', component: StatsComponent},
|
|
|
|
{path: 'match-history', component: MatchHistoryComponent}
|
2022-09-02 12:39:24 +00:00
|
|
|
];
|
2022-08-28 18:28:08 +00:00
|
|
|
|
|
|
|
@NgModule({
|
2022-09-02 12:39:24 +00:00
|
|
|
imports: [RouterModule.forRoot(routes)],
|
|
|
|
exports: [RouterModule]
|
2022-08-28 18:28:08 +00:00
|
|
|
})
|
2022-09-02 12:39:24 +00:00
|
|
|
export class AppRoutingModule {
|
|
|
|
}
|