All green. You're good to build and deploy. Here's a summary of everything done since your last commit:

---

**🐛 Bugs fixed**
- Study hub/lesson pages turned gold — CSS merge error with `.study-index-page` fixed
- Lesson announcements not saving — `announcement` field missing from `sanitizeColossiansStudySections` whitelist
- 2FA email method blocked with "not configured" — guard checked `totpSecret` instead of `twoFaMethod`
- `STUDY_REMINDERS_FILE` constant never defined — server would crash on first reminder write
- `sanitizeStudyUsers` stripped all 2FA fields — data lost on every restart
- `scheduleStudyReminders` missing from refactored modules

** Features added**
- Commentary supports paragraph formatting (double newline = new paragraph)
- Lesson announcement banner — full-width gold stripe at top of lesson page
- "Take the Quiz" renamed to "Discussion Questions" throughout
- Students must complete checkpoint before unlocking next lesson (lesson list + Next Lesson button both gate on it)
- No checkpoint questions → simple Mark as Completed button as fallback
- Truth For Life syndication widget on homepage
- Newsletter welcome email updated to your new HTML template

**🔧 Maintenance**
- `server.js` refactored from 6,013 lines into 12 focused modules
This commit is contained in:
nmemmert
2026-06-04 09:17:34 -04:00
parent 07519b4f48
commit cb78b6522d
5 changed files with 228 additions and 73 deletions
+35
View File
@@ -1112,6 +1112,41 @@
}
/* ── Home Jump Section ── */
/* ── Truth For Life Widget ── */
.section-tfl {
background: #080808;
border-top: 1px solid rgba(201, 168, 76, 0.18);
border-bottom: 1px solid rgba(201, 168, 76, 0.18);
padding: 5rem 0;
text-align: center;
}
.tfl-attribution {
color: #8a7f5a;
font-size: 0.9rem;
margin: -0.5rem 0 2.5rem;
}
.tfl-link {
color: #c9a84c;
text-decoration: none;
}
.tfl-link:hover {
text-decoration: underline;
}
.tfl-widget-wrap {
max-width: 760px;
margin: 0 auto;
text-align: left;
}
/* Scope TFL widget styles to avoid bleed */
.tfl-widget-wrap * {
box-sizing: border-box;
}
.section-share {
background: #080808;
border-top: 1px solid rgba(201, 168, 76, 0.18);