Skip to content

Commit

Permalink
feat: update loading animation
Browse files Browse the repository at this point in the history
  • Loading branch information
kathleenkhy committed Mar 19, 2024
1 parent 84df0f0 commit f10100f
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,28 @@
import { ModalBody } from '@chakra-ui/react'
import { Box, ModalBody } from '@chakra-ui/react'

import { LottieAnimation } from '~templates/LottieAnimation'

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

export const MagicFormBuilderGifLoadingScreen = (): JSX.Element => {
return (
<>
<ModalBody whiteSpace="pre-wrap">
<LottieAnimation animationData={loadingAnimation}></LottieAnimation>
<ModalBody>
<Box display="flex" justifyContent="center">
<LottieAnimation
animationData={updatedLoadingAnimation}
width="47.4rem"
height="22rem"
></LottieAnimation>
</Box>
<Box
textAlign="center"
fontSize="1.25rem"
mt="2.25rem"
fontWeight="600"
>
Building your form... Check back later!
</Box>
</ModalBody>
</>
)
Expand Down

This file was deleted.

Large diffs are not rendered by default.

0 comments on commit f10100f

Please sign in to comment.