Updates to encompass benchmarks

This commit is contained in:
ivan-pelly
2026-03-07 16:10:55 -08:00
parent 69e96403f4
commit 3d531298e2
65 changed files with 2505 additions and 86 deletions
@@ -1,8 +1,12 @@
import { Routes } from '@angular/router';
import { Home } from './pages/home/home';
import { StudentCardList } from './components/student-card-list/student-card-list';
import { StudentCardFull } from './components/student-card-full/student-card-full';
import { GoalList } from './components/goal-list/goal-list';
import { GoalCardFull } from './components/goal-card-full/goal-card-full';
import { ProgressList } from './components/progress-list/progress-list';
import { BenchmarkList } from './components/benchmark-list/benchmark-list';
import { BenchmarkCardFull } from './components/benchmark-card-full/benchmark-card-full';
export default [
{
@@ -11,8 +15,14 @@ export default [
children: [
{ path: '', redirectTo: 'students', pathMatch: 'full' },
{ path: 'students', component: StudentCardList },
{ path: 'students/:studentId', component: StudentCardFull },
{ path: 'students/:studentId/goals', component: GoalList },
{ path: 'students/:studentId/goals/:goalId', component: GoalCardFull },
{ path: 'students/:studentId/goals/:goalId/progress', component: ProgressList },
{ path: 'students/:studentId/goals/:goalId/benchmarks', component: BenchmarkList },
{ path: 'students/:studentId/goals/:goalId/benchmarks/new', component: BenchmarkCardFull },
{ path: 'students/:studentId/goals/:goalId/benchmarks/:benchmarkId', component: BenchmarkCardFull },
{ path: 'students/:studentId/benchmarks', component: BenchmarkList },
],
},
] satisfies Routes;