File size: 1,186 Bytes
1bc149f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import {Routes} from '@angular/router';
import {BodyComponent} from "./components/body/body.component";
import {TasksComponent} from "./components/body/tasks/tasks.component";
import {LeaderboardsComponent} from "./components/body/leaderboards/leaderboards.component";
import {SubmissionsComponent} from "./components/body/submissions/submissions.component";
import {DatasetsComponent} from "./components/body/datasets/datasets.component";
import {AboutComponent} from "./components/body/about/about.component";
import {TaskComponent} from "./components/body/tasks/task/task.component";
import {SubmittingComponent} from "./components/body/submitting/submitting.component";

export const routes: Routes = [
  {path: '', component : BodyComponent},
  {path: 'tasks', component: TasksComponent},
  {path: 'tasks/:task', component: TaskComponent},
  {path: 'submissions', component: SubmissionsComponent},
  {path: 'submitting', component: SubmittingComponent},
  {path: 'datasets', component: DatasetsComponent},
  {path: 'about', component: AboutComponent},
  {path: 'leaderboards', component: LeaderboardsComponent},
  {path: 'leaderboards/:task', component: LeaderboardsComponent},
];