Skip to content

Commit

Permalink
fix: fix twitter/og image
Browse files Browse the repository at this point in the history
  • Loading branch information
Peek-A-Booo committed Aug 4, 2023
1 parent 99c6a6c commit 9f5a3b5
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@react-email/components": "0.0.7",
"@react-email/render": "0.0.7",
"@svgr/webpack": "8.0.1",
"@types/node": "20.4.6",
"@types/node": "20.4.7",
"@types/react": "18.2.18",
"@types/react-dom": "18.2.7",
"@upstash/redis": "1.22.0",
Expand Down
File renamed without changes
File renamed without changes
7 changes: 7 additions & 0 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@ export const metadata: Metadata = {
siteName: "L-GPT",
locale: "zh_CN",
type: "website",
images: {
url: "https://chat.ltopx.com/twitter-image.png",
width: 1200,
height: 675,
alt: "L-GPT",
},
},
twitter: {
card: "summary_large_image",
Expand All @@ -60,6 +66,7 @@ export const metadata: Metadata = {
"L-GPT is an open-source project that helps you improve your learning, work, and life efficiency by providing various AI models.",
site: "@peekbomb",
creator: "@peekbomb",
images: ["https://chat.ltopx.com/twitter-image.png"],
},
};

Expand Down

1 comment on commit 9f5a3b5

@vercel
Copy link

@vercel vercel bot commented on 9f5a3b5 Aug 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.