File tree Expand file tree Collapse file tree 4 files changed +6
-3
lines changed
packages/ui/components/speaker Expand file tree Collapse file tree 4 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ const currentLocale = useLocaleCurrent().locale
2222 class =" sponsor-list-item-link"
2323 :to =" `${currentLocale === 'ja' ? '/' : `/${currentLocale}/`}sponsors/${item['detail_page_id']}`"
2424 >
25- <img
25+ <NuxtImg
2626 class =" sponsor-list-item-image"
2727 :src =" item['image_url']"
2828 :alt =" item.name"
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ export default defineNuxtConfig({
4040 // url: 'https://vuefes.jp/2024/',
4141 // },
4242 image : {
43- domains : [ 'jjdlwtezpdclgxxagxpj.supabase.co' ] ,
43+ domains : [ process . env . NUXT_IMAGE_DOMAINS ] ,
4444 quality : 80 ,
4545 format : [ 'avif' , 'webp' ]
4646 } ,
@@ -175,6 +175,7 @@ export default defineNuxtConfig({
175175 newtSpaceUid : process . env . NUXT_NEWT_SPACE_UID ,
176176 newtFormUid : process . env . NUXT_NEWT_FORM_UID ,
177177 reCaptchaWebsiteKey : process . env . NUXT_RECAPTCHA_WEBSITE_KEY ,
178+ imageDomains : process . env . NUXT_IMAGE_DOMAINS ,
178179 // supabase
179180 supabaseUrl : process . env . SUPABASE_URL ,
180181 supabaseKey : process . env . SUPABASE_KEY ,
Original file line number Diff line number Diff line change @@ -19,10 +19,11 @@ const size = computed(() => {
1919 </script >
2020
2121<template >
22- <img
22+ <NuxtImg
2323 :src =" src"
2424 :alt =" alt"
2525 :loading =" loading"
26+ placeholder
2627 :width =" size"
2728 :height =" size"
2829 fit =" cover"
Original file line number Diff line number Diff line change 1313 " NUXT_NEWT_SPACE_UID" ,
1414 " NUXT_NEWT_FORM_UID" ,
1515 " NUXT_RECAPTCHA_WEBSITE_KEY" ,
16+ " NUXT_IMAGE_DOMAINS" ,
1617 " SUPABASE_URL" ,
1718 " SUPABASE_KEY" ,
1819 " SERVICE_KEY" ,
You can’t perform that action at this time.
0 commit comments