diff --git a/package-lock.json b/package-lock.json index df000ad..88bf83c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7651,6 +7651,11 @@ "integrity": "sha512-iyam8fBuCUpWeKPGpaNMetEocMt364qkCsfL9JuhjXX6dRnguRVOfk2GZaDpPjcOKiiXCPINZC1GczQ7iTq3Zw==", "dev": true }, + "ngx-scroll-event": { + "version": "1.0.8", + "resolved": "https://registry.npmjs.org/ngx-scroll-event/-/ngx-scroll-event-1.0.8.tgz", + "integrity": "sha512-P7fHHgYsPFhDOwIhAtQVFJb+VtGuCDA/mZYgk3s6kyBccQjBaPe2qQ/EdNLXg1noppUbq68TOqACuzfiLZyh8w==" + }, "nice-try": { "version": "1.0.5", "resolved": "https://registry.npmjs.org/nice-try/-/nice-try-1.0.5.tgz", diff --git a/package.json b/package.json index 0fa704e..507ac3c 100644 --- a/package.json +++ b/package.json @@ -21,6 +21,7 @@ "@angular/router": "~9.1.1", "@angular/service-worker": "~9.1.1", "angular-svg-icon": "^9.2.0", + "ngx-scroll-event": "^1.0.8", "rxjs": "~6.5.4", "tslib": "^1.10.0", "zone.js": "~0.10.2" diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 56ec6d4..2fb0173 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -2,6 +2,7 @@ import { BrowserModule } from '@angular/platform-browser'; import { NgModule } from '@angular/core'; import { AngularSvgIconModule } from 'angular-svg-icon'; import { HttpClientModule } from '@angular/common/http'; +import { ScrollEventModule } from 'ngx-scroll-event'; import { AppRoutingModule } from './app-routing.module'; import { AppComponent } from './app.component'; @@ -38,6 +39,7 @@ import { ProfileComponent } from './profile/profile.component'; BrowserModule, AppRoutingModule, HttpClientModule, + ScrollEventModule, AngularSvgIconModule.forRoot(), ServiceWorkerModule.register('ngsw-worker.js', { enabled: environment.production }) ], diff --git a/src/app/tabs/courses/courses.component.html b/src/app/tabs/courses/courses.component.html index 89a5b26..9ded3fc 100644 --- a/src/app/tabs/courses/courses.component.html +++ b/src/app/tabs/courses/courses.component.html @@ -4,8 +4,8 @@
Chapter: 21
+50% complete
Chapter: 21
+50% complete
Chapter: 21
+50% complete
Chapter: 21
+50% complete
Chapter: 21
+50% complete
Starts in
-40 Minutes
-
-
- Dwayne the Rock
-
40 Minutes
-
-
- Dwayne the Rock
-
Starts in
+40 Minutes
-
-
- Dwayne the Rock
-
40 Minutes
-
-
- Dwayne the Rock
-
40 Minutes
+
+
+ Dwayne the Rock
+
40 Minutes
+
+
+ Dwayne the Rock
+
40 Minutes
-
-
- Dwayne the Rock
-
40 Minutes
-
-
- Dwayne the Rock
-
40 Minutes
+
+
+ Dwayne the Rock
+
40 Minutes
+
+
+ Dwayne the Rock
+
40 Minutes
-
-
- Dwayne the Rock
-
40 Minutes
-
-
- Dwayne the Rock
-
40 Minutes
+
+
+ Dwayne the Rock
+
40 Minutes
+
+
+ Dwayne the Rock
+
40 Minutes
+
+
+ Dwayne the Rock
+
40 Minutes
+
+
+ Dwayne the Rock
+