//region CSS import './styles/app.scss'; //endregion //region Bootstrap import 'bootstrap'; //endregion //region jQuery import $ from 'jquery'; //endregion //region Utils import Utils from 'utils'; window.$ = $; // Declare $ as a global variable, accessible in all files //endregion //region Header & Footer fixe (overlay) const headerHeight = Utils.getElementRealHeight($('header:not(.overlay-not-fixed)')); const footerHeight = Utils.getElementRealHeight($('footer:not(.overlay-not-fixed)')); $('#div-body').css( { 'padding-top': headerHeight, 'padding-bottom': footerHeight, }, ); $('html').css( { 'scroll-padding-top': headerHeight, }, ); //endregion