Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
19 lines
771 B
TypeScript
19 lines
771 B
TypeScript
import { ImageResponse } from 'next/og';
|
|
|
|
export const size = { width: 180, height: 180 };
|
|
export const contentType = 'image/png';
|
|
|
|
/** Иконка для iOS и для логотипа в выдаче: тот же знак, что в шапке сайта */
|
|
export default function AppleIcon() {
|
|
return new ImageResponse(
|
|
(
|
|
<div style={{ width: '100%', height: '100%', background: '#4A1028', display: 'flex', alignItems: 'center', justifyContent: 'center' }}>
|
|
<svg width="124" height="124" viewBox="0 0 24 24" fill="none" stroke="#F6C3D3" strokeWidth="2.4" strokeLinecap="round" strokeLinejoin="round">
|
|
<path d="M12 21.5a9.5 9.5 0 1 0 0-19 9.5 9.5 0 0 0 0 19zM8 12.5l2.6 2.6L16 9.5" />
|
|
</svg>
|
|
</div>
|
|
),
|
|
size,
|
|
);
|
|
}
|