nuxt images broken in vercel :(

This commit is contained in:
Zoe
2022-12-18 00:23:49 -06:00
parent 20af4a5d85
commit fd41a0558b
3 changed files with 3 additions and 8 deletions

View File

@@ -19,10 +19,6 @@ export default defineNuxtConfig({
}, },
}, },
image: {
provider: 'ipx'
},
css: ['~/assets/css/main.css'], css: ['~/assets/css/main.css'],
postcss: { postcss: {
@@ -32,7 +28,7 @@ export default defineNuxtConfig({
}, },
}, },
modules: ['nuxt-icon', '@nuxt/content', '@nuxt/image-edge'], modules: ['nuxt-icon', '@nuxt/content'],
nitro: { nitro: {
prerender: { prerender: {

View File

@@ -6,9 +6,8 @@
class="p-6 bg-[#12121233] justify-center grid sm:grid-cols-12 gap-5 items-center sm:justify-start w-full h-full blur-background"> class="p-6 bg-[#12121233] justify-center grid sm:grid-cols-12 gap-5 items-center sm:justify-start w-full h-full blur-background">
<div <div
class="sm:h-32 sm:!col-start-2 sm:col-span-8 md:col-span-6 lg:col-span-5 w-32 sm:w-fit max-h-full md:h-40 items-center grid grid-rows-1 grid-cols-1 sm:grid-cols-2 drop-shadow-md"> class="sm:h-32 sm:!col-start-2 sm:col-span-8 md:col-span-6 lg:col-span-5 w-32 sm:w-fit max-h-full md:h-40 items-center grid grid-rows-1 grid-cols-1 sm:grid-cols-2 drop-shadow-md">
<nuxt-img alt="juls07 profile picture" <img alt="juls07 profile picture"
src="/images/juls07.png" src="~/assets/images/juls07.png"
sizes="128px md:160px"
class="h-32 md:h-40 max-h-full rounded-full mb-3 sm:mb-0 sm:mr-2" /> class="h-32 md:h-40 max-h-full rounded-full mb-3 sm:mb-0 sm:mr-2" />
<div class="grid grid-rows-5 grid-cols-1 h-fit"> <div class="grid grid-rows-5 grid-cols-1 h-fit">
<h1 class="text-4xl md:text-5xl row-span-3 font-jetbrains">Juls07</h1> <h1 class="text-4xl md:text-5xl row-span-3 font-jetbrains">Juls07</h1>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 68 KiB