add about me and update header

Signed-off-by: nurRiyad <asadnurriyad@gmail.com>
This commit is contained in:
nurRiyad
2023-01-12 01:25:58 +06:00
parent f8ef334f5a
commit 49723c532c
6 changed files with 48 additions and 50 deletions

View File

@@ -1,14 +1,4 @@
<script lang="ts" setup>
useHead({
title: 'Home',
meta: [
{
name: 'description',
content: 'Home',
},
],
titleTemplate: "Riyad's Blog - %s",
})
const { data } = await useAsyncData('home', () => queryContent('/blogs').sort({ _id: -1 }).find())
const formatedData = computed(() => {
@@ -27,6 +17,17 @@ const formatedData = computed(() => {
}
})
})
useHead({
title: 'Archive',
meta: [
{
name: 'description',
content: 'Here you will find all the blog posts I have written & published on this site.',
},
],
titleTemplate: "Riyad's Blog - %s",
})
</script>
<template>
<main class="container max-w-5xl mx-auto text-zinc-600">