Skip to content

Commit

Permalink
chore: add opengraph images
Browse files Browse the repository at this point in the history
  • Loading branch information
JeelRajodiya committed Aug 5, 2024
1 parent 865fe56 commit bf7fd9f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,16 @@ export const metadata: Metadata = {
media: "(prefers-color-scheme: light)",
},
],
metadataBase: new URL("https://tour.json-schema.org"),
openGraph: {
title: "A Tour of JSON Schema",
description: "A Tour of JSON Schema, Learn JSON Schema by Example",
images: {
url: "/icons/icon.ico", // Must be an absolute URL
width: 91,
height: 90,
},
},
};

export default function RootLayout({
Expand Down

0 comments on commit bf7fd9f

Please sign in to comment.