feat(demo): add landing page with docs (#1951)

This commit is contained in:
Dmitry Nehaychik 2018-12-26 15:17:57 +03:00 committed by Sergey Andrievskiy
parent 67c9587b87
commit 43cc3a1556
190 changed files with 15425 additions and 21 deletions

View file

@ -0,0 +1,21 @@
<ng-container [ngSwitch]="currentTab?.tab">
<ng-container *ngFor="let component of source">
<ng-container *ngSwitchCase="'overview'">
<ngx-overview-block *ngIf="hasOverview(component)" [source]="component"></ngx-overview-block>
</ng-container>
<ng-container *ngSwitchCase="'theme'">
<ngx-styles-block *ngIf="hasTheme(component)" [source]="component"></ngx-styles-block>
</ng-container>
<ng-container *ngSwitchCase="'api'">
<ngx-api-block *ngIf="hasAPI(component)" [source]="component" ></ngx-api-block>
</ng-container>
<ng-container *ngSwitchCase="'examples'">
<ngx-examples-block *ngIf="hasExamples(component)" [source]="component" ></ngx-examples-block>
</ng-container>
</ng-container>
</ng-container>