feat: implement responsive mobile menu and navigation enhancements across all pages
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
George Birikorang 2025-09-08 20:52:51 -07:00
parent d8d9f1a584
commit 228095ed83
11 changed files with 3592 additions and 49 deletions

View file

@ -306,9 +306,9 @@ class QuoteManager {
// Update quote badge in navigation
updateQuoteBadge() {
const count = this.getQuoteCount();
const quoteLink = document.querySelector('a[href="quote.html"]');
const quoteLinks = document.querySelectorAll('a[href="quote.html"]');
if (quoteLink) {
quoteLinks.forEach((quoteLink) => {
// Remove existing badge
const existingBadge = quoteLink.querySelector(".quote-badge");
if (existingBadge) {
@ -324,7 +324,7 @@ class QuoteManager {
quoteLink.style.position = "relative";
quoteLink.appendChild(badge);
}
}
});
}
// Show success message when item is added