Skip to content

Commit

Permalink
feat: add ogp metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
seelengxd committed Sep 27, 2024
1 parent 00a02c6 commit 94dc0f3
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions frontend/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,23 @@ const fontSans = FontSans({
});

export const metadata: Metadata = {
// TODO: change these
title: process.env.NEXT_PUBLIC_APP_NAME,
description: "CS3216 Assignment 3 (Group 4) - placeholder",
description: "Ace Your General Paper Essays",
openGraph: {
title: "Jippy",
description: "Ace Your General Paper Essays with AI-Powered Insights",
url: "https://jippy.site",
siteName: "Jippy",
images: [
{
url: "https://jippy.site/og.png", // Must be an absolute URL
width: 1200,
height: 630,
},
],
locale: "en_gb",
type: "website",
},
};

export default function RootLayout({
Expand Down
Binary file added frontend/public/og.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 94dc0f3

Please sign in to comment.