index-main/assets/js/script.js
Julie Blanc bd97c1c33e
All checks were successful
Deploy / Deploy to Production (push) Successful in 11s
report + harmonize panel-left
2026-01-23 17:38:08 +01:00

25 lines
No EOL
800 B
JavaScript

import { headerToggle, headerScrollVisibility } from './header.js';
import { copyLink } from './share.js';
import { panelToggle } from './panel.js';
import { bannerStickyMobile } from './banner-sticky-mobile.js';
import { bannerStickyDesktop } from './banner-sticky-desktop.js';
import { themeToggle } from './themeToggle.js';
import { initHeroSlider } from './hero-slider.js';
import { playVideo } from './hero-video.js';
import { initDropdowns } from './dropdown.js';
const responsiveMedium = 1080;
const responsiveSmall = 768;
window.onload = async function () {
console.log("SCRIPT LOADED");
headerToggle();
panelToggle();
copyLink();
themeToggle();
bannerStickyMobile(responsiveSmall);
bannerStickyDesktop(responsiveSmall);
initHeroSlider();
playVideo();
initDropdowns();
}