feat(project-editor): add Navigation tab for header/flat footer nav

This commit is contained in:
sdarbinyan
2026-07-13 08:57:42 +04:00
parent 4d65386052
commit 16a134ca42
11 changed files with 232 additions and 1 deletions

View File

@@ -24,6 +24,7 @@
@case ('static-pages') { <app-static-pages-editor /> }
@case ('features') { <app-project-editor-features-section /> }
@case ('languages') { <app-project-editor-languages-section /> }
@case ('navigation') { <app-project-editor-navigation-section /> }
@case ('preview') { <app-project-editor-preview-section /> }
}
</section>

View File

@@ -13,13 +13,14 @@ import { ProjectEditorHomepageSectionComponent } from '../sections/homepage-sect
import { ProjectEditorWidgetsSectionComponent } from '../sections/widgets-section.component';
import { ProjectEditorFeaturesSectionComponent } from '../sections/features-section.component';
import { ProjectEditorLanguagesSectionComponent } from '../sections/languages-section.component';
import { ProjectEditorNavigationSectionComponent } from '../sections/navigation-section.component';
import { ProjectEditorPreviewSectionComponent } from '../sections/preview-section.component';
import { TranslatePipe } from '../../../i18n/translate.pipe';
import { StaticPagesEditorComponent } from '../../content-management/components/static-pages-editor.component';
import { ProjectEditorSectionId } from '../models/project-editor.model';
const KNOWN_SECTIONS: ProjectEditorSectionId[] = [
'general', 'branding', 'theme', 'header', 'footer', 'homepage', 'widgets', 'static-pages', 'features', 'languages', 'preview'
'general', 'branding', 'theme', 'header', 'footer', 'homepage', 'widgets', 'static-pages', 'features', 'languages', 'navigation', 'preview'
];
@Component({
@@ -38,6 +39,7 @@ const KNOWN_SECTIONS: ProjectEditorSectionId[] = [
StaticPagesEditorComponent,
ProjectEditorFeaturesSectionComponent,
ProjectEditorLanguagesSectionComponent,
ProjectEditorNavigationSectionComponent,
ProjectEditorPreviewSectionComponent,
],
templateUrl: './project-editor-page.component.html',