remove ticker and bitcoin section

This commit is contained in:
Matt Hill
2024-10-07 08:48:47 -06:00
parent 520a3c55c2
commit eeac992a29
14 changed files with 0 additions and 1039 deletions

View File

@@ -1,22 +1,3 @@
import { positionServiceIcons } from '/@root/src/assets/js/bitcoin-animation.js'
import { initializeSizes, tick, next } from '/@root/src/assets/js/ticker-animation.js'
//////////////////////////////////////////
// RE-RENDER COMPLEX ANIMATIONS ON WINDOW RESIZE
function onResizeComplete() {
positionServiceIcons();
initializeSizes();
// initialize ticker
gsap.delayedCall(next, tick);
}
let resizeTimeout = setTimeout(onResizeComplete, 400);
window.onresize = function () {
clearTimeout(resizeTimeout);
resizeTimeout = setTimeout(onResizeComplete, 400);
};
//////////////////////////////////////////
// SHADOW PARALLAX