Remove external img provider

Signed-off-by: Al Asad Nur Riyad <asadnurriyad@gmail.com>
This commit is contained in:
Al Asad Nur Riyad
2023-05-06 22:51:17 +06:00
parent 0a2369bc71
commit dc7f69fbc9
20 changed files with 151 additions and 481 deletions

View File

@@ -7,7 +7,6 @@ interface Props {
image: string
alt: string
ogImage: string
provider: string
tags: Array<string>
published: boolean
}
@@ -20,7 +19,6 @@ withDefaults(defineProps<Props>(), {
image: '/nuxt-blog/no-image_cyyits.png',
alt: 'no-alt',
ogImage: '/nuxt-blog/no-image_cyyits.png',
provider: 'cloudinary',
tags: () => [],
published: false,
})
@@ -32,7 +30,6 @@ withDefaults(defineProps<Props>(), {
<div class="sm:col-span-3">
<NuxtImg
class="h-full w-full object-cover object-center rounded-t-2xl sm:rounded-l-2xl sm:rounded-t-none shadow-lg group-hover:scale-[1.02] transition-all duration-500"
:provider="provider"
:src="image"
:alt="alt"
/>