feat(portal-frontend): add router with worklist and case-detail routes

Empty placeholder components for worklist-list and case-detail,
wired into app.routes.ts (legacy/:id and owned/:id share one page
component since the rendered shape is identical). Replaces the CLI
welcome template with a minimal shell rendering <router-outlet>.
This commit is contained in:
eho
2026-07-31 08:47:13 +02:00
parent b8a8d28e7b
commit 3ed130de25
12 changed files with 87 additions and 352 deletions
+9 -1
View File
@@ -1,3 +1,11 @@
import { Routes } from '@angular/router';
export const routes: Routes = [];
import { CaseDetailPage } from './case-detail/case-detail/case-detail';
import { WorklistList } from './worklist/worklist-list/worklist-list';
export const routes: Routes = [
{ path: '', component: WorklistList },
{ path: 'legacy/:id', component: CaseDetailPage },
{ path: 'owned/:id', component: CaseDetailPage },
{ path: '**', redirectTo: '' },
];