Skip to content

The Open Standard for Generative UI

Add site social metadata image for docs previews. (#312)

Zahle Khanb34c16b117fd
diff --git a/docs/app/layout.tsx b/docs/app/layout.tsx
index 9df1866ea..0afd913f6 100644
--- a/docs/app/layout.tsx
+++ b/docs/app/layout.tsx
@@ -17,6 +17,13 @@ export const metadata: Metadata = {
template: "%s | OpenUI",
},
description: "The Open Standard for Generative UI",
+ openGraph: {
+ images: ["/meta-image.png"],
+ },
+ twitter: {
+ card: "summary_large_image",
+ images: ["/meta-image.png"],
+ },
icons: {
icon: "/favicon.svg",
shortcut: "/favicon.svg",
diff --git a/docs/public/meta-image.png b/docs/public/meta-image.png
new file mode 100644
index 000000000..3e513db15
Binary files /dev/null and b/docs/public/meta-image.png differ