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

@@ -11,7 +11,6 @@ const data = computed<BlogPost>(() => {
image: articles.image || '/nuxt-blog/no-image_cyyits.png',
alt: articles.alt || 'no alter data available',
ogImage: articles.ogImage || '/nuxt-blog/no-image_cyyits.png',
provider: articles.provider || 'cloudinary',
date: articles.date || 'not-date-available',
tags: articles.tags || [],
published: articles.published || false,
@@ -81,7 +80,6 @@ useHead({
{{ data.title || '' }}
</h1>
<NuxtImg
:provider="data.provider"
:src="data.image || ''"
:alt="data.alt || ''"
class="m-auto rounded-2xl shadow-lg h-52 md:h-96 w-4/5 content-center object-cover"

View File

@@ -10,7 +10,6 @@ const formatedData = computed(() => {
image: articles.image || '/nuxt-blog/no-image_cyyits.png',
alt: articles.alt || 'no alter data available',
ogImage: articles.ogImage || '/nuxt-blog/no-image_cyyits.png',
provider: articles.provider,
date: articles.date || 'not-date-available',
tags: articles.tags || [],
published: articles.published || false,
@@ -43,7 +42,6 @@ useHead({
:image="post.image"
:alt="post.alt"
:og-image="post.ogImage"
:provider="post.provider"
:tags="post.tags"
:published="post.published"
/>

View File

@@ -27,7 +27,6 @@ const formatedData = computed(() => {
image: articles.image || '/nuxt-blog/no-image_cyyits.png',
alt: articles.alt || 'no alter data available',
ogImage: articles.ogImage || '/nuxt-blog/no-image_cyyits.png',
provider: articles.provider,
date: articles.date || 'not-date-available',
tags: articles.tags || [],
published: articles.published || false,
@@ -60,7 +59,6 @@ useHead({
:image="post.image"
:alt="post.alt"
:og-image="post.ogImage"
:provider="post.provider"
:tags="post.tags"
:published="post.published"
/>