first commit
This commit is contained in:
28
apps/frontend/app/icon.tsx
Normal file
28
apps/frontend/app/icon.tsx
Normal file
@@ -0,0 +1,28 @@
|
||||
import { ImageResponse } from 'next/og';
|
||||
|
||||
export const size = { width: 32, height: 32 };
|
||||
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: 'linear-gradient(135deg, #6f58ff, #ffd2a8)',
|
||||
borderRadius: 8,
|
||||
color: 'white',
|
||||
fontSize: 14,
|
||||
fontWeight: 700
|
||||
}}
|
||||
>
|
||||
ID
|
||||
</div>
|
||||
),
|
||||
size
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user