Skip to content

Commit

Permalink
update notice
Browse files Browse the repository at this point in the history
  • Loading branch information
Mingze Wang authored and Mingze Wang committed Mar 9, 2024
1 parent d901d7e commit 3f50f47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -131,13 +131,13 @@
<div class="desc">
<div class="alert" id="alert">
<span class="closebtn" onclick="this.parentElement.style.display='none';">&times;</span>
<strong>Please note: We're closing early on Christmas Eve at 7pm; we'll be fully closed on Christmas Day and New Year's Day</strong>
<strong>Please note: We're closing for lunch on 3/9/2024, we'll resume normal hours at 3pm.</strong>
</div>
<script>
// Function to check and hide the banner after a specific date
function hideAlertAfterDate() {
// Set the target date (January 1st, 2024, 11:59 EST)
const targetDate = new Date('2024-01-01T11:59:00-05:00');
const targetDate = new Date('2024-03-09T3:00:00-05:00');

// Get the current date
const currentDate = new Date();
Expand Down

0 comments on commit 3f50f47

Please sign in to comment.