Skip to content

The Open Standard for Generative UI

feat(docs): add og:logo with the Shiro mascot (#1437)

shubham-thesys50e2e841a4d0
diff --git a/docs/app/layout.tsx b/docs/app/layout.tsx
index 6f9c2357e..16332cf0a 100644
--- a/docs/app/layout.tsx
+++ b/docs/app/layout.tsx
@@ -73,6 +73,9 @@ export const metadata: Metadata = {
},
};
+/** Square Shiro mark for `og:logo`, which Next's Metadata API has no field for. */
+const OG_LOGO = `${BASE_URL}/shiro-og-logo.png`;
+
export default function Layout({ children }: LayoutProps<"/">) {
return (
<html
@@ -82,6 +85,9 @@ export default function Layout({ children }: LayoutProps<"/">) {
data-scroll-behavior="smooth"
suppressHydrationWarning
>
+ <head>
+ <meta property="og:logo" content={OG_LOGO} />
+ </head>
<body className="flex flex-col min-h-screen">
<PHProvider>
<RootProvider theme={{ defaultTheme: "light", enableSystem: false }}>
diff --git a/docs/public/shiro-og-logo.png b/docs/public/shiro-og-logo.png
new file mode 100644
index 000000000..7b28bb882
Binary files /dev/null and b/docs/public/shiro-og-logo.png differ