Refactor OG image generation in various pages and update package dependencies

This commit is contained in:
nurRiyad
2025-03-13 03:11:33 +06:00
parent 510e265a7c
commit 23a1b0f8a9
11 changed files with 3031 additions and 513 deletions

View File

@@ -1,5 +1,5 @@
<script setup lang="ts">
import { aboutPage, footerData, socialLinks } from '~/data'
import { aboutPage, footerData, navbarData, socialLinks } from '~/data'
useHead({
title: 'About',
@@ -11,12 +11,12 @@ useHead({
],
})
// 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>