Some Issue Fix

Signed-off-by: Al Asad Nur Riyad <asadnurriyad@gmail.com>
This commit is contained in:
Al Asad Nur Riyad
2023-05-06 15:51:22 +06:00
parent 137ab83bab
commit 5e48ccd19d
2 changed files with 5 additions and 5 deletions

View File

@@ -6,13 +6,13 @@
<NuxtLink to="/" class="hover:underline">
Home
</NuxtLink>
<NuxtLink to="/blogs" class="hover:underline">
Blogs
</NuxtLink>
<NuxtLink to="/categories" class="hover:underline">
Categories
</NuxtLink>
<NuxtLink to="/blogs" class="hover:underline">
Archive
</NuxtLink>
<NuxtLink to="https://www.nurriyad.xyz/" target="_blank" class="hover:underline">
<NuxtLink to="/about" class="hover:underline">
About Me
</NuxtLink>
</div>

View File

@@ -1,7 +1,7 @@
<script lang="ts" setup>
// Get Last 6 Publish Post from the content/blog directory
const { data } = await useAsyncData('trending-post', () =>
queryContent('/blogs').limit(3).sort({ _id: -1 }).find(),
queryContent('/blogs').limit(3).sort({ _id: 1 }).find(),
)
const formatedData = computed(() => {