update vbs image
parent
3e8bd8935a
commit
41a1ff0d18
|
|
@ -43,7 +43,7 @@
|
||||||
<div style="text-align: center; position: relative; margin-bottom: 15px; " *ngIf="showVBS">
|
<div style="text-align: center; position: relative; margin-bottom: 15px; " *ngIf="showVBS">
|
||||||
<div style="position: absolute; width: 100%; height: calc(65% + 15px); top: 35%; background-color: rgb(240,240,240);"></div>
|
<div style="position: absolute; width: 100%; height: calc(65% + 15px); top: 35%; background-color: rgb(240,240,240);"></div>
|
||||||
<a routerLink="/vbs" style="display: block; width:75%; max-width: 350px; position: relative; z-index: 1; margin-left: auto; margin-right: auto;">
|
<a routerLink="/vbs" style="display: block; width:75%; max-width: 350px; position: relative; z-index: 1; margin-left: auto; margin-right: auto;">
|
||||||
<img src="assets/images/home-images/tiny/VBS_small.jpg" style="width:100%; height: auto; display: block; box-shadow: 0 0 20px gray;" >
|
<img src="assets/images/home-images/tiny/vbs2026.jpg" style="width:100%; height: auto; display: block; box-shadow: 0 0 20px gray;" >
|
||||||
<div style="margin-top: 30px; font-size: 30px;">
|
<div style="margin-top: 30px; font-size: 30px;">
|
||||||
Click To Register!
|
Click To Register!
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -63,7 +63,6 @@ return false;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
public get showVBS(): boolean {
|
public get showVBS(): boolean {
|
||||||
return false;
|
|
||||||
let maxDate = new Date(2026,7,13); // August 22nd 2018 -- Set the month one month behind since JavaScript dates are 0 based
|
let maxDate = new Date(2026,7,13); // August 22nd 2018 -- Set the month one month behind since JavaScript dates are 0 based
|
||||||
let now = new Date();
|
let now = new Date();
|
||||||
if (now.getFullYear() > maxDate.getFullYear()) return false;
|
if (now.getFullYear() > maxDate.getFullYear()) return false;
|
||||||
|
|
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 1.2 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 65 KiB |
Loading…
Reference in New Issue