diff options
Diffstat (limited to 'webapp/src/app/home/home.component.html')
-rw-r--r-- | webapp/src/app/home/home.component.html | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/webapp/src/app/home/home.component.html b/webapp/src/app/home/home.component.html new file mode 100644 index 0000000..568fb9b --- /dev/null +++ b/webapp/src/app/home/home.component.html @@ -0,0 +1,13 @@ +<div class="wide"> + <carousel [interval]="carInterval" [(activeSlide)]="activeSlideIndex"> + <slide *ngFor="let sl of slides; let index=index"> + <img [src]="sl.img" [alt]="sl.imgAlt"> + <div class="carousel-caption"> + <h1 *ngIf="sl.hText">{{ sl.hText }}</h1> + <h1 *ngIf="sl.hHtml" class="html-inner" [innerHtml]="sl.hHtml"></h1> + <p *ngIf="sl.text">{{ sl.text }}</p> + <div *ngIf="sl.html" class="html-inner" [innerHtml]="sl.html"></div> + </div> + </slide> + </carousel> +</div> |