carhop__carhop-theme__DEV/resources/js/app.ts
Antoine M 67a20df2cc
All checks were successful
continuous-integration/drone/push Build is passing
FEATURE Big toolbar refactor to handle share like and cita buttons directly from carhop theme
2026-05-28 17:50:27 +02:00

30 lines
915 B
TypeScript

import menuInit from './header';
import initFooterShapes from './footer';
import handleScrollTop from './utilities/scroll-top';
import handleInsidePageScrolling from './page-scrolling';
import alternatePictures from './alternate-pictures';
import { searchBarInit } from './search-bar';
import singlesInit from './singles/singles';
import archivesInit from './archives/archives';
import archivesFondsArchivesInit from './archives/archives-fonds-archives';
import titlesInit from './titles';
import {
pageHeaderAnimationInit,
chapterSectionAnimationInit,
} from './animation/animations';
window.addEventListener('load', function () {
menuInit();
initFooterShapes();
handleScrollTop();
handleInsidePageScrolling();
alternatePictures();
searchBarInit();
singlesInit();
archivesInit();
archivesFondsArchivesInit();
titlesInit();
pageHeaderAnimationInit();
chapterSectionAnimationInit();
});