-
${p.title}
${p.title}
${p.description}
@@ -498,7 +497,7 @@ function buildNav() {
// Statische Sections
const staticSections = [
- { id: "hero", label: "Hallo!", group: null },
+ { id: "hero", label: "Hallo!", group: null, idx: "00" },
];
// Projekt-Sections nach dem Rendern einsammeln
@@ -550,7 +549,6 @@ function buildNav() {
closeDrawer();
};
ma.textContent = s.idx ? `${s.idx} – ${s.label}` : s.label;
- ma.onclick = closeDrawer;
drawerLinks.appendChild(ma);
});
}
@@ -584,7 +582,7 @@ function scrollToSection(id) {
behavior: 'smooth'
});
- history.replaceState(null, null, ' ');
+ history.replaceState(null, null, window.location.pathname);
}