Add OpenGraph metadata to web app pages for improve social share links

This commit is contained in:
Debanjum Singh Solanky
2024-08-10 16:03:13 +05:30
parent fc411091c8
commit b3c6c8c84b
8 changed files with 103 additions and 0 deletions

View File

@@ -12,6 +12,20 @@ export const metadata: Metadata = {
icon: "/static/assets/icons/khoj_lantern.ico",
apple: "/static/assets/icons/khoj_lantern_256x256.png",
},
openGraph: {
siteName: "Khoj AI",
title: "Khoj AI - Chat",
description: "Your Second Brain.",
url: "https://app.khoj.dev/chat",
type: "website",
images: [
{
url: "https://assets.khoj.dev/khoj_lantern_256x256.png",
width: 256,
height: 256,
},
],
},
};
export default function RootLayout({