30 lines
667 B
TypeScript
30 lines
667 B
TypeScript
import { ImageResponse } from "next/og";
|
|
|
|
export const size = { width: 512, height: 512 };
|
|
export const contentType = "image/png";
|
|
|
|
// Fallback-Favicon im Markenstil (Next verlinkt es automatisch als <link rel="icon">).
|
|
export default function Icon() {
|
|
return new ImageResponse(
|
|
(
|
|
<div
|
|
style={{
|
|
width: "100%",
|
|
height: "100%",
|
|
display: "flex",
|
|
alignItems: "center",
|
|
justifyContent: "center",
|
|
background: "#18212f",
|
|
color: "#f97316",
|
|
fontSize: 340,
|
|
fontWeight: 900,
|
|
borderRadius: 96,
|
|
}}
|
|
>
|
|
M
|
|
</div>
|
|
),
|
|
size
|
|
);
|
|
}
|