File tree Expand file tree Collapse file tree 4 files changed +10
-3
lines changed
packages/ui/components/speaker Expand file tree Collapse file tree 4 files changed +10
-3
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,11 @@ 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
+ alias : {
45
+ unsplash : `https://${ process . env . NUXT_IMAGE_DOMAINS } ` ,
46
+ } ,
47
+ provider : 'ipx' ,
44
48
quality : 80 ,
45
49
format : [ 'avif' , 'webp' ]
46
50
} ,
@@ -175,6 +179,7 @@ export default defineNuxtConfig({
175
179
newtSpaceUid : process . env . NUXT_NEWT_SPACE_UID ,
176
180
newtFormUid : process . env . NUXT_NEWT_FORM_UID ,
177
181
reCaptchaWebsiteKey : process . env . NUXT_RECAPTCHA_WEBSITE_KEY ,
182
+ imageDomains : process . env . NUXT_IMAGE_DOMAINS ,
178
183
// supabase
179
184
supabaseUrl : process . env . SUPABASE_URL ,
180
185
supabaseKey : process . env . SUPABASE_KEY ,
Original file line number Diff line number Diff line change @@ -19,10 +19,11 @@ const size = computed(() => {
19
19
</script >
20
20
21
21
<template >
22
- <img
22
+ <NuxtImg
23
23
:src =" src"
24
24
:alt =" alt"
25
25
:loading =" loading"
26
+ placeholder
26
27
:width =" size"
27
28
:height =" size"
28
29
fit =" cover"
Original file line number Diff line number Diff line change 13
13
" NUXT_NEWT_SPACE_UID" ,
14
14
" NUXT_NEWT_FORM_UID" ,
15
15
" NUXT_RECAPTCHA_WEBSITE_KEY" ,
16
+ " NUXT_IMAGE_DOMAINS" ,
16
17
" SUPABASE_URL" ,
17
18
" SUPABASE_KEY" ,
18
19
" SERVICE_KEY" ,
You can’t perform that action at this time.
0 commit comments