Skip to content

Commit

Permalink
feature flag root content page created (#1508)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yagnik56 authored May 8, 2024
1 parent d7c5877 commit 114a812
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<app-common-section-card-list>
<div section-card>Hi I'm a section card 1</div>
</app-common-section-card-list>
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import { ChangeDetectionStrategy, Component } from '@angular/core';
import { CommonSectionCardListComponent } from '../../../../../../shared-standalone-component-lib/components';

@Component({
selector: 'app-feature-flag-root-page-content',
standalone: true,
imports: [CommonSectionCardListComponent],
templateUrl: './feature-flag-root-page-content.component.html',
styleUrl: './feature-flag-root-page-content.component.scss',
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class FeatureFlagRootPageContentComponent {}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<app-common-root-page>
<app-feature-flag-root-page-header header></app-feature-flag-root-page-header>
<!-- content element goes here (section card list) -->
<app-feature-flag-root-page-content content></app-feature-flag-root-page-content>
</app-common-root-page>
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
import { Component } from '@angular/core';
import { CommonRootPageComponent } from '../../../../../shared-standalone-component-lib/components';
import { FeatureFlagRootPageHeaderComponent } from './feature-flag-root-page-header/feature-flag-root-page-header.component';
import { FeatureFlagRootPageContentComponent } from './feature-flag-root-page-content/feature-flag-root-page-content.component';

@Component({
selector: 'app-feature-flag-root-page',
standalone: true,
templateUrl: './feature-flag-root-page.component.html',
styleUrl: './feature-flag-root-page.component.scss',
imports: [CommonRootPageComponent, FeatureFlagRootPageHeaderComponent],
imports: [CommonRootPageComponent, FeatureFlagRootPageHeaderComponent, FeatureFlagRootPageContentComponent],
})
export class FeatureFlagRootPageComponent {}

0 comments on commit 114a812

Please sign in to comment.