index-main/assets/js/script.js
Julie Blanc ea648498e2
All checks were successful
Deploy / Deploy to Production (push) Successful in 11s
banner script
2026-01-06 16:15:49 +01:00

18 lines
No EOL
573 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';
const responsiveMedium = 1080;
const responsiveSmall = 768;
window.onload = async function () {
console.log("SCRIPT LOADED");
headerToggle();
headerScrollVisibility();
copyLink();
themeToggle();
bannerStickyMobile(responsiveSmall);
bannerStickyDesktop(responsiveSmall);
}