mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 12:24:18 +00:00
✨ feat: Loading Common
This commit is contained in:
@@ -7,11 +7,15 @@
|
|||||||
@apply bg-white;
|
@apply bg-white;
|
||||||
height: 7rem;
|
height: 7rem;
|
||||||
width: 7rem;
|
width: 7rem;
|
||||||
border-radius: 50%;
|
|
||||||
animation: spin 2s linear infinite;
|
animation: spin 2s linear infinite;
|
||||||
margin: auto;
|
margin: auto;
|
||||||
background: url('./assets/carrot.png') top 50% left 50% no-repeat;
|
background: url('./assets/carrot.png') top 50% left 50% no-repeat;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.text {
|
||||||
|
@apply font-bold;
|
||||||
|
color: var(--primary);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@keyframes spin {
|
@keyframes spin {
|
||||||
|
@@ -6,9 +6,8 @@ const LoadingCommon = () => {
|
|||||||
return (
|
return (
|
||||||
<div className={s.wrapper}>
|
<div className={s.wrapper}>
|
||||||
<div className={s.loadingCommon}>
|
<div className={s.loadingCommon}>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<p>Loading...</p>
|
<p className={s.text}>Loading...</p>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 2.4 KiB |
Reference in New Issue
Block a user