Browse Source

chore(web): replace img with next Image

pull/1/head
isra el 3 years ago
parent
commit
391ba47fd1
  1. 3
      web/pages/index.tsx

3
web/pages/index.tsx

@ -8,10 +8,11 @@ import FeaturesSection from '../components/home/FeaturesSection'
import HowItWorksSection from '../components/home/HowItWorksSection'
import IntroSection from '../components/home/IntroSection'
import { loginWithGoogle, selectAuth } from '../store/authReducer'
import wageSvg from '../public/images/wave.svg'
const Wave = ({ rotate }: { rotate?: boolean }) => (
<Box transform={rotate ? 'rotate(180deg)' : ''}>
<img src={'/images/wave.svg'} alt={'wave'} />
<Image src={wageSvg} alt={'wave'} />
</Box>
)

Loading…
Cancel
Save