perf: improve native image tags
This commit is contained in:
@@ -166,6 +166,7 @@
|
|||||||
w-16
|
w-16
|
||||||
inline-flex
|
inline-flex
|
||||||
"
|
"
|
||||||
|
:alt="$t('empty.collection')"
|
||||||
/>
|
/>
|
||||||
<span class="text-center">
|
<span class="text-center">
|
||||||
{{ $t("empty.collection") }}
|
{{ $t("empty.collection") }}
|
||||||
|
|||||||
@@ -165,6 +165,7 @@
|
|||||||
w-16
|
w-16
|
||||||
inline-flex
|
inline-flex
|
||||||
"
|
"
|
||||||
|
:alt="$t('empty.folder')"
|
||||||
/>
|
/>
|
||||||
<span class="text-center">
|
<span class="text-center">
|
||||||
{{ $t("empty.folder") }}
|
{{ $t("empty.folder") }}
|
||||||
|
|||||||
@@ -74,6 +74,7 @@
|
|||||||
:src="`/images/states/${$colorMode.value}/pack.svg`"
|
:src="`/images/states/${$colorMode.value}/pack.svg`"
|
||||||
loading="lazy"
|
loading="lazy"
|
||||||
class="flex-col my-4 object-contain object-center h-16 w-16 inline-flex"
|
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">
|
<span class="text-center pb-4">
|
||||||
{{ $t("empty.collections") }}
|
{{ $t("empty.collections") }}
|
||||||
|
|||||||
@@ -112,6 +112,7 @@
|
|||||||
:src="`/images/states/${$colorMode.value}/pack.svg`"
|
:src="`/images/states/${$colorMode.value}/pack.svg`"
|
||||||
loading="lazy"
|
loading="lazy"
|
||||||
class="flex-col my-4 object-contain object-center h-16 w-16 inline-flex"
|
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">
|
<span class="text-center pb-4">
|
||||||
{{ $t("empty.collections") }}
|
{{ $t("empty.collections") }}
|
||||||
|
|||||||
@@ -192,6 +192,7 @@
|
|||||||
w-16
|
w-16
|
||||||
inline-flex
|
inline-flex
|
||||||
"
|
"
|
||||||
|
:alt="$t('empty.collection')"
|
||||||
/>
|
/>
|
||||||
<span class="text-center">
|
<span class="text-center">
|
||||||
{{ $t("empty.collection") }}
|
{{ $t("empty.collection") }}
|
||||||
|
|||||||
@@ -174,6 +174,7 @@
|
|||||||
w-16
|
w-16
|
||||||
inline-flex
|
inline-flex
|
||||||
"
|
"
|
||||||
|
:alt="$t('empty.folder')"
|
||||||
/>
|
/>
|
||||||
<span class="text-center">
|
<span class="text-center">
|
||||||
{{ $t("empty.folder") }}
|
{{ $t("empty.folder") }}
|
||||||
|
|||||||
@@ -188,6 +188,7 @@
|
|||||||
w-16
|
w-16
|
||||||
inline-flex
|
inline-flex
|
||||||
"
|
"
|
||||||
|
:alt="$t('empty.collection')"
|
||||||
/>
|
/>
|
||||||
<span class="text-center">
|
<span class="text-center">
|
||||||
{{ $t("empty.collection") }}
|
{{ $t("empty.collection") }}
|
||||||
|
|||||||
@@ -169,6 +169,7 @@
|
|||||||
w-16
|
w-16
|
||||||
inline-flex
|
inline-flex
|
||||||
"
|
"
|
||||||
|
:alt="$t('empty.folder')"
|
||||||
/>
|
/>
|
||||||
<span class="text-center">
|
<span class="text-center">
|
||||||
{{ $t("empty.folder") }}
|
{{ $t("empty.folder") }}
|
||||||
|
|||||||
@@ -93,6 +93,7 @@
|
|||||||
w-16
|
w-16
|
||||||
inline-flex
|
inline-flex
|
||||||
"
|
"
|
||||||
|
:alt="$t('empty.environments')"
|
||||||
/>
|
/>
|
||||||
<span class="text-center pb-4">
|
<span class="text-center pb-4">
|
||||||
{{ $t("empty.environments") }}
|
{{ $t("empty.environments") }}
|
||||||
|
|||||||
@@ -110,6 +110,7 @@
|
|||||||
:src="`/images/states/${$colorMode.value}/blockchain.svg`"
|
:src="`/images/states/${$colorMode.value}/blockchain.svg`"
|
||||||
loading="lazy"
|
loading="lazy"
|
||||||
class="flex-col my-4 object-contain object-center h-16 w-16 inline-flex"
|
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">
|
<span class="text-center pb-4">
|
||||||
{{ $t("empty.environments") }}
|
{{ $t("empty.environments") }}
|
||||||
|
|||||||
@@ -253,6 +253,7 @@
|
|||||||
w-16
|
w-16
|
||||||
inline-flex
|
inline-flex
|
||||||
"
|
"
|
||||||
|
:alt="$t('empty.headers')"
|
||||||
/>
|
/>
|
||||||
<span class="text-center pb-4">
|
<span class="text-center pb-4">
|
||||||
{{ $t("empty.headers") }}
|
{{ $t("empty.headers") }}
|
||||||
|
|||||||
@@ -53,6 +53,7 @@
|
|||||||
w-16
|
w-16
|
||||||
inline-flex
|
inline-flex
|
||||||
"
|
"
|
||||||
|
:alt="$t('empty.documentation')"
|
||||||
/>
|
/>
|
||||||
<span class="text-center">
|
<span class="text-center">
|
||||||
{{ $t("empty.documentation") }}
|
{{ $t("empty.documentation") }}
|
||||||
@@ -220,6 +221,7 @@
|
|||||||
w-16
|
w-16
|
||||||
inline-flex
|
inline-flex
|
||||||
"
|
"
|
||||||
|
:alt="$t('empty.schema')"
|
||||||
/>
|
/>
|
||||||
<span class="text-center">
|
<span class="text-center">
|
||||||
{{ $t("empty.schema") }}
|
{{ $t("empty.schema") }}
|
||||||
|
|||||||
@@ -64,6 +64,7 @@
|
|||||||
:src="`/images/states/${$colorMode.value}/history.svg`"
|
:src="`/images/states/${$colorMode.value}/history.svg`"
|
||||||
loading="lazy"
|
loading="lazy"
|
||||||
class="flex-col my-4 object-contain object-center h-16 w-16 inline-flex"
|
class="flex-col my-4 object-contain object-center h-16 w-16 inline-flex"
|
||||||
|
:alt="$t('empty.history')"
|
||||||
/>
|
/>
|
||||||
<span class="text-center">
|
<span class="text-center">
|
||||||
{{ $t("empty.history") }}
|
{{ $t("empty.history") }}
|
||||||
|
|||||||
@@ -99,6 +99,7 @@
|
|||||||
:src="`/images/states/${$colorMode.value}/login.svg`"
|
:src="`/images/states/${$colorMode.value}/login.svg`"
|
||||||
loading="lazy"
|
loading="lazy"
|
||||||
class="flex-col my-4 object-contain object-center h-16 w-16 inline-flex"
|
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">
|
<span class="text-center pb-4">
|
||||||
{{ $t("empty.authorization") }}
|
{{ $t("empty.authorization") }}
|
||||||
|
|||||||
@@ -69,6 +69,7 @@
|
|||||||
:src="`/images/states/${$colorMode.value}/upload_single_file.svg`"
|
:src="`/images/states/${$colorMode.value}/upload_single_file.svg`"
|
||||||
loading="lazy"
|
loading="lazy"
|
||||||
class="flex-col my-4 object-contain object-center h-16 w-16 inline-flex"
|
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">
|
<span class="text-center pb-4">
|
||||||
{{ $t("empty.body") }}
|
{{ $t("empty.body") }}
|
||||||
|
|||||||
@@ -157,6 +157,7 @@
|
|||||||
:src="`/images/states/${$colorMode.value}/upload_single_file.svg`"
|
:src="`/images/states/${$colorMode.value}/upload_single_file.svg`"
|
||||||
loading="lazy"
|
loading="lazy"
|
||||||
class="flex-col my-4 object-contain object-center h-16 w-16 inline-flex"
|
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">
|
<span class="text-center pb-4">
|
||||||
{{ $t("empty.body") }}
|
{{ $t("empty.body") }}
|
||||||
|
|||||||
@@ -154,6 +154,7 @@
|
|||||||
w-16
|
w-16
|
||||||
inline-flex
|
inline-flex
|
||||||
"
|
"
|
||||||
|
:alt="$t('empty.headers')"
|
||||||
/>
|
/>
|
||||||
<span class="text-center pb-4">
|
<span class="text-center pb-4">
|
||||||
{{ $t("empty.headers") }}
|
{{ $t("empty.headers") }}
|
||||||
|
|||||||
@@ -147,6 +147,7 @@
|
|||||||
w-16
|
w-16
|
||||||
inline-flex
|
inline-flex
|
||||||
"
|
"
|
||||||
|
:alt="$t('empty.parameters')"
|
||||||
/>
|
/>
|
||||||
<span class="text-center pb-4">
|
<span class="text-center pb-4">
|
||||||
{{ $t("empty.parameters") }}
|
{{ $t("empty.parameters") }}
|
||||||
|
|||||||
@@ -79,6 +79,7 @@
|
|||||||
w-32
|
w-32
|
||||||
inline-flex
|
inline-flex
|
||||||
"
|
"
|
||||||
|
:alt="$t('empty.network_fail')"
|
||||||
/>
|
/>
|
||||||
<span class="text-center mb-2">
|
<span class="text-center mb-2">
|
||||||
{{ $t("error.network_fail") }}
|
{{ $t("error.network_fail") }}
|
||||||
|
|||||||
@@ -82,6 +82,7 @@
|
|||||||
:src="`/images/states/${$colorMode.value}/validation.svg`"
|
:src="`/images/states/${$colorMode.value}/validation.svg`"
|
||||||
loading="lazy"
|
loading="lazy"
|
||||||
class="flex-col my-4 object-contain object-center h-16 w-16 inline-flex"
|
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">
|
<span class="text-center pb-2">
|
||||||
{{ $t("empty.tests") }}
|
{{ $t("empty.tests") }}
|
||||||
|
|||||||
@@ -30,6 +30,8 @@
|
|||||||
<img
|
<img
|
||||||
class="border-b border-dividerLight flex max-w-full flex-1"
|
class="border-b border-dividerLight flex max-w-full flex-1"
|
||||||
:src="imageSource"
|
:src="imageSource"
|
||||||
|
loading="lazy"
|
||||||
|
:alt="imageSource"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -156,6 +156,7 @@
|
|||||||
w-16
|
w-16
|
||||||
inline-flex
|
inline-flex
|
||||||
"
|
"
|
||||||
|
:alt="$t('empty.protocols')"
|
||||||
/>
|
/>
|
||||||
<span class="text-center">
|
<span class="text-center">
|
||||||
{{ $t("empty.protocols") }}
|
{{ $t("empty.protocols") }}
|
||||||
|
|||||||
@@ -70,6 +70,7 @@
|
|||||||
w-16
|
w-16
|
||||||
inline-flex
|
inline-flex
|
||||||
"
|
"
|
||||||
|
:alt="$t('empty.members')"
|
||||||
/>
|
/>
|
||||||
<span class="text-center pb-4">
|
<span class="text-center pb-4">
|
||||||
{{ $t("empty.members") }}
|
{{ $t("empty.members") }}
|
||||||
|
|||||||
@@ -260,6 +260,7 @@
|
|||||||
w-16
|
w-16
|
||||||
inline-flex
|
inline-flex
|
||||||
"
|
"
|
||||||
|
:alt="$t('empty.invites')"
|
||||||
/>
|
/>
|
||||||
<span class="text-center pb-4">
|
<span class="text-center pb-4">
|
||||||
{{ $t("empty.invites") }}
|
{{ $t("empty.invites") }}
|
||||||
|
|||||||
@@ -33,6 +33,7 @@
|
|||||||
:src="member.user.photoURL || undefined"
|
:src="member.user.photoURL || undefined"
|
||||||
:alt="member.user.displayName"
|
:alt="member.user.displayName"
|
||||||
class="rounded-full h-5 ring-primary ring-2 w-5 inline-block"
|
class="rounded-full h-5 ring-primary ring-2 w-5 inline-block"
|
||||||
|
loading="lazy"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -38,6 +38,7 @@
|
|||||||
w-16
|
w-16
|
||||||
inline-flex
|
inline-flex
|
||||||
"
|
"
|
||||||
|
:alt="$t('empty.teams')"
|
||||||
/>
|
/>
|
||||||
<span class="text-center mb-4">
|
<span class="text-center mb-4">
|
||||||
{{ $t("empty.teams") }}
|
{{ $t("empty.teams") }}
|
||||||
|
|||||||
@@ -18,6 +18,7 @@
|
|||||||
v-if="currentUser.photoURL"
|
v-if="currentUser.photoURL"
|
||||||
:src="currentUser.photoURL"
|
:src="currentUser.photoURL"
|
||||||
class="rounded-lg ring-4 ring-primary h-16 w-16"
|
class="rounded-lg ring-4 ring-primary h-16 w-16"
|
||||||
|
:alt="currentUser.displayName"
|
||||||
/>
|
/>
|
||||||
<SmartIcon v-else name="user" class="svg-icons" />
|
<SmartIcon v-else name="user" class="svg-icons" />
|
||||||
<div class="ml-4">
|
<div class="ml-4">
|
||||||
@@ -25,7 +26,7 @@
|
|||||||
{{ currentUser.displayName || $t("state.nothing_found") }}
|
{{ currentUser.displayName || $t("state.nothing_found") }}
|
||||||
</label>
|
</label>
|
||||||
<p class="flex text-secondaryLight items-center">
|
<p class="flex text-secondaryLight items-center">
|
||||||
{{ currentUser.email || $t("state.nothing_found") }}
|
{{ currentUser.email }}
|
||||||
<SmartIcon
|
<SmartIcon
|
||||||
v-if="currentUser.emailVerified"
|
v-if="currentUser.emailVerified"
|
||||||
name="verified"
|
name="verified"
|
||||||
|
|||||||
@@ -15,10 +15,16 @@
|
|||||||
"~/*": ["./*"],
|
"~/*": ["./*"],
|
||||||
"@/*": ["./*"]
|
"@/*": ["./*"]
|
||||||
},
|
},
|
||||||
"types": ["@types/node", "@nuxt/types", "@nuxtjs/i18n", "@nuxtjs/toast", "unplugin-vue2-script-setup/types"]
|
"types": [
|
||||||
|
"@types/node",
|
||||||
|
"@nuxt/types",
|
||||||
|
"@nuxtjs/i18n",
|
||||||
|
"@nuxtjs/toast",
|
||||||
|
"unplugin-vue2-script-setup/types"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"exclude": ["node_modules", ".nuxt", "dist"],
|
"exclude": ["node_modules", ".nuxt", "dist"],
|
||||||
"vueCompilerOptions": {
|
"vueCompilerOptions": {
|
||||||
"experimentalCompatMode": 2
|
"experimentalCompatMode": 2
|
||||||
},
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user