File tree Expand file tree Collapse file tree 3 files changed +3
-10
lines changed
packages/ui/components/speaker Expand file tree Collapse file tree 3 files changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ const currentLocale = useLocaleCurrent().locale
22
22
class =" sponsor-list-item-link"
23
23
:to =" `${currentLocale === 'ja' ? '/' : `/${currentLocale}/`}sponsors/${item['detail_page_id']}`"
24
24
>
25
- <img
25
+ <NuxtImg
26
26
class =" sponsor-list-item-image"
27
27
:src =" item['image_url']"
28
28
:alt =" item.name"
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ export default defineNuxtConfig({
40
40
// url: 'https://vuefes.jp/2024/',
41
41
// },
42
42
image : {
43
- domains : [ 'jjdlwtezpdclgxxagxpj.supabase.co' ] ,
43
+ domains : [ process . env . NUXT_IMAGE_DOMAINS ] ,
44
44
quality : 80 ,
45
45
format : [ 'avif' , 'webp' ]
46
46
} ,
Original file line number Diff line number Diff line change @@ -19,14 +19,7 @@ const size = computed(() => {
19
19
</script >
20
20
21
21
<template >
22
- <img
23
- :src =" src"
24
- :alt =" alt"
25
- :loading =" loading"
26
- :width =" size"
27
- :height =" size"
28
- fit =" cover"
29
- />
22
+ <NuxtImg :src =" src" :alt =" alt" :loading =" loading" :width =" size" :height =" size" fit =" cover" />
30
23
</template >
31
24
32
25
<style scoped>
You can’t perform that action at this time.
0 commit comments