feat(cms): add static pages module

This commit is contained in:
sdarbinyan
2026-07-10 13:52:01 +04:00
parent e2c8747fcc
commit 7d6c09a346
25 changed files with 890 additions and 159 deletions

View File

@@ -22,6 +22,7 @@ export class ProjectEditorNavComponent {
{ id: 'footer', label: 'builder.footer' },
{ id: 'homepage', label: 'builder.homepage' },
{ id: 'widgets', label: 'builder.widgets' },
{ id: 'static-pages', label: 'builder.staticPages' },
{ id: 'features', label: 'builder.marketplaceFeatures' },
{ id: 'preview', label: 'builder.preview' },
];

View File

@@ -8,6 +8,7 @@ export type ProjectEditorSectionId =
| 'footer'
| 'homepage'
| 'widgets'
| 'static-pages'
| 'features'
| 'preview';

View File

@@ -21,6 +21,7 @@
@case ('footer') { <app-project-editor-footer-section /> }
@case ('homepage') { <app-project-editor-homepage-section /> }
@case ('widgets') { <app-project-editor-widgets-section /> }
@case ('static-pages') { <app-static-pages-editor /> }
@case ('features') { <app-project-editor-features-section /> }
@case ('preview') { <app-project-editor-preview-section /> }
}

View File

@@ -11,6 +11,7 @@ import { ProjectEditorWidgetsSectionComponent } from '../sections/widgets-sectio
import { ProjectEditorFeaturesSectionComponent } from '../sections/features-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';
@Component({
selector: 'app-project-editor-page',
@@ -25,6 +26,7 @@ import { TranslatePipe } from '../../../i18n/translate.pipe';
ProjectEditorFooterSectionComponent,
ProjectEditorHomepageSectionComponent,
ProjectEditorWidgetsSectionComponent,
StaticPagesEditorComponent,
ProjectEditorFeaturesSectionComponent,
ProjectEditorPreviewSectionComponent,
],