Skip to content

Commit

Permalink
chore: Add UI page-order component
Browse files Browse the repository at this point in the history
  • Loading branch information
yosvelquintero committed Apr 2, 2024
1 parent ed2cfbe commit 3916593
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/modules/ui/src/lib/components/pages/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,5 @@ export * from './account/page-account.component';
export * from './page-home/page-home.component';
export * from './page-layout/page-layout.component';
export * from './page-management/page-management.component';
export * from './page-order/page-order.component';
export * from './page-overflow/page-overflow.component';
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<div class="row grid-gutterx-2 px-2">
<div class="flex">
<ng-content />
</div>
</div>
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { ChangeDetectionStrategy, Component } from '@angular/core';

@Component({
selector: 'rc-page-order',
templateUrl: './page-order.component.html',
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class RcPageOrderComponent {}
2 changes: 2 additions & 0 deletions packages/modules/ui/src/lib/modules-ui.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ import {
RcPageOverflowComponent,
RcPageManagementComponent,
RcPageAccountComponent,
RcPageOrderComponent,
} from './components/pages';
import {
RcPrivateTemplateComponent,
Expand Down Expand Up @@ -145,6 +146,7 @@ const pages = [
RcPageSignOutComponent,
RcPagePasswordRecoveryComponent,
RcPageAccountComponent,
RcPageOrderComponent,
];

const templates = [RcPublicTemplateComponent, RcPrivateTemplateComponent];
Expand Down

0 comments on commit 3916593

Please sign in to comment.