add files fresh react

This commit is contained in:
2021-11-10 03:09:15 -03:00
parent 3bc8d1ecfa
commit 735c5eaceb
213 changed files with 50374 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
export function initPageLoader() {
window.addEventListener('load', () => {
const pageloader = document.getElementById('pageloader');
const infraloader = document.getElementById('infraloader');
pageloader.classList.toggle('is-active');
var pageloaderTimeout = setTimeout(function () {
infraloader.classList.remove('is-active');
pageloader.classList.toggle('is-active');
clearTimeout(pageloaderTimeout);
}, 1200);
})
}