Create Vsd Page (#2304)

* Create Vsd Page

* minor tweaks

* update index.md

* update vsd-hero.md file

* rename date field

* common fixes

* small fixes

* header fix

---------

Co-authored-by: trean <trean.mi@gmail.com>
This commit is contained in:
nastyapash
2026-04-24 22:01:34 +02:00
committed by GitHub
co-authored by trean
parent c7e2f8a98c
commit 3e30b8da1d
74 changed files with 1726 additions and 1 deletions
@@ -110,7 +110,17 @@ document.addEventListener('DOMContentLoaded', function () {
}
document.querySelectorAll('.menu-mobile__item').forEach((item) => {
item.addEventListener('click', () => {
item.addEventListener('click', (e) => {
const link = e.target.closest('a');
if (link) {
const vsdHeaderMenu = e.target.closest('.vsd-header')?.querySelector('.menu-mobile');
if (vsdHeaderMenu && vsdHeaderMenu.classList.contains('menu-mobile--visible')) {
vsdHeaderMenu.classList.remove('menu-mobile--visible');
body.classList.remove('no-scroll');
}
return;
}
toggleMenu(item.dataset.path);
});
});