From ad5c984a4656d627aca7f0f7c22854cdfe573e97 Mon Sep 17 00:00:00 2001 From: chris Date: Fri, 12 Jun 2026 19:45:21 -0400 Subject: [PATCH] Mirror live open/closed status to contact page Add #status and #hours-* IDs to the contact page hours tile and load update.js so the same live open/closed logic from the homepage runs on the contact page. Guard against missing #message element so update.js works on pages that don't have the marquee banner. Co-Authored-By: Claude Sonnet 4.6 --- main-site/contact/index.html | 6 +++++- main-site/update.js | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/main-site/contact/index.html b/main-site/contact/index.html index c1b20e1..5b14406 100644 --- a/main-site/contact/index.html +++ b/main-site/contact/index.html @@ -54,7 +54,10 @@
Shop Hours
- Tue–Fri 10:00–5:00
Saturday 9:00–3:00
+

+

Tuesday – Friday: 10:00–5:00

+

Saturday: 9:00–3:00

+

Sunday – Monday: Closed

@@ -174,6 +177,7 @@ + diff --git a/main-site/update.js b/main-site/update.js index d934413..8e83a30 100644 --- a/main-site/update.js +++ b/main-site/update.js @@ -42,7 +42,7 @@ document.addEventListener('DOMContentLoaded', () => { // Handle the top message if (update.message && update.message.trim() !== "") { - message.textContent = update.message; + if (message) message.textContent = update.message; } else { const updateElement = document.querySelector('.update'); if (updateElement) {