fix: améliorer la gestion des métadonnées SEO dans plusieurs fichiers de page

This commit is contained in:
2026-01-02 20:27:08 +01:00
parent fb25eddaf0
commit ca5cf60c4a
5 changed files with 70 additions and 13 deletions

View File

@@ -29,6 +29,13 @@ useSeoMeta({
twitterCard: 'summary_large_image'
})
defineOgImageComponent('NuxtSeo', {
title: project.value.title,
description: project.value.description,
subtitle: project.value.type ? `Project Type: ${project.value.type}` : '',
theme: '#F43F5E'
})
const { statusColors, typeColors } = useProjectColors()
const formattedDate = computed(() => {

View File

@@ -7,14 +7,25 @@ const { data: projects } = await useAsyncData('projects', () => {
.all()
})
useSeoMeta({
const head = {
title: 'Engineering & Research Labs',
description: 'Bridging the gap between theoretical models and production systems. Explore my experimental labs, open-source contributions, and engineering work.',
ogTitle: 'Engineering & Research Labs • Arthur Danjou',
ogDescription: 'Bridging the gap between theoretical models and production systems. Explore my experimental labs, open-source contributions, and engineering work.',
description: 'Bridging the gap between theoretical models and production systems. Explore my experimental labs, open-source contributions, and engineering work.'
}
useSeoMeta({
title: head.title,
description: head.description,
ogTitle: `${head.title} • Arthur Danjou`,
ogDescription: head.description,
twitterCard: 'summary_large_image'
})
defineOgImageComponent('NuxtSeo', {
title: head.title,
description: head.description,
theme: '#F43F5E'
})
const { statusColors, typeColors } = useProjectColors()
const selectedType = ref<string | null>(null)