feat(front-end): traslation de and fr
All checks were successful
Build, Test and Deploy / test-backend (push) Successful in 35s
Build, Test and Deploy / build-and-push (push) Successful in 40s
Build, Test and Deploy / deploy (push) Successful in 9s

This commit is contained in:
2026-02-27 11:32:14 +01:00
parent 64cd90eabc
commit 150faf3b5a
9 changed files with 1296 additions and 59 deletions

View File

@@ -1,50 +1,61 @@
import { Routes } from '@angular/router';
const appChildRoutes: Routes = [
{
path: '',
loadComponent: () => import('./features/home/home.component').then(m => m.HomeComponent)
},
{
path: 'calculator',
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)
},
{
path: 'checkout',
loadComponent: () => import('./features/checkout/checkout.component').then(m => m.CheckoutComponent)
},
{
path: 'order/:orderId',
loadComponent: () => import('./features/order/order.component').then(m => m.OrderComponent)
},
{
path: 'co/:orderId',
loadComponent: () => import('./features/order/order.component').then(m => m.OrderComponent)
},
{
path: '',
loadChildren: () => import('./features/legal/legal.routes').then(m => m.LEGAL_ROUTES)
},
{
path: '**',
redirectTo: ''
}
];
export const routes: Routes = [
{
path: ':lang',
loadComponent: () => import('./core/layout/layout.component').then(m => m.LayoutComponent),
children: appChildRoutes
},
{
path: '',
loadComponent: () => import('./core/layout/layout.component').then(m => m.LayoutComponent),
children: [
{
path: '',
loadComponent: () => import('./features/home/home.component').then(m => m.HomeComponent)
},
{
path: 'calculator',
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)
},
{
path: 'checkout',
loadComponent: () => import('./features/checkout/checkout.component').then(m => m.CheckoutComponent)
},
{
path: 'order/:orderId',
loadComponent: () => import('./features/order/order.component').then(m => m.OrderComponent)
},
{
path: 'co/:orderId',
loadComponent: () => import('./features/order/order.component').then(m => m.OrderComponent)
},
{
path: '',
loadChildren: () => import('./features/legal/legal.routes').then(m => m.LEGAL_ROUTES)
},
{
path: '**',
redirectTo: ''
}
]
children: appChildRoutes
},
{
path: '**',
redirectTo: ''
}
];