Files
print-calculator/frontend/src/app/app.routes.ts
Joe Küng 2f7e8798d2
Some checks failed
Build, Test and Deploy / test-backend (push) Failing after 17s
Build, Test and Deploy / build-and-push (push) Has been skipped
Build, Test and Deploy / deploy (push) Has been skipped
feat(front-end): contact form and about separated
2026-02-04 15:17:29 +01:00

31 lines
916 B
TypeScript

import { Routes } from '@angular/router';
export const routes: Routes = [
{
path: '',
loadComponent: () => import('./core/layout/layout.component').then(m => m.LayoutComponent),
children: [
{
path: '',
loadComponent: () => import('./features/home/home.component').then(m => m.HomeComponent)
},
{
path: 'cal',
loadChildren: () => import('./features/calculator/calculator.routes').then(m => m.CALCULATOR_ROUTES)
},
{
path: 'shop',
loadChildren: () => import('./features/shop/shop.routes').then(m => m.SHOP_ROUTES)
},
{
path: 'about',
loadChildren: () => import('./features/about/about.routes').then(m => m.ABOUT_ROUTES)
},
{
path: 'contact',
loadChildren: () => import('./features/contact/contact.routes').then(m => m.CONTACT_ROUTES)
}
]
}
];