mirror of
https://git.kh3group.com/georgebiri/khy_website.git
synced 2026-10-16 23:41:46 +00:00
feat: implement responsive mobile menu and navigation enhancements across all pages
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
d8d9f1a584
commit
228095ed83
11 changed files with 3592 additions and 49 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue