Skip to content

Commit

Permalink
chore: Update StoreCard component to use img tag instead of NuxtImg
Browse files Browse the repository at this point in the history
  • Loading branch information
Timeraa committed Jul 14, 2024
1 parent 6c081c7 commit de3514c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion components/StoreCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ const hasPresence = computed(() => extension.presences.includes(presence.metadat
<img
format="webp"
draggable="false"

class="w-16 h-16 z-20 card-shadow rounded-md my-a mx-7"
:src="presence.metadata.logo"
:alt="presence.metadata.service"
Expand Down
1 change: 0 additions & 1 deletion nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ export default defineNuxtConfig({
compressPublicAssets: true,
},
security: {
enabled: false,
rateLimiter: false,
headers: {
crossOriginEmbedderPolicy: false,
Expand Down
4 changes: 2 additions & 2 deletions pages/store/[service].vue
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,10 @@ useSeoMeta({
<template>
<div v-if="presence" class="w-full">
<div class="relative overflow-hidden w-full items-center flex rounded justify-between px5 flex-wrap h60 mb10">
<NuxtImg :src="presence.metadata.thumbnail" class="absolute w-full h-auto left-50 translate-x--50 opacity-75" alt="Presence thumbnail" width="1024px" />
<img :src="presence.metadata.thumbnail" class="absolute w-full h-auto left-50 translate-x--50 opacity-75" alt="Presence thumbnail" width="1024px">

<div class="relative flex items-center gap-5 transition-left">
<NuxtImg :src="presence.metadata.logo" class="w-auto h-25" alt="Presence logo" width="100px" height="100px" />
<img :src="presence.metadata.logo" class="w-auto h-25" alt="Presence logo" width="100px" height="100px">
<h1 class="font-extrabold font-size-6">
{{ presence.metadata.service }}
</h1>
Expand Down

0 comments on commit de3514c

Please sign in to comment.