feat: loading skeleton
This commit is contained in:
parent
1bd710daa4
commit
77a87af46a
4 changed files with 42 additions and 4 deletions
15
components/status/StatusCardSkeleton.vue
Normal file
15
components/status/StatusCardSkeleton.vue
Normal file
|
@ -0,0 +1,15 @@
|
|||
<template>
|
||||
<div flex flex-col gap-2 px-4>
|
||||
<div flex gap-4>
|
||||
<div>
|
||||
<div w-12 h-12 rounded-full class="skeleton-loading-bg" />
|
||||
</div>
|
||||
<div flex="~ col 1 gap-2" pb2 min-w-0>
|
||||
<div flex class="skeleton-loading-bg" h-5 w-20 rounded />
|
||||
<div flex class="skeleton-loading-bg" h-4 w-full rounded />
|
||||
<div flex class="skeleton-loading-bg" h-4 w="4/5" rounded />
|
||||
<div flex class="skeleton-loading-bg" h-4 w="2/5" rounded />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
Loading…
Add table
Add a link
Reference in a new issue