diff --git a/apps/lp/app/assets/icons/shelve.svg b/apps/lp/app/assets/icons/shelve.svg index 9f78d637..c6d8a176 100644 --- a/apps/lp/app/assets/icons/shelve.svg +++ b/apps/lp/app/assets/icons/shelve.svg @@ -1 +1 @@ - \ No newline at end of file + diff --git a/apps/lp/app/components/og-image/OgImageDocs.vue b/apps/lp/app/components/og-image/OgImageDocs.vue index f9f31bfd..79d7c287 100644 --- a/apps/lp/app/components/og-image/OgImageDocs.vue +++ b/apps/lp/app/components/og-image/OgImageDocs.vue @@ -3,25 +3,31 @@ defineOptions({ inheritAttrs: false }) -defineProps({ - title: { - type: String, - required: true - }, - description: { - type: String, - required: true - }, - headline: { - type: String, - default: '' - } -}) +const { headline = '' } = defineProps<{ + title?: string + description?: string + headline?: string +}>() + + diff --git a/apps/lp/app/pages/[...slug].vue b/apps/lp/app/pages/[...slug].vue index 03f7bb36..92c3c159 100644 --- a/apps/lp/app/pages/[...slug].vue +++ b/apps/lp/app/pages/[...slug].vue @@ -27,6 +27,8 @@ const breadcrumb = computed(() => mapContentNavigation(findPageBreadcrumb(naviga defineOgImageComponent('Docs', { headline: breadcrumb.value.map(item => item.label).join(' > ') +}, { + fonts: ['Geist:400', 'Geist:600'], }) const editThisPage = computed(() => ({ diff --git a/apps/lp/public/og-bg.png b/apps/lp/public/og-bg.png new file mode 100644 index 00000000..037ec0a4 Binary files /dev/null and b/apps/lp/public/og-bg.png differ