init
This commit is contained in:
26
app/icon.tsx
Normal file
26
app/icon.tsx
Normal file
@@ -0,0 +1,26 @@
|
||||
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 }
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user