feat: better empty state illustratils in profile and error pages

This commit is contained in:
liyasthomas
2021-11-15 20:59:07 +05:30
parent 7a6d117a76
commit 4a8efbf426
32 changed files with 57 additions and 1 deletions

View File

@@ -2,9 +2,29 @@
<div>
<div class="container">
<div class="p-4">
<div v-if="currentUser === null">
<div
v-if="currentUser === null"
class="flex flex-col items-center justify-center"
>
<img
:src="`/images/states/${$colorMode.value}/login.svg`"
loading="lazy"
class="
flex-col
my-4
object-contain object-center
h-24
w-24
inline-flex
"
:alt="$t('empty.parameters')"
/>
<p class="text-center pb-4 text-secondaryLight">
{{ $t("empty.profile") }}
</p>
<ButtonPrimary
:label="$t('auth.login')"
class="mb-4"
@click.native="showLogin = true"
/>
</div>