updated image plus glitch fix
This commit is contained in:
parent
a7ecedb4f5
commit
c21d958b16
|
@ -1,15 +1,18 @@
|
||||||
import { useRef, useEffect } from 'react'
|
import { useRef, useEffect } from 'react'
|
||||||
import Button from './Button'
|
import Button from './Button'
|
||||||
import Link from './Link'
|
import Link from './Link'
|
||||||
import { gsap, Power3 } from 'gsap'
|
import { gsap, TweenMax, Power3 } from 'gsap'
|
||||||
|
|
||||||
const HeroSectionHome = () => {
|
const HeroSectionHome = () => {
|
||||||
const sideImage = useRef(null)
|
const sideImage = useRef(null)
|
||||||
//let heroText = useRef(null)
|
//let heroText = useRef(null)
|
||||||
|
|
||||||
const tl = gsap.timeline()
|
const tl = gsap.timeline()
|
||||||
|
let app = useRef(null)
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
TweenMax.to(app.current, 0, {css: {visibility:'visible'}})
|
||||||
|
|
||||||
/*
|
/*
|
||||||
const tagOne = heroText.children[0];
|
const tagOne = heroText.children[0];
|
||||||
const tagTwo = heroText.children[1];
|
const tagTwo = heroText.children[1];
|
||||||
|
@ -32,7 +35,7 @@ const HeroSectionHome = () => {
|
||||||
}, [])
|
}, [])
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="">
|
<div className="App">
|
||||||
<div className="relative bg-th-bkg-1 overflow-hidden">
|
<div className="relative bg-th-bkg-1 overflow-hidden">
|
||||||
<div className="relative pt-6 pb-16 sm:pb-24">
|
<div className="relative pt-6 pb-16 sm:pb-24">
|
||||||
<main className="mt-16 sm:mt-16">
|
<main className="mt-16 sm:mt-16">
|
||||||
|
|
|
@ -45,7 +45,7 @@ const LendCard = (props: LendCardProps) => {
|
||||||
</div>
|
</div>
|
||||||
<div className="py-3 px-2">
|
<div className="py-3 px-2">
|
||||||
<div className="flex-row">
|
<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>
|
||||||
<div className="flex-row">
|
<div className="flex-row">
|
||||||
<p className="font-bold text-xl">
|
<p className="font-bold text-xl">
|
||||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 1.0 MiB After Width: | Height: | Size: 290 KiB |
Loading…
Reference in New Issue