removed glitch fix, didnt work

This commit is contained in:
steven 2021-07-20 15:31:46 -07:00
parent cd76c3494f
commit a7ecedb4f5
1 changed files with 1 additions and 12 deletions

View File

@ -1,24 +1,14 @@
import { useRef, useEffect } from 'react'
import NavBarBeta from '../components/NavBarBeta'
import HeroSectionHome from '../components/HeroSectionHome'
import TradeSection from '../components/TradeSection'
import FooterSection from '../components/FooterSection'
import LendSection from '../components/LendSection'
import CommunitySection from '../components/CommunitySection'
import { TweenMax } from 'gsap'
const Index = () => {
let app = useRef(null)
useEffect(() =>{
TweenMax.to(app.current, 0, {css: {visibility:'visible'}})
}, [])
return (
<div
ref={app}
className="App">
<div className={`bg-th-bkg-1 text-th-fgd-1 transition-all overflow-hidden`}>
<div className="w-screen h-2 bg-gradient-to-r from-mango-red via-mango-yellow to-mango-green"></div>
<NavBarBeta />
@ -29,7 +19,6 @@ const Index = () => {
<FooterSection />
<div className="w-screen h-2 bg-gradient-to-r from-mango-red via-mango-yellow to-mango-green"></div>
</div>
</div>
)
}