From 143c1cd065d4ee6c42500a59ff50b587e7efb369 Mon Sep 17 00:00:00 2001 From: shamilkotta Date: Tue, 10 Feb 2026 19:04:50 +0530 Subject: [PATCH 1/2] feat: blog post og image --- app/components/BlogPostWrapper.vue | 6 ++ app/components/OgImage/BlogPost.vue | 141 ++++++++++++++++++++++++++++ 2 files changed, 147 insertions(+) create mode 100644 app/components/OgImage/BlogPost.vue diff --git a/app/components/BlogPostWrapper.vue b/app/components/BlogPostWrapper.vue index 7d1e0d62c..370f51eb4 100644 --- a/app/components/BlogPostWrapper.vue +++ b/app/components/BlogPostWrapper.vue @@ -13,6 +13,12 @@ useSeoMeta({ ogType: 'article', }) +defineOgImageComponent('BlogPost', { + title: props.frontmatter.title, + authors: props.frontmatter.authors, + date: props.frontmatter.date, +}) + const slug = computed(() => props.frontmatter.slug) // Use Constellation to find the Bluesky post linking to this blog post diff --git a/app/components/OgImage/BlogPost.vue b/app/components/OgImage/BlogPost.vue new file mode 100644 index 000000000..2c3b79172 --- /dev/null +++ b/app/components/OgImage/BlogPost.vue @@ -0,0 +1,141 @@ + + + From 401880096a2ac80d328259fb6428adabf5b95138 Mon Sep 17 00:00:00 2001 From: shamilkotta Date: Tue, 10 Feb 2026 20:35:35 +0530 Subject: [PATCH 2/2] fix: n badge postion --- app/components/OgImage/BlogPost.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/components/OgImage/BlogPost.vue b/app/components/OgImage/BlogPost.vue index 2c3b79172..b52f9dc1b 100644 --- a/app/components/OgImage/BlogPost.vue +++ b/app/components/OgImage/BlogPost.vue @@ -121,7 +121,8 @@ const formattedAuthorNames = computed(() => { +{{ extraCount }}