Update author information and improve SEO descriptions across various components
This commit is contained in:
@@ -5,7 +5,7 @@ export const navbarData = {
|
||||
export const footerData = {
|
||||
author: 'Al Asad Nur Riyad',
|
||||
aboutAuthor:
|
||||
'Hi! I am Riyad, a Tech enthusiast, problem solver and software engineer. Currently working at Appscode Inc.',
|
||||
'Hi! I am Riyad, a Tech enthusiast, problem solver and software engineer. Currently working at FieldNation LLC.',
|
||||
authorInterest:
|
||||
"I have a fair amount of knowledge of Javascript, Typescript, VueJs, and Nuxt. If you have an interesting idea, either open source or paid let's connect.",
|
||||
aboutTheSite:
|
||||
@@ -33,13 +33,13 @@ export const aboutPage = {
|
||||
title: 'Al Asad Nur Riyad',
|
||||
description: 'Software Engineer, Problem Solver, Web Enthusiast.',
|
||||
aboutMe:
|
||||
"Hello, fellow human! I'm a software wizard who spends most of his day crafting code spells at @AppsCode in the Bytebuilders team. When I'm not crafting code, you can find me summoning solutions to problems on online judges. Just don't ask me to cast any love spells, my magic only works on machines!",
|
||||
"Hello, fellow human! I'm a software wizard who spends most of his day crafting code spells at @FieldNation in the Workplace Operation team. When I'm not crafting code, you can find me summoning solutions to problems on online judges. Just don't ask me to cast any love spells, my magic only works on machines!",
|
||||
}
|
||||
|
||||
export const seoData = {
|
||||
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`,
|
||||
description: `Hi I am Riyad. A Software Engineer at FieldNation, with over 3.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',
|
||||
|
||||
@@ -17,7 +17,7 @@ const data = computed<BlogPost>(() => {
|
||||
description: articles.value?.description || 'no-description available',
|
||||
image: meta?.image || '/not-found.jpg',
|
||||
alt: meta?.alt || 'no alter data available',
|
||||
ogImage: meta?.ogImage || '/not-found.jpg',
|
||||
ogImage: (articles?.value?.ogImage as unknown as string) || '/not-found.jpg',
|
||||
date: meta?.date || 'not-date-available',
|
||||
tags: meta?.tags || [],
|
||||
published: meta?.published || false,
|
||||
@@ -79,11 +79,13 @@ useHead({
|
||||
],
|
||||
})
|
||||
|
||||
console.log(articles.value)
|
||||
|
||||
// Generate OG Image
|
||||
defineOgImageComponent('Test', {
|
||||
headline: 'Greetings 👋',
|
||||
title: data.value.title || '',
|
||||
description: data.value.description || '',
|
||||
headline: 'Riyads Blog 👋',
|
||||
title: articles.value?.seo.title || '',
|
||||
description: articles.value?.seo.description || '',
|
||||
link: data.value.ogImage,
|
||||
})
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user