mirror of
https://github.com/arthur-pbty/moon.git
synced 2026-06-16 15:56:50 +02:00
first commit
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
import { ImageResponse } from 'next/og';
|
||||
|
||||
export const size = {
|
||||
width: 512,
|
||||
height: 512,
|
||||
};
|
||||
export const contentType = 'image/png';
|
||||
|
||||
export default function Icon() {
|
||||
return new ImageResponse(
|
||||
(
|
||||
<div
|
||||
style={{
|
||||
width: '100%',
|
||||
height: '100%',
|
||||
display: 'flex',
|
||||
justifyContent: 'center',
|
||||
alignItems: 'center',
|
||||
background: 'radial-gradient(circle at top, #2b2f77 0%, #0a0a1a 70%)',
|
||||
fontSize: 360,
|
||||
}}
|
||||
>
|
||||
🌕
|
||||
</div>
|
||||
),
|
||||
{
|
||||
...size,
|
||||
}
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user