Skip to content

Commit

Permalink
chore: use lottie for loading animation
Browse files Browse the repository at this point in the history
  • Loading branch information
tshuli committed Jan 31, 2024
1 parent b67261e commit e1585ac
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
Binary file removed frontend/public/magicBuilderLoading.gif
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
import { ModalBody } from '@chakra-ui/react'

import { LottieAnimation } from '~templates/LottieAnimation'

import loadingAnimation from './assets/loadingAnimation.json'

export const MagicFormBuilderGifLoadingScreen = (): JSX.Element => {
return (
<>
<ModalBody whiteSpace="pre-wrap">
<img src="/magicBuilderLoading.gif" alt="loading gif" />
<LottieAnimation animationData={loadingAnimation}></LottieAnimation>
</ModalBody>
</>
)
Expand Down

Large diffs are not rendered by default.

0 comments on commit e1585ac

Please sign in to comment.