mirror of
https://github.com/arthur-pbty/moon.git
synced 2026-06-22 10:09:29 +02:00
first commit
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
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',
|
||||
justifyContent: 'center',
|
||||
alignItems: 'center',
|
||||
background: '#0a0a1a',
|
||||
fontSize: 120,
|
||||
}}
|
||||
>
|
||||
🌕
|
||||
</div>
|
||||
),
|
||||
{
|
||||
...size,
|
||||
}
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user