-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
41 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
import RainbowSpinner from 'wowds-ui/RainbowSpinner'; | ||
import { media } from '@/styles'; | ||
import GlobalSize from '@/constants/globalSize'; | ||
import { Flex } from './Wrapper'; | ||
import { color } from 'wowds-tokens'; | ||
import styled from '@emotion/styled'; | ||
|
||
const LoadingSpinner = () => { | ||
return ( | ||
<Wrapper justify="center" align="center"> | ||
<RainbowSpinner width={60} height={60} /> | ||
</Wrapper> | ||
); | ||
}; | ||
|
||
export default LoadingSpinner; | ||
|
||
const Wrapper = styled(Flex)` | ||
min-height: 100vh; | ||
position: fixed; | ||
top: 0; | ||
z-index: 999; | ||
width: ${GlobalSize.width}; | ||
margin: 0px -16px; | ||
padding: 0px 16px; | ||
gap: 40px; | ||
background-color: ${color.blackOpacity40}; | ||
${media.mobile} { | ||
width: 100vw; | ||
} | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters