fixed map overlapping modals
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 58s
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 58s
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user