';
+ });
+
+ // Empty leading cells
+ for (let i = 0; i < firstDow; i++) {
+ html += '';
+ }
+
+ // Day cells
+ for (let d = 1; d <= daysInMonth; d++) {
+ const dow = new Date(viewYear, viewMonth, d).getDay();
+ const isToday = (today.getFullYear() === viewYear && today.getMonth() === viewMonth && today.getDate() === d);
+ const brunch = isBrunchDay(dow);
+ const dots = getDots(viewYear, viewMonth, d);
+
+ let cls = 'cal-cell';
+ if (brunch) cls += ' cal-cell--brunch';
+ if (isToday) cls += ' cal-cell--today';
+
+ html += '
';
+ html += '' + d + '';
+ if (dots.length > 0) {
+ html += '
';
+ dots.forEach(function (dot) {
+ html += '';
+ });
+ html += '
';
+ }
+ html += '
';
+ }
+
+ html += '
'; // .cal-grid
+
+ // Legend
+ html += '
';
+ html += ' Trivia Night (Tue)';
+ html += ' Live Music (Mon & Fri)';
+ html += ' Board Games & Chess (2nd Thu)';
+ html += ' Brunch hours (Thu–Sun)';
+ html += '
';
+
+ calEl.innerHTML = html;
+
+ document.getElementById('cal-prev').addEventListener('click', function () {
+ viewMonth--;
+ if (viewMonth < 0) { viewMonth = 11; viewYear--; }
+ render();
+ });
+ document.getElementById('cal-next').addEventListener('click', function () {
+ viewMonth++;
+ if (viewMonth > 11) { viewMonth = 0; viewYear++; }
+ render();
+ });
+ }
+
+ render();
+ })();
+
/* ---- Render events ---- */
(function () {
const DAYS = ['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'];
@@ -118,15 +310,12 @@
return;
}
- // Sort by date ascending
events.sort((a, b) => new Date(a.date) - new Date(b.date));
- // Only show today and future events
const today = new Date();
today.setHours(0, 0, 0, 0);
const upcoming = events.filter(e => {
- // Parse date as local to avoid UTC-offset surprises
const [y, m, d] = e.date.split('-').map(Number);
const dt = new Date(y, m - 1, d);
return dt >= today;
diff --git a/index.html b/index.html
index cd1029d..65ba09b 100644
--- a/index.html
+++ b/index.html
@@ -3,7 +3,7 @@
- Axis — Menu
+ Axis — Junction's Oldest Bar
@@ -15,392 +15,124 @@
Axis has been pouring pints and pulling neighbours together since 1987. Tucked along Dundas Street West, we've watched the Junction transform around us — but our commitment to a cold beer, a warm welcome, and a no-fuss good time has never changed.
+
Over three decades, we've become the spot where regulars have a stool with their name on it, where strangers become friends over a round of trivia, and where live music on a Monday night can turn an ordinary week around. We're not trendy. We're better than that — we're yours.
+
Whether you're stopping in for a quiet pint after work, settling in for brunch with friends on a Sunday morning, or catching a band on a Friday night, Axis is the kind of bar that feels like it was made for you specifically. Because, in a way, it was.
+
+
+ Bar Hours
+
Tuesday–Sunday · 5pm–2am
+
+
+ Brunch
+
Thursday–Sunday · 9am–3pm
+
+
+
3048 Dundas Street West, Toronto
+
+
+
+
+
+
+
+
+
+
+
What's On
+
+
+
+
◆
+
Weekly
+
Trivia Night
+
Every Tuesday · 8pm
+
Teams of up to 6. Prizes include bar tabs and Axis swag. Arrive early to grab a table.
+
+
+
+
♬
+
Recurring
+
Live Music
+
Every Monday & Friday · 9pm
+
Local and touring acts across folk, rock, soul, and jazz. No cover charge, ever.
+
+
+
+
♟
+
Monthly
+
Board Games & Chess Night
+
2nd Thursday of the month · 7pm
+
Bring your A-game. Classic board games, chess sets, and cold drinks. All skill levels welcome.