feat(account-page): implement account layout, profile, and purchases pages with corresponding components

This commit is contained in:
2026-07-08 08:36:17 -03:00
parent 3579abdecb
commit 1a2d303b4e
8 changed files with 372 additions and 0 deletions

View File

@@ -65,6 +65,35 @@ export const routes: Routes = [
)
}
]
},
{
path: 'mi-cuenta',
canActivate: [authGuard],
loadComponent: () =>
import('./pages/account-page/account-layout/account-layout').then(
(m) => m.AccountLayout
),
children: [
{
path: 'datos-personales',
loadComponent: () =>
import('./pages/account-page/pages/profile-page/profile-page').then(
(m) => m.ProfilePage
)
},
{
path: 'compras',
loadComponent: () =>
import('./pages/account-page/pages/purchases-page/purchases-page').then(
(m) => m.PurchasesPage
)
},
{
path: '',
redirectTo: 'datos-personales',
pathMatch: 'full'
}
]
}
]
}