Feature/add emoji to webapp (#345)
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
import React from 'react'
|
||||
|
||||
import './style.css'
|
||||
interface ILoadingProps {
|
||||
type ILoadingProps = {
|
||||
type?: 'area' | 'app'
|
||||
}
|
||||
const Loading = (
|
||||
{ type = 'area' }: ILoadingProps = { type: 'area' }
|
||||
{ type = 'area' }: ILoadingProps = { type: 'area' },
|
||||
) => {
|
||||
return (
|
||||
<div className={`flex w-full justify-center items-center ${type === 'app' ? 'h-full' : ''}`}>
|
||||
|
@@ -1,5 +1,5 @@
|
||||
.spin-animation path {
|
||||
animation: custom 2s linear infinite;
|
||||
animation: custom 1s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes custom {
|
||||
@@ -29,13 +29,13 @@
|
||||
}
|
||||
|
||||
.spin-animation path:nth-child(2) {
|
||||
animation-delay: 0.5s;
|
||||
animation-delay: 0.25s;
|
||||
}
|
||||
|
||||
.spin-animation path:nth-child(3) {
|
||||
animation-delay: 1s;
|
||||
animation-delay: 0.5s;
|
||||
}
|
||||
|
||||
.spin-animation path:nth-child(4) {
|
||||
animation-delay: 1.5s;
|
||||
}
|
||||
animation-delay: 1s;
|
||||
}
|
||||
|
Reference in New Issue
Block a user