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>
|
||||
interface Props {
|
||||
path: string
|
||||
title: string
|
||||
date: string
|
||||
description: string
|
||||
image: string
|
||||
alt: string
|
||||
ogImage: string
|
||||
tags: Array<string>
|
||||
published: boolean
|
||||
path?: string
|
||||
title?: string
|
||||
date?: string
|
||||
description?: string
|
||||
image?: string
|
||||
alt?: string
|
||||
ogImage?: string
|
||||
tags?: Array<string>
|
||||
published?: boolean
|
||||
}
|
||||
|
||||
withDefaults(defineProps<Props>(), {
|
||||
|
||||
@@ -97,6 +97,12 @@ useHead({
|
||||
:published="post.published"
|
||||
/>
|
||||
</template>
|
||||
|
||||
<ArchiveCard
|
||||
v-if="paginatedData.length <= 0"
|
||||
title="No Post Found"
|
||||
image="/not-found.jpg"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<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