|
@@ -58,18 +58,18 @@
|
|
|
<ng-container *ngIf="i % 2 === 0">
|
|
|
<ion-col size="5.5">
|
|
|
<ion-card (click)="goLessonDetail(course)">
|
|
|
- <img alt="Silhouette of mountains" [src]="course?.get('foodImg')" />
|
|
|
+ <img alt="Silhouette of mountains" [src]="course?.get('giftImg')" />
|
|
|
<ion-card-header>
|
|
|
- <ion-card-title>{{course?.get("foodName")}}</ion-card-title>
|
|
|
+ <ion-card-title>{{course?.get("giftName")}}</ion-card-title>
|
|
|
</ion-card-header>
|
|
|
|
|
|
</ion-card>
|
|
|
</ion-col>
|
|
|
<ion-col size="5.5" *ngIf="i + 1 < courseList.length">
|
|
|
<ion-card (click)="goLessonDetail(courseList[i+1])">
|
|
|
- <img alt="Silhouette of mountains" [src]="courseList[i + 1].get('foodImg')" />
|
|
|
+ <img alt="Silhouette of mountains" [src]="courseList[i + 1].get('giftImg')" />
|
|
|
<ion-card-header>
|
|
|
- <ion-card-title>{{courseList[i +1].get("foodName")}}</ion-card-title>
|
|
|
+ <ion-card-title>{{courseList[i +1].get("giftName")}}</ion-card-title>
|
|
|
</ion-card-header>
|
|
|
</ion-card>
|
|
|
</ion-col>
|