Update seo tags (#75)

Signed-off-by: nurRiyad <asadnurriyad@gmail.com>
This commit is contained in:
Al Asad Nur Riyad
2024-11-11 23:48:34 +06:00
committed by GitHub
parent 61b872f73b
commit 58f655df33
2 changed files with 7 additions and 9 deletions

View File

@@ -37,12 +37,10 @@ export const aboutPage = {
}
export const seoData = {
description:
'Riyad, Software Engineer at AppsCode, with over 2.5+ years experience in software development.',
ogTitle:
'Riyad codes and helps others learn Javascript, Typescript, Vue, Nuxt, & Problem Solving',
twitterDescription:
'My blog website, where I play around with Nuxt, Vue, and more and showcase my blog, resources, etc',
title: `Riyad's Blog | Riyads Blog`,
ogTitle: `Let's learn Javascript, Typescript, Vue, Nuxt, & Problem Solving - Riyads Blog | Riyad's Blog`,
description: `Hi I am Riyad. A Software Engineer at AppsCode, with over 2.5+ years experience in software development. - Riyads Blog | Riyad's Blog`,
twitterDescription: `Riyad's Blog, where I play around with Nuxt, Vue, and more and showcase my blog, resources, etc - Riyads Blog | Riyad's Blog`,
image:
'https://res.cloudinary.com/dmecmyphj/image/upload/v1673548905/nuxt-blog/cover_ntgs6u.webp',
mySite: 'https://blog-nurriyad.vercel.app',

View File

@@ -1,4 +1,4 @@
import { navbarData, seoData } from './data'
import { seoData } from './data'
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
@@ -24,8 +24,8 @@ export default defineNuxtConfig({
head: {
charset: 'utf-16',
viewport: 'width=device-width,initial-scale=1',
title: navbarData.homeTitle,
titleTemplate: `%s - ${navbarData.homeTitle}`,
title: seoData.title,
titleTemplate: `%s - ${seoData.title}`,
},
pageTransition: { name: 'page', mode: 'out-in' },
layoutTransition: { name: 'layout', mode: 'out-in' },