feat: style it like an embed
This commit is contained in:
+9
-1
@@ -11,7 +11,15 @@ export async function CardResponse(
|
||||
}>[] = [],
|
||||
) {
|
||||
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}
|
||||
<div tw="grow" />
|
||||
<div tw="ml-[.5em] flex items-center">
|
||||
|
||||
Reference in New Issue
Block a user