25 lines
613 B
TypeScript
25 lines
613 B
TypeScript
import { ImageResponse } from "next/og";
|
|
|
|
export const size = { width: 180, height: 180 };
|
|
export const contentType = "image/png";
|
|
|
|
export default function AppleIcon() {
|
|
return new ImageResponse(
|
|
(
|
|
<div
|
|
style={{
|
|
width: "100%",
|
|
height: "100%",
|
|
display: "flex",
|
|
alignItems: "center",
|
|
justifyContent: "center",
|
|
background: "linear-gradient(145deg, #111827 0%, #1e3a5f 100%)",
|
|
borderRadius: "22%",
|
|
}}
|
|
>
|
|
<span style={{ fontSize: 108, lineHeight: 1 }}>🧩</span>
|
|
</div>
|
|
),
|
|
{ ...size }
|
|
);
|
|
}
|