From ee631d2fab93d8dd4341e807bb3b6b73d8ca4096 Mon Sep 17 00:00:00 2001 From: Ethan Liu Date: Fri, 4 Aug 2023 10:02:16 +0800 Subject: [PATCH] update og/twitter image --- pnpm-lock.yaml | 10 +++++----- src/app/layout.tsx | 9 +++++++-- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2d8b51a..3e411bf 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -27,8 +27,8 @@ dependencies: specifier: 8.0.1 version: 8.0.1 '@types/node': - specifier: 20.4.6 - version: 20.4.6 + specifier: 20.4.7 + version: 20.4.7 '@types/react': specifier: 18.2.18 version: 18.2.18 @@ -3336,13 +3336,13 @@ packages: resolution: {integrity: sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA==} dev: false - /@types/node@20.4.6: - resolution: {integrity: sha512-q0RkvNgMweWWIvSMDiXhflGUKMdIxBo2M2tYM/0kEGDueQByFzK4KZAgu5YHGFNxziTlppNpTIBcqHQAxlfHdA==} + /@types/node@20.4.7: + resolution: {integrity: sha512-bUBrPjEry2QUTsnuEjzjbS7voGWCc30W0qzgMf90GPeDGFRakvrz47ju+oqDAKCXLUCe39u57/ORMl/O/04/9g==} /@types/nodemailer@6.4.9: resolution: {integrity: sha512-XYG8Gv+sHjaOtUpiuytahMy2mM3rectgroNbs6R3djZEKmPNiIJwe9KqOJBGzKKnNZNKvnuvmugBgpq3w/S0ig==} dependencies: - '@types/node': 20.4.6 + '@types/node': 20.4.7 dev: true /@types/parse-json@4.0.0: diff --git a/src/app/layout.tsx b/src/app/layout.tsx index b3014bb..0d823a2 100755 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -53,7 +53,7 @@ export const metadata: Metadata = { locale: "zh_CN", type: "website", images: { - url: "https://chat.ltopx.com/twitter-image.png", + url: "https://chat.ltopx.com/opengraph-image.png", width: 1200, height: 675, alt: "L-GPT", @@ -66,7 +66,12 @@ 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"], + images: { + url: "https://chat.ltopx.com/twitter-image.png", + width: 1200, + height: 675, + alt: "L-GPT", + }, }, };