feat(cms): add static pages module
This commit is contained in:
@@ -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' },
|
||||
];
|
||||
|
||||
@@ -8,6 +8,7 @@ export type ProjectEditorSectionId =
|
||||
| 'footer'
|
||||
| 'homepage'
|
||||
| 'widgets'
|
||||
| 'static-pages'
|
||||
| 'features'
|
||||
| 'preview';
|
||||
|
||||
|
||||
@@ -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 /> }
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user