diff --git a/Client/src/app/components/home/home.component.html b/Client/src/app/components/home/home.component.html
index 10ef7d2..89b809b 100644
--- a/Client/src/app/components/home/home.component.html
+++ b/Client/src/app/components/home/home.component.html
@@ -11,7 +11,7 @@
-
+
diff --git a/Client/src/app/components/home/home.component.ts b/Client/src/app/components/home/home.component.ts
index 59d762a..a15ffda 100644
--- a/Client/src/app/components/home/home.component.ts
+++ b/Client/src/app/components/home/home.component.ts
@@ -23,7 +23,19 @@ export class HomeComponent {
return true;
}
public get showCallToAction(): boolean {
- let maxDate = new Date(2019,6,8); // September 6th 2018 -- Set the month one month behind since JavaScript dates are 0 based
+ let maxDate = new Date(2019,6,8); // July 8th 2018 -- Set the month one month behind since JavaScript dates are 0 based
+ let now = new Date();
+ if (now.getFullYear() > maxDate.getFullYear()) return false;
+ if (now.getFullYear() == maxDate.getFullYear()) {
+ if (now.getMonth() > maxDate.getMonth()) return false;
+ if (now.getMonth() == maxDate.getMonth()) {
+ if (now.getDate() > maxDate.getDate()) return false;
+ }
+ }
+ return true;
+ }
+ public get showVBS(): boolean {
+ let maxDate = new Date(2019,7,22); // August 22nd 2018 -- Set the month one month behind since JavaScript dates are 0 based
let now = new Date();
if (now.getFullYear() > maxDate.getFullYear()) return false;
if (now.getFullYear() == maxDate.getFullYear()) {