no service sunday night

master
Hannah 2026-06-21 16:40:42 -06:00
parent b763dab04d
commit 5bc9798dc1
2 changed files with 8 additions and 28 deletions

View File

@ -79,39 +79,19 @@
</div>
</div>
<div class="row" *ngIf="showSpecial" >
<div class="row-content">
<div class="row-content-col-left center">
<img style="max-height:500px" ofbFadeInOnScroll src="assets/images/home-images/tiny/Cowboy Carnival.jpg" height="500">
</div>
<div class="row-content-col-right align-top center">
<p ofbFadeInOnScroll class="row-content-header">Cowboy Carnival</p>
<p ofbFadeInOnScroll class="row-content-header">No Service Tonight (6/21/2026)</p>
<p ofbFadeInOnScroll>
Come join us for Ranger Walkers Wild West Cowboy Carnival!
</p>
<br>
<p ofbFadeInOnScroll class="bold">
Family Fun
</p>
<br>
<p ofbFadeInOnScroll class="bold">
Games
</p>
<br>
<p ofbFadeInOnScroll class="bold">
Rides
</p>
<br>
<p ofbFadeInOnScroll class="bold">
Inflatables
</p>
<br>
<p ofbFadeInOnScroll style="font-size:1.25em;">
<b>Sunday, September 18 @ 11:00 AM</b>
</p>
<br>
<p ofbFadeInOnScroll class="action">
<i ofbicon>phone</i> <a href="tel:+1-406-494-5028" class="align-top">406-494-5028</a>
Due to the change in schedule today (6/26/2026) we will not have our
regular Sunday Evening Service. We will have a Sunday afternoon service
at 1:00 PM.
</p>
</div>
</div>

View File

@ -34,7 +34,7 @@ export class HomeComponent {
public get showSpecial() : boolean {
let maxDate = new Date(2022,8,18,11); // September 18th 2018 -- Set the month one month behind since JavaScript dates are 0 based
let maxDate = new Date(2026,5,26,11); // September 18th 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()) {