feat: Loading Common

This commit is contained in:
sonnguyenkieio 2021-09-14 16:59:16 +07:00
parent 783dcea964
commit 1518629590
3 changed files with 6 additions and 3 deletions

View File

@ -7,11 +7,15 @@
@apply bg-white;
height: 7rem;
width: 7rem;
border-radius: 50%;
animation: spin 2s linear infinite;
margin: auto;
background: url('./assets/carrot.png') top 50% left 50% no-repeat;
}
.text {
@apply font-bold;
color: var(--primary);
}
}
@keyframes spin {

View File

@ -6,9 +6,8 @@ const LoadingCommon = () => {
return (
<div className={s.wrapper}>
<div className={s.loadingCommon}>
</div>
<p>Loading...</p>
<p className={s.text}>Loading...</p>
</div>
)
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB