mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-18 16:30:13 +01:00
feat(demo): add landing page with docs (#1951)
This commit is contained in:
parent
67c9587b87
commit
43cc3a1556
190 changed files with 15425 additions and 21 deletions
23
docs/app/blocks/components/md-block/md-block.component.ts
Normal file
23
docs/app/blocks/components/md-block/md-block.component.ts
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
/**
|
||||
* @license
|
||||
* Copyright Akveo. All Rights Reserved.
|
||||
* Licensed under the MIT License. See License.txt in the project root for license information.
|
||||
*/
|
||||
|
||||
import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'ngx-md-block',
|
||||
template: `
|
||||
<nb-card *ngFor="let section of source;" [ngxFragment]="section.fragment">
|
||||
<nb-card-body>
|
||||
<div [innerHtml]="section.html"></div>
|
||||
</nb-card-body>
|
||||
</nb-card>
|
||||
`,
|
||||
changeDetection: ChangeDetectionStrategy.OnPush,
|
||||
})
|
||||
export class NgxMdBLockComponent {
|
||||
|
||||
@Input() source: string;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue