Skip to content

Commit

Permalink
og image
Browse files Browse the repository at this point in the history
  • Loading branch information
sergical committed Jan 4, 2025
1 parent 19fc572 commit fdb5ecf
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<a href="https://aws-chat-app.serg.tech/">
<img alt="Next.js 14 and App Router-ready AI chatbot." src="app/opengraph-image.png">
<img alt="Next.js 14 and App Router-ready AI chatbot." src="app/images/og.png">
<h1 align="center">Next.js AI Chatbot on AWS</h1>
</a>

Expand Down
14 changes: 14 additions & 0 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,20 @@ export const metadata: Metadata = {
title: "Next.js Chatbot Template",
description:
"Next.js chatbot template using the AI SDK. Hosted on AWS using SST.",
openGraph: {
title: "Next.js Chatbot Template",
description:
"Next.js chatbot template using the AI SDK. Hosted on AWS using SST.",
url: "https://aws-chat-app.serg.tech",
siteName: "Next.js Chatbot Template",
images: [
{
url: "https://aws-chat-app.serg.tech/images/og.png",
width: 1200,
height: 630,
},
],
},
};

export const viewport = {
Expand Down
Binary file added public/images/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 fdb5ecf

Please sign in to comment.