Skip to content

An open source design system that's fully customizable and agent ready

TypeScript

chore(docsite): rename blog og banner to astryx-og-banner (#3053)

Cindy Zhang284a445bb40e
diff --git a/apps/docsite/public/blog-post-01.png b/apps/docsite/public/astryx-og-banner.png
similarity index 100%
rename from apps/docsite/public/blog-post-01.png
rename to apps/docsite/public/astryx-og-banner.png
diff --git a/apps/docsite/src/app/blog/[slug]/page.tsx b/apps/docsite/src/app/blog/[slug]/page.tsx
index 8fd9a3a0fe..149b0b535d 100644
--- a/apps/docsite/src/app/blog/[slug]/page.tsx
+++ b/apps/docsite/src/app/blog/[slug]/page.tsx
@@ -30,7 +30,7 @@ export async function generateMetadata({
// fall back to the branded default card. Next.js shallow-merges metadata —
// a route that sets `openGraph`/`twitter` replaces the root object wholesale
// (images are not inherited), so the fallback must be explicit here.
- const ogImage = post.coverImage ?? '/blog-post-01.png';
+ const ogImage = post.coverImage ?? '/astryx-og-banner.png';
const ogAlt = post.coverImage ? (post.coverAlt ?? post.title) : post.title;
return {
diff --git a/apps/docsite/src/app/blog/page.tsx b/apps/docsite/src/app/blog/page.tsx
index 32d8249c55..6eae836628 100644
--- a/apps/docsite/src/app/blog/page.tsx
+++ b/apps/docsite/src/app/blog/page.tsx
@@ -26,13 +26,13 @@ export const metadata: Metadata = {
title: `${BLOG_TITLE} · Astryx`,
description: BLOG_DESCRIPTION,
url: '/blog',
- images: ['/blog-post-01.png'],
+ images: ['/astryx-og-banner.png'],
},
twitter: {
card: 'summary_large_image',
title: `${BLOG_TITLE} · Astryx`,
description: BLOG_DESCRIPTION,
- images: ['/blog-post-01.png'],
+ images: ['/astryx-og-banner.png'],
},
};
diff --git a/apps/docsite/src/app/layout.tsx b/apps/docsite/src/app/layout.tsx
index 5c1a63b8d0..e57ae5c522 100644
--- a/apps/docsite/src/app/layout.tsx
+++ b/apps/docsite/src/app/layout.tsx
@@ -28,7 +28,7 @@ const SITE_DESCRIPTION =
// Default social card image: the launch banner that the announcement blog post
// uses for its cover. Reusing the same branded banner keeps the shared-link
// preview consistent with the launch creative across the site and the post.
-const OG_IMAGE = '/blog-post-01.png';
+const OG_IMAGE = '/astryx-og-banner.png';
export const metadata: Metadata = {
metadataBase: new URL(SITE_URL),
diff --git a/apps/docsite/src/content/blog/posts/introducing-astryx.md b/apps/docsite/src/content/blog/posts/introducing-astryx.md
index cd5b5a778f..aa93b3bc68 100644
--- a/apps/docsite/src/content/blog/posts/introducing-astryx.md
+++ b/apps/docsite/src/content/blog/posts/introducing-astryx.md
@@ -9,7 +9,7 @@ tags:
- 'Release'
- 'AI'
- 'Design systems'
-coverImage: '/blog-post-01.png'
+coverImage: '/astryx-og-banner.png'
coverAlt: 'Introducing Astryx by Meta'
relatedDocs:
- title: 'Getting started'