perf: improve native image tags

This commit is contained in:
liyasthomas
2021-11-05 09:13:04 +05:30
parent 9e4d7df7d0
commit 61e5a48b02
28 changed files with 38 additions and 3 deletions

View File

@@ -99,6 +99,7 @@
:src="`/images/states/${$colorMode.value}/login.svg`"
loading="lazy"
class="flex-col my-4 object-contain object-center h-16 w-16 inline-flex"
:alt="$t('empty.authorization')"
/>
<span class="text-center pb-4">
{{ $t("empty.authorization") }}

View File

@@ -69,6 +69,7 @@
:src="`/images/states/${$colorMode.value}/upload_single_file.svg`"
loading="lazy"
class="flex-col my-4 object-contain object-center h-16 w-16 inline-flex"
:alt="$t('empty.body')"
/>
<span class="text-center pb-4">
{{ $t("empty.body") }}

View File

@@ -157,6 +157,7 @@
:src="`/images/states/${$colorMode.value}/upload_single_file.svg`"
loading="lazy"
class="flex-col my-4 object-contain object-center h-16 w-16 inline-flex"
:alt="$t('empty.body')"
/>
<span class="text-center pb-4">
{{ $t("empty.body") }}

View File

@@ -154,6 +154,7 @@
w-16
inline-flex
"
:alt="$t('empty.headers')"
/>
<span class="text-center pb-4">
{{ $t("empty.headers") }}

View File

@@ -147,6 +147,7 @@
w-16
inline-flex
"
:alt="$t('empty.parameters')"
/>
<span class="text-center pb-4">
{{ $t("empty.parameters") }}

View File

@@ -79,6 +79,7 @@
w-32
inline-flex
"
:alt="$t('empty.network_fail')"
/>
<span class="text-center mb-2">
{{ $t("error.network_fail") }}

View File

@@ -82,6 +82,7 @@
:src="`/images/states/${$colorMode.value}/validation.svg`"
loading="lazy"
class="flex-col my-4 object-contain object-center h-16 w-16 inline-flex"
:alt="$t('empty.tests')"
/>
<span class="text-center pb-2">
{{ $t("empty.tests") }}