carhop__carhop-theme__DEV/resources/js/app.ts
2026-05-13 18:01:11 +02:00

30 lines
884 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 handleCiteButton from './singles/cite-button';
import titlesInit from './titles';
import {
pageHeaderAnimationInit,
chapterSectionAnimationInit,
} from './animation/animations';
window.addEventListener('load', function () {
menuInit();
initFooterShapes();
handleScrollTop();
handleInsidePageScrolling();
alternatePictures();
searchBarInit();
singlesInit();
archivesInit();
handleCiteButton();
titlesInit();
pageHeaderAnimationInit();
chapterSectionAnimationInit();
});