export const isInViewPort = (el) => {const viewPortHeight = window.innerHeight || document.documentElement.clientHeight || document.body.clientHeightconst top = el.getBoundingClientRect() && el.getBoundingClientRect().topconsole.log('top', top)return top <= viewPortHeight + 100 && top > 0}