Update @nuxt/content to version 3.3.0 and refactor content queries

This commit is contained in:
nurRiyad
2025-03-12 03:43:14 +06:00
parent 1aba5e18cc
commit beb5305d65
15 changed files with 2607 additions and 6080 deletions

View File

@@ -1,5 +1,5 @@
<script lang="ts" setup>
import { navbarData } from '~/data'
// import { navbarData } from '~/data'
useHead({
title: 'Home',
@@ -13,12 +13,12 @@ useHead({
})
// Generate OG Image
defineOgImageComponent('About', {
headline: 'Greetings 👋',
title: navbarData.homeTitle,
description: 'Dive into web development with me and learn Js, Ts, Vue, Nuxt, Docker, k8s',
link: '/riyad.jpg',
})
// defineOgImageComponent('About', {
// headline: 'Greetings 👋',
// title: navbarData.homeTitle,
// description: 'Dive into web development with me and learn Js, Ts, Vue, Nuxt, Docker, k8s',
// link: '/riyad.jpg',
// })
</script>
<template>