diff --git a/site/src/components/common/FooterAnimationSection/data.tsx b/site/src/components/common/FooterAnimationSection/data.tsx index 82d8a9b5..7dad5f3e 100644 --- a/site/src/components/common/FooterAnimationSection/data.tsx +++ b/site/src/components/common/FooterAnimationSection/data.tsx @@ -2,7 +2,12 @@ import { ANIMATION_CARD_ALIGNMENT } from 'components/AnimatedDottedContainer' import ArrowButton from 'components/ArrowButton' import s from './FooterAnimationSection.module.scss' -type AnimationGetter = (text?: string, href?: string, prefersReducedMotion?: boolean, onClick?: (...args: any[]) => any) => any[] +type AnimationGetter = ( + text?: string, + href?: string, + prefersReducedMotion?: boolean, + onClick?: (...args: any[]) => any, +) => any[] export const getAnimatedItemList: AnimationGetter = (text, href, prefersReducedMotion, onClick) => { return [ diff --git a/site/src/components/common/IntroAnimation/IntroAnimation.tsx b/site/src/components/common/IntroAnimation/IntroAnimation.tsx index 442dcfd7..c92150c9 100644 --- a/site/src/components/common/IntroAnimation/IntroAnimation.tsx +++ b/site/src/components/common/IntroAnimation/IntroAnimation.tsx @@ -9,7 +9,7 @@ import s from './IntroAnimation.module.scss' import { usePrefersReducedMotion } from 'hooks/usePrefersReduceMotion' import dynamic from 'next/dynamic' -const AnimatedDottedContainer = dynamic(() => import("components/AnimatedDottedContainer"), { ssr: false }); +const AnimatedDottedContainer = dynamic(() => import('components/AnimatedDottedContainer'), { ssr: false }) IntroAnimation.propTypes = { items: PropTypes.array.isRequired, @@ -43,9 +43,12 @@ function IntroAnimation({ useEffect(() => { scrollToTop().then(disableScroll) - setTimeout(() => { - setVisible(true) - }, prefersReduceMotion ? 0 : 700) + setTimeout( + () => { + setVisible(true) + }, + prefersReduceMotion ? 0 : 700, + ) return () => { enableScroll() diff --git a/site/src/components/pages/Home/Intro/Intro.tsx b/site/src/components/pages/Home/Intro/Intro.tsx index 6f645c70..3931525b 100644 --- a/site/src/components/pages/Home/Intro/Intro.tsx +++ b/site/src/components/pages/Home/Intro/Intro.tsx @@ -38,7 +38,11 @@ const Intro = () => { {(isVisible: boolean) => } ) : ( - + )} diff --git a/site/src/components/pages/ZkLlvm/Intro/Intro.tsx b/site/src/components/pages/ZkLlvm/Intro/Intro.tsx index 5ead3658..216386c3 100644 --- a/site/src/components/pages/ZkLlvm/Intro/Intro.tsx +++ b/site/src/components/pages/ZkLlvm/Intro/Intro.tsx @@ -41,7 +41,11 @@ const Intro = () => { )} ) : ( - + )}