Add not blog found card
Signed-off-by: nurRiyad <asadnurriyad@gmail.com>
This commit is contained in:
@@ -1,14 +1,14 @@
|
|||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
interface Props {
|
interface Props {
|
||||||
path: string
|
path?: string
|
||||||
title: string
|
title?: string
|
||||||
date: string
|
date?: string
|
||||||
description: string
|
description?: string
|
||||||
image: string
|
image?: string
|
||||||
alt: string
|
alt?: string
|
||||||
ogImage: string
|
ogImage?: string
|
||||||
tags: Array<string>
|
tags?: Array<string>
|
||||||
published: boolean
|
published?: boolean
|
||||||
}
|
}
|
||||||
|
|
||||||
withDefaults(defineProps<Props>(), {
|
withDefaults(defineProps<Props>(), {
|
||||||
|
|||||||
@@ -97,6 +97,12 @@ useHead({
|
|||||||
:published="post.published"
|
:published="post.published"
|
||||||
/>
|
/>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
<ArchiveCard
|
||||||
|
v-if="paginatedData.length <= 0"
|
||||||
|
title="No Post Found"
|
||||||
|
image="/not-found.jpg"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<template #fallback>
|
<template #fallback>
|
||||||
|
|||||||
BIN
public/not-found.jpg
Normal file
BIN
public/not-found.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.2 KiB |
Reference in New Issue
Block a user