specify white img background

This commit is contained in:
horsefacts 2024-11-29 18:46:30 -05:00 committed by lucas-neynar
parent 2524ccf815
commit 53ffc28623
No known key found for this signature in database
3 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@ export default async function Image({ params }: Props) {
return new ImageResponse(
(
<div tw="h-full w-full flex flex-col justify-center items-center relative">
<div tw="h-full w-full flex flex-col justify-center items-center relative bg-white">
<h1 tw="text-6xl">Hello, {name}</h1>
</div>
),

View File

@ -13,7 +13,7 @@ export const contentType = "image/png";
export default async function Image() {
return new ImageResponse(
(
<div tw="h-full w-full flex flex-col justify-center items-center relative">
<div tw="h-full w-full flex flex-col justify-center items-center relative bg-white">
<h1 tw="text-6xl">Hello, world!</h1>
</div>
),

View File

@ -11,7 +11,7 @@ export const contentType = "image/png";
export default async function Image() {
return new ImageResponse(
(
<div tw="h-full w-full flex flex-col justify-center items-center relative">
<div tw="h-full w-full flex flex-col justify-center items-center relative bg-white">
<h1 tw="text-6xl">Frames v2 Demo</h1>
</div>
),