Skip to content

Commit d541beb

Browse files
authored
Revert "fix/ nuxt-imageのdomains設定を修正"
1 parent f7f4ec6 commit d541beb

File tree

4 files changed

+10
-7
lines changed

4 files changed

+10
-7
lines changed

apps/web/app/components/sponsor/SponsorList.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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-
<NuxtImg
25+
<img
2626
class="sponsor-list-item-image"
2727
:src="item['image_url']"
2828
:alt="item.name"

apps/web/netlify.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,3 @@
5757
from = "/2024/staff/invite"
5858
to = "/2024/200.html"
5959
status = 200
60-
61-
[images]
62-
remote_images = ["https://jjdlwtezpdclgxxagxpj.supabase.co/.*"]

apps/web/nuxt.config.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@ export default defineNuxtConfig({
4040
// url: 'https://vuefes.jp/2024/',
4141
// },
4242
image: {
43-
domains: [process.env.NUXT_IMAGE_DOMAINS],
44-
provider: 'netlify',
43+
domains: ['jjdlwtezpdclgxxagxpj.supabase.co'],
4544
quality: 80,
4645
format: ['avif', 'webp']
4746
},

packages/ui/components/speaker/Avatar.vue

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,14 @@ const size = computed(() => {
1919
</script>
2020

2121
<template>
22-
<NuxtImg :src="src" :alt="alt" :loading="loading" :width="size" :height="size" fit="cover" />
22+
<img
23+
:src="src"
24+
:alt="alt"
25+
:loading="loading"
26+
:width="size"
27+
:height="size"
28+
fit="cover"
29+
/>
2330
</template>
2431

2532
<style scoped>

0 commit comments

Comments
 (0)