Files
print-calculator/frontend/src/app/features/calculator/calculator.routes.ts
Joe Küng 7ebaff322c
All checks were successful
Build, Test and Deploy / test-backend (push) Successful in 1m12s
Build, Test and Deploy / build-and-push (push) Successful in 22s
Build, Test and Deploy / deploy (push) Successful in 6s
feat(web): improvements in routes for calculator
2026-02-12 12:44:12 +01:00

9 lines
384 B
TypeScript

import { Routes } from '@angular/router';
import { CalculatorPageComponent } from './calculator-page.component';
export const CALCULATOR_ROUTES: Routes = [
{ path: '', redirectTo: 'basic', pathMatch: 'full' },
{ path: 'basic', component: CalculatorPageComponent, data: { mode: 'easy' } },
{ path: 'advanced', component: CalculatorPageComponent, data: { mode: 'advanced' } }
];