feat: style it like an embed

This commit is contained in:
2026-03-21 23:40:09 +07:00 Unverified
parent 29a583fcf2
commit f3227a7e79
+9 -1
View File
@@ -11,7 +11,15 @@ export async function CardResponse(
}>[] = [], }>[] = [],
) { ) {
return new ImageResponse( return new ImageResponse(
<div tw="text-white bg-[#131416] w-full h-full flex flex-col rounded-[.5em]"> <div
tw="text-white bg-[#131416] w-full h-full flex flex-col rounded-[.5em] border-solid"
style={{
borderColor: "#2D2E32",
borderWidth: "1px",
borderLeftColor: "#323337",
borderLeftWidth: "4px",
}}
>
{children} {children}
<div tw="grow" /> <div tw="grow" />
<div tw="ml-[.5em] flex items-center"> <div tw="ml-[.5em] flex items-center">