refactor: empty state illustrations

This commit is contained in:
liyasthomas
2021-11-03 16:10:06 +05:30
parent 22ac13f2f0
commit 75e1adb7b3
58 changed files with 1276 additions and 25 deletions

View File

@@ -155,7 +155,18 @@
justify-center
"
>
<i class="opacity-75 pb-2 material-icons">folder_open</i>
<img
:src="`/images/states/${$colorMode.value}/pack.svg`"
loading="lazy"
class="
flex-col
mb-4
object-contain object-center
h-16
w-16
inline-flex
"
/>
<span class="text-center">
{{ $t("empty.collection") }}
</span>

View File

@@ -154,7 +154,18 @@
justify-center
"
>
<i class="opacity-75 pb-2 material-icons">folder_open</i>
<img
:src="`/images/states/${$colorMode.value}/pack.svg`"
loading="lazy"
class="
flex-col
mb-4
object-contain object-center
h-16
w-16
inline-flex
"
/>
<span class="text-center">
{{ $t("empty.folder") }}
</span>

View File

@@ -70,6 +70,11 @@
v-if="collections.length === 0"
class="flex flex-col text-secondaryLight p-4 items-center justify-center"
>
<img
:src="`/images/states/${$colorMode.value}/pack.svg`"
loading="lazy"
class="flex-col my-4 object-contain object-center h-16 w-16 inline-flex"
/>
<span class="text-center pb-4">
{{ $t("empty.collections") }}
</span>