diff --git a/app/components/OgImage/OgLogo.vue b/app/components/OgImage/OgLogo.vue new file mode 100644 index 0000000..226ed43 --- /dev/null +++ b/app/components/OgImage/OgLogo.vue @@ -0,0 +1,38 @@ + diff --git a/app/components/OgImage/OgTitleDesc.vue b/app/components/OgImage/OgTitleDesc.vue new file mode 100644 index 0000000..70922e1 --- /dev/null +++ b/app/components/OgImage/OgTitleDesc.vue @@ -0,0 +1,65 @@ + + + diff --git a/app/pages/index.vue b/app/pages/index.vue index c0caab4..b2bd68d 100644 --- a/app/pages/index.vue +++ b/app/pages/index.vue @@ -1,9 +1,23 @@ diff --git a/app/pages/logo.vue b/app/pages/logo.vue index a8867d1..885139d 100644 --- a/app/pages/logo.vue +++ b/app/pages/logo.vue @@ -5,10 +5,9 @@ definePageMeta({ diff --git a/app/pages/terms.vue b/app/pages/terms.vue index dd899d1..9f84c39 100644 --- a/app/pages/terms.vue +++ b/app/pages/terms.vue @@ -4,14 +4,17 @@ if (!page.value) throw createError({ statusCode: 404, statusMessage: 'Page not found', fatal: true }) useSeoMeta({ - titleTemplate: '', + titleTemplate: '| fume.bio', title: page.value.title, ogTitle: page.value.title, description: page.value.description, ogDescription: page.value.description, }) -console.log(page) +defineOgImageComponent('OgTitleDesc', { + title: page.value.title, + description: page.value.description, +})