feat: update
This commit is contained in:
@@ -6,6 +6,7 @@ import SvgIcon from '@/components/SvgIcon/SvgIcon.tsx'
|
||||
const HomeIndex: React.FC = () => {
|
||||
useEffect(() => {
|
||||
document.body.classList.add('body')
|
||||
setTimeout(() => {
|
||||
if (!CSS.supports('animation-timeline: scroll()')) {
|
||||
// const SPAN = 'max(45vw, 260px)';
|
||||
const CONFIG = [
|
||||
@@ -233,6 +234,8 @@ const HomeIndex: React.FC = () => {
|
||||
},
|
||||
})
|
||||
}
|
||||
}, 1000)
|
||||
|
||||
return () => {
|
||||
document.body.classList.remove('body')
|
||||
}
|
||||
|
Reference in New Issue
Block a user