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

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -53,6 +53,7 @@
w-16
inline-flex
"
:alt="$t('empty.documentation')"
/>
<span class="text-center">
{{ $t("empty.documentation") }}
@@ -220,6 +221,7 @@
w-16
inline-flex
"
:alt="$t('empty.schema')"
/>
<span class="text-center">
{{ $t("empty.schema") }}

View File

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

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") }}

View File

@@ -30,6 +30,8 @@
<img
class="border-b border-dividerLight flex max-w-full flex-1"
:src="imageSource"
loading="lazy"
:alt="imageSource"
/>
</div>
</template>

View File

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

View File

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

View File

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

View File

@@ -33,6 +33,7 @@
:src="member.user.photoURL || undefined"
:alt="member.user.displayName"
class="rounded-full h-5 ring-primary ring-2 w-5 inline-block"
loading="lazy"
/>
</div>
</div>

View File

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