This commit is contained in:
2026-02-05 11:53:21 +01:00
parent afcbd07d56
commit 1ff8454432
37 changed files with 5462 additions and 3491 deletions

View File

@@ -59,23 +59,10 @@ document.addEventListener("DOMContentLoaded", function() {
}
// ==========================================
// 3. LOGIN BUTTON
// 3. LOGIN BUTTON (REMOVED)
// ==========================================
const loginBtn = document.getElementById('loginBtn');
if (loginBtn) {
const currentPath = window.location.pathname;
let loginPath = 'sites/login.html';
if (currentPath.includes('/sites/')) {
loginPath = currentPath.includes('login.html') ? 'register.html' : 'login.html';
}
loginBtn.onclick = (e) => {
e.preventDefault();
window.location.href = loginPath;
};
}
// Login button functionality has been removed
// ==========================================
// 4. FORM SUBMISSION