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,
    }
  );
}
