mirror of
https://github.com/d0zingcat/nextjs-notion-starter-kit.git
synced 2026-05-14 07:26:43 +00:00
.
This commit is contained in:
@@ -116,7 +116,7 @@ async function createSocialImage(params: SocialImageConfig) {
|
||||
const res = await renderSocialImage({
|
||||
template: 'article',
|
||||
templateParams: params,
|
||||
templateStyles: `h1 { font-size: 96px; text-align: center; } h2 { font-size: 32px; text-align: center; }`,
|
||||
templateStyles: `h1 { font-size: 96px; text-align: center; } h2 { margin-top: 48px; font-size: 48px; text-align: center; }`,
|
||||
size: params.size,
|
||||
browser
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user