updated image plus glitch fix

This commit is contained in:
steven 2021-07-20 15:46:50 -07:00
parent a7ecedb4f5
commit c21d958b16
3 changed files with 6 additions and 3 deletions

View File

@ -1,15 +1,18 @@
import { useRef, useEffect } from 'react'
import Button from './Button'
import Link from './Link'
import { gsap, Power3 } from 'gsap'
import { gsap, TweenMax, Power3 } from 'gsap'
const HeroSectionHome = () => {
const sideImage = useRef(null)
//let heroText = useRef(null)
const tl = gsap.timeline()
let app = useRef(null)
useEffect(() => {
TweenMax.to(app.current, 0, {css: {visibility:'visible'}})
/*
const tagOne = heroText.children[0];
const tagTwo = heroText.children[1];
@ -32,7 +35,7 @@ const HeroSectionHome = () => {
}, [])
return (
<div className="">
<div className="App">
<div className="relative bg-th-bkg-1 overflow-hidden">
<div className="relative pt-6 pb-16 sm:pb-24">
<main className="mt-16 sm:mt-16">

View File

@ -45,7 +45,7 @@ const LendCard = (props: LendCardProps) => {
</div>
<div className="py-3 px-2">
<div className="flex-row">
<p className="text-mango-yellow text-xs font-bold">Total Deposits</p>
<p className="text-white text-opacity-50 text-xs font-bold">Total Deposits</p>
</div>
<div className="flex-row">
<p className="font-bold text-xl">

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 MiB

After

Width:  |  Height:  |  Size: 290 KiB