app-swift-bear-play/app/icon.tsx

30 lines
608 B
TypeScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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={{
fontSize: 24,
background: 'linear-gradient(90deg, #667eea 0%, #764ba2 100%)',
width: '100%',
height: '100%',
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
color: 'white',
borderRadius: '50%',
}}
>
🍽
</div>
),
{ ...size }
);
}