1
0
Fork 0
mirror of https://github.com/pawelmalak/flame.git synced 2025-07-26 06:19:36 +02:00

Apps actions and reducer

This commit is contained in:
unknown 2021-05-10 19:02:16 +02:00
parent 2acc3b72ec
commit 78acede8ab
15 changed files with 230 additions and 27 deletions

View file

@ -0,0 +1,54 @@
.Spinner,
.Spinner:before,
.Spinner:after {
background: var(--color-primary);
animation: load1 1s infinite ease-in-out;
width: 1em;
height: 4em;
}
.Spinner {
color: var(--color-primary);
text-indent: -9999em;
margin: 88px auto;
position: relative;
font-size: 11px;
transform: translateZ(0);
animation-delay: -0.16s;
}
.Spinner:before,
.Spinner:after {
position: absolute;
top: 0;
content: '';
}
.Spinner:before {
left: -1.5em;
animation-delay: -0.32s;
}
.Spinner:after {
left: 1.5em;
}
@keyframes load1 {
0%,
80%,
100% {
box-shadow: 0 0;
height: 4em;
}
40% {
box-shadow: 0 -2em;
height: 5em;
}
}
.SpinnerWrapper {
height: 150px;
display: flex;
justify-content: center;
align-items: center;
}

View file

@ -0,0 +1,11 @@
import classes from './Spinner.module.css';
const Spinner = (): JSX.Element => {
return (
<div className={classes.SpinnerWrapper}>
<div className={classes.Spinner}>Loading...</div>
</div>
)
}
export default Spinner;