index-main/assets/js/script.js
Julie Blanc d7a8611376
All checks were successful
Deploy / Deploy to Production (push) Successful in 12s
create dropdown
2026-01-21 16:33:15 +01:00

24 lines
No EOL
769 B
JavaScript

import { headerToggle, headerScrollVisibility } from './header.js';
import { copyLink } from './share.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();
headerScrollVisibility();
copyLink();
themeToggle();
bannerStickyMobile(responsiveSmall);
bannerStickyDesktop(responsiveSmall);
initHeroSlider();
playVideo();
initDropdowns();
}