+ ${dayLessons
.map(
(lesson) => `
@@ -570,6 +583,7 @@
const gridHeaders = document.querySelectorAll(
".grid-header:not(:first-child)",
);
+ const noticeSlots = document.querySelectorAll(".notice-slot");
const lessonSlots = document.querySelectorAll(".lesson-slot");
gridHeaders.forEach((header, index) => {
@@ -579,6 +593,13 @@
);
});
+ noticeSlots.forEach((slot, index) => {
+ slot.classList.toggle(
+ "active",
+ index === dayNavigationState.currentDayIndex,
+ );
+ });
+
const timeSlots = document.querySelectorAll(".time-slot");
timeSlots.forEach((timeSlot, timeIndex) => {
const startIndex = timeIndex * 5;
@@ -891,15 +912,15 @@
@@ -912,7 +933,7 @@
@@ -922,12 +943,12 @@