27 lines
535 B
TypeScript
27 lines
535 B
TypeScript
import { ImageResponse } from "next/og";
|
|
|
|
export const size = { width: 64, height: 64 };
|
|
export const contentType = "image/png";
|
|
|
|
export default function Icon() {
|
|
return new ImageResponse(
|
|
(
|
|
<div
|
|
style={{
|
|
width: "100%",
|
|
height: "100%",
|
|
display: "flex",
|
|
alignItems: "center",
|
|
justifyContent: "center",
|
|
background: "#0a0e1a",
|
|
borderRadius: "14px",
|
|
fontSize: 44,
|
|
}}
|
|
>
|
|
🦞
|
|
</div>
|
|
),
|
|
{ ...size }
|
|
);
|
|
}
|