mirror of
https://github.com/neynarxyz/create-farcaster-mini-app.git
synced 2025-11-15 23:58:56 -05:00
specify white img background
This commit is contained in:
parent
2524ccf815
commit
53ffc28623
@ -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>
|
||||
),
|
||||
|
||||
@ -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>
|
||||
),
|
||||
|
||||
@ -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>
|
||||
),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user