fixed map overlapping modals
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 58s

This commit is contained in:
Tudor
2026-01-09 08:13:19 +00:00
parent 8458d638ec
commit 3f118ef826
2 changed files with 5 additions and 1 deletions

View File

@@ -225,6 +225,7 @@ function navigateTo(path) {
function handleRoute() {
let path = window.location.pathname;
console.log("handleRoute called, pathname:", path);
// Normalize path - treat /index.html, empty, or just "/" as home
if (path === "" || path === "/index.html" || path.endsWith("/index.html")) {
@@ -232,6 +233,7 @@ function handleRoute() {
}
const view = routes[path] || "home";
console.log("Resolved view:", view, "for path:", path);
// Update page title for SEO
document.title = pageTitles[view] || pageTitles.home;