Fix lint errors for src/components/main/index.tsx

This commit is contained in:
zeon-neon[bot] 2024-06-16 04:57:30 +00:00 committed by GitHub
parent a1b649b563
commit c2d0691e44
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -5,7 +5,7 @@ import Tilt from 'react-parallax-tilt'
import Typewriter from './type'
import { useEffect, useRef } from 'react'
// import 'animate.css/animate.css'
export default function Main() {
export default function Main () {
const mainEl = useRef(null)
// useEffect(() => {
// if (document.activeElement !== mainEl.current) {
@ -15,7 +15,7 @@ export default function Main() {
// })
return (
<div className={'hero min-h-screen'} ref={mainEl}>
<div style={{ animation: "fadeInDown", animationDuration: "1.5s", zIndex: 5 }} className={ 'animate__animated animate__fadeIn' } >
<div style={{ animation: 'fadeInDown', animationDuration: '1.5s', zIndex: 5 }} className={'animate__animated animate__fadeIn'} >
<div className='hero-content flex-col lg:flex-row max-w-xl' style={{ zIndex: 5 }}>
<div className='avatar'>
<Tilt glareEnable glareColor={'#f9e2af'}>