feat(project-editor): route-driven tabs under /edit/:section

This commit is contained in:
sdarbinyan
2026-07-13 07:55:43 +04:00
parent e4a3ee25db
commit 74e5099b04
6 changed files with 53 additions and 12 deletions

View File

@@ -40,12 +40,22 @@ const coreRoutes: Routes = [
loadComponent: () => import('./features/website/catalog/containers/catalog-container.component').then(m => m.CatalogContainerComponent)
},
{
path: 'builder',
path: 'edit/:section',
loadComponent: () => import('./features/project-editor/pages/project-editor-page.component').then(m => m.ProjectEditorPageComponent)
},
{
path: 'edit',
redirectTo: 'edit/general',
pathMatch: 'full'
},
{
path: 'builder',
redirectTo: 'edit/general',
pathMatch: 'full'
},
{
path: 'project-editor',
redirectTo: 'builder',
redirectTo: 'edit/general',
pathMatch: 'full'
},
{