Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,30 +10,28 @@
</span>
</div>
<div class="carousel-wrapper">
<igx-carousel #carousel>
<igx-carousel #carousel [indicators]="false">
<igx-slide *ngFor="let slide of slides;">
<div class="slide-wrapper">
<igx-card elevated>
<igx-card-header>
<h4 igxCardHeaderTitle>{{slide.heading}}</h4>
</igx-card-header>

<igx-card-content>
<p>{{slide.description}}</p>
</igx-card-content>

<igx-card-media>
<img [src]="slide.image">
</igx-card-media>

<igx-card-actions>
<a igxButton href="{{slide.link}}" target="_blank" rel="noopener" style="text-decoration: none;" igxStart>visit page</a>
</igx-card-actions>
</igx-card>
</div>
</igx-slide>
<ng-template igxCarouselIndicator></ng-template>
</igx-carousel>
</div>
</div>

Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div class="carousel-animation-wrapper">
<div class="carousel-wrapper">
<igx-carousel [navigation]="false" [pause]="false" animationType="fade" [interval]="2000">
<igx-carousel [navigation]="false" [indicators]="false" [pause]="false" animationType="fade" [interval]="2000" [gesturesSupport]="false">
<igx-slide #slide *ngFor="let item of slides">
<div style="height: 100%" [ngStyle]="slideStyle(item.image)">
<section class="promo-price" [ngClass]="{'animated': slide.active}">
Expand All @@ -9,7 +9,6 @@
</section>
</div>
</igx-slide>
<ng-template igxCarouselIndicator></ng-template>
</igx-carousel>
</div>
<div class="list-wrapper">
Expand Down
Loading