-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
e5760ba
commit 1062221
Showing
11 changed files
with
1,308 additions
and
1,405 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
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
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,84 @@ | ||
import React from "react"; | ||
import styled from "styled-components"; | ||
|
||
const Parent = styled.div` | ||
height: 100vh; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
`; | ||
|
||
const Loader = styled.div` | ||
&, | ||
&::before, | ||
&::after { | ||
background: #ffffff; | ||
animation: load1 1s infinite ease-in-out; | ||
width: 15px; | ||
height: 4em; | ||
} | ||
& { | ||
color: #000; | ||
text-indent: -9999em; | ||
margin: 88px auto; | ||
position: relative; | ||
font-size: 15px; | ||
-webkit-transform: translateZ(0); | ||
-ms-transform: translateZ(0); | ||
transform: translateZ(0); | ||
-webkit-animation-delay: -0.16s; | ||
animation-delay: -0.16s; | ||
} | ||
&::before, | ||
&::after { | ||
position: absolute; | ||
top: 0; | ||
content: ""; | ||
} | ||
&::before { | ||
left: -1.5em; | ||
-webkit-animation-delay: -0.32s; | ||
animation-delay: -0.32s; | ||
} | ||
&::after { | ||
left: 1.5em; | ||
} | ||
@-webkit-keyframes load1 { | ||
0%, | ||
80%, | ||
100% { | ||
box-shadow: 0 0; | ||
height: 4em; | ||
} | ||
40% { | ||
box-shadow: 0 -2em; | ||
height: 5em; | ||
} | ||
} | ||
@keyframes load1 { | ||
0%, | ||
80%, | ||
100% { | ||
box-shadow: 0 0; | ||
height: 4em; | ||
} | ||
40% { | ||
box-shadow: 0 -2em; | ||
height: 5em; | ||
} | ||
} | ||
`; | ||
|
||
const Loading = () => ( | ||
<Parent> | ||
<Loader /> | ||
</Parent> | ||
); | ||
|
||
export default Loading; |
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
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
Oops, something went wrong.