clean install

This commit is contained in:
2024-12-10 15:08:16 +01:00
commit e14eb2d8fd
31193 changed files with 3555714 additions and 0 deletions

17
web/themes/gin/dist/js/sticky.js vendored Normal file
View File

@@ -0,0 +1,17 @@
(Drupal => {
Drupal.behaviors.ginSticky = {
attach: context => {
once("ginSticky", ".region-sticky-watcher").forEach((() => {
const observer = new IntersectionObserver((_ref => {
let [e] = _ref;
const regionSticky = context.querySelector(".region-sticky");
regionSticky.classList.toggle("region-sticky--is-sticky", e.intersectionRatio < 1),
regionSticky.toggleAttribute("data-offset-top", e.intersectionRatio < 1), Drupal.displace(!0);
}), {
threshold: [ 1 ]
}), element = context.querySelector(".region-sticky-watcher");
element && observer.observe(element);
}));
}
};
})(Drupal);