-
+
{{item.short_title}}
{{item.short_description}}
diff --git a/src/app/pages/home/home.page.scss b/src/app/pages/home/home.page.scss
index 485ff25..0260397 100644
--- a/src/app/pages/home/home.page.scss
+++ b/src/app/pages/home/home.page.scss
@@ -94,12 +94,12 @@ ion-content {
}
.offer {
- margin-top: 10px;
-margin-bottom: 10px;
- .back_image {
- height: 150px;
- width: 100%;
- border-radius: 15px;
+ margin-top: 10px;
+ margin-bottom: 10px;
+ .back_image {
+ height: 150px;
+ width: 100%;
+ border-radius: 15px;
}
}
@@ -190,7 +190,9 @@ margin-bottom: 10px;
width: 95px;
border-radius: 10px;
}
-
+ .banner_image{
+ min-width: 90px;
+ }
.detail {
margin-left: 10px;
diff --git a/src/app/pages/home/home.page.ts b/src/app/pages/home/home.page.ts
index d4ad59c..7c017af 100644
--- a/src/app/pages/home/home.page.ts
+++ b/src/app/pages/home/home.page.ts
@@ -70,8 +70,16 @@ export class HomePage implements OnInit {
);
}
- onDetails() {
- this.router.navigate(['detail']);
+ onDetails(item) {
+ var pageToNavigate = 'detail';
+ // alert(item.link_path);
+ switch (item.link_path){
+ case 'referral':
+ pageToNavigate = 'invite';
+ break;
+
+ }
+ this.router.navigate([pageToNavigate]);
}
onNotification() {
diff --git a/src/app/pages/my-course/my-course.page.html b/src/app/pages/my-course/my-course.page.html
index 89bad48..53bcce7 100644
--- a/src/app/pages/my-course/my-course.page.html
+++ b/src/app/pages/my-course/my-course.page.html
@@ -13,10 +13,10 @@
- Ongoing
+ Available
- Complete
+ Last Minute