Fix Gravatar profiles showing on hover and add gravatar explanation and profile page for users

This commit is contained in:
badblocks 2025-03-18 14:21:50 -07:00
parent 2451a6c630
commit 4c0db9f842
7 changed files with 79 additions and 10 deletions

View file

@ -2,12 +2,6 @@ const $ = x => Array.from(document.querySelectorAll(x));
const $$ = x => Array.from(document.querySelector(x));
document.addEventListener('DOMContentLoaded', function() {
// Initialize Gravatar if available
if (typeof Gravatar !== 'undefined' && typeof Gravatar.init === 'function') {
Gravatar.init();
}
const themeToggleBtn = document.getElementById('theme-toggle-btn');
if (themeToggleBtn) {
themeToggleBtn.addEventListener('click', function() {