mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 04:14:18 +00:00
✨ feat: Loading Common
This commit is contained in:
parent
783dcea964
commit
1518629590
@ -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 {
|
||||
|
@ -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 |
Loading…
x
Reference in New Issue
Block a user