32 lines
672 B
TypeScript
32 lines
672 B
TypeScript
import { ImageResponse } from "next/og";
|
|
|
|
export default async function Image() {
|
|
return new ImageResponse(
|
|
(
|
|
<div
|
|
style={{
|
|
background: "green",
|
|
color: "white",
|
|
width: "100%",
|
|
height: "100%",
|
|
display: "flex",
|
|
flexDirection: "column",
|
|
textAlign: "center",
|
|
alignItems: "center",
|
|
justifyContent: "center"
|
|
}}
|
|
>
|
|
<div style={{
|
|
fontSize: 128,
|
|
}}>WIBU APP</div>
|
|
<p style={{ fontSize: 24 }}>Comprehensive Dock for Wibu web app.</p>
|
|
</div>
|
|
),
|
|
{
|
|
width: 1200,
|
|
height: 630
|
|
}
|
|
);
|
|
}
|
|
|
|
// wibu:1.0.87
|