Skip to content

Commit 67bad8f

Browse files
authored
Set twitter image to brand banner (#14)
1 parent e1ef01f commit 67bad8f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

packages/website/src/app/layout.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,17 @@ const ibmPlexMono = IBM_Plex_Mono({
88
weight: ["400", "500"],
99
});
1010

11+
const SITE_URL = "https://www.react.doctor";
12+
const TWITTER_IMAGE_PATH = "/react-doctor-og-banner.svg";
13+
1114
export const metadata: Metadata = {
15+
metadataBase: new URL(SITE_URL),
1216
title: "React Doctor",
1317
description: "Let coding agents diagnose and fix your React code.",
18+
twitter: {
19+
card: "summary_large_image",
20+
images: [TWITTER_IMAGE_PATH],
21+
},
1422
icons: { icon: "/react-doctor-icon.svg" },
1523
};
1624

0 commit comments

Comments
 (0)