;
+
+ beforeEach(async(() => {
+ fixture = TestBed.createComponent(ChantMantrasPage);
+ component = fixture.componentInstance;
+ fixture.detectChanges();
+ }));
+
+ it('should create', () => {
+ expect(component).toBeTruthy();
+ });
+});
diff --git a/src/app/chant-mantras/chant-mantras.page.ts b/src/app/chant-mantras/chant-mantras.page.ts
new file mode 100644
index 0000000..afc5cb7
--- /dev/null
+++ b/src/app/chant-mantras/chant-mantras.page.ts
@@ -0,0 +1,44 @@
+import { Component, OnInit, OnDestroy } from '@angular/core';
+
+@Component({
+ selector: 'app-chant-mantras',
+ templateUrl: './chant-mantras.page.html',
+ styleUrls: ['./chant-mantras.page.scss'],
+})
+export class ChantMantrasPage implements OnInit, OnDestroy {
+ options = {
+ current: 100,
+ max: 100,
+ color: '#fa9900',
+ background: '#fce09f',
+ stroke: 10,
+ semicircle: true,
+ rounded: true,
+ clockwise: true,
+ responsive: true,
+ duration: 1000,
+ animation: 'easeInOutQuart',
+ animationDelay: 0,
+ };
+
+ totalTime: number = 100000;
+ currentTime: number = 0;
+ timerInterval: any;
+
+ constructor() {}
+ ngOnDestroy() {
+ clearInterval(this.timerInterval);
+ }
+
+ ngOnInit() {
+ this.currentTime = this.totalTime;
+ this.timerInterval = setInterval(() => {
+ if (this.currentTime > 0) {
+ this.currentTime -= 1000;
+ this.options.current = this.currentTime * 100 / this.totalTime;
+ } else {
+ clearInterval(this.timerInterval);
+ }
+ }, 1000);
+ }
+}
diff --git a/src/app/home/home.page.html b/src/app/home/home.page.html
index 568dbc5..9510950 100644
--- a/src/app/home/home.page.html
+++ b/src/app/home/home.page.html
@@ -58,7 +58,7 @@
-