SPB Git forge

spb/ai-atlas

Public
41commits 1branches 0releases
4.6 MBsize
maindefault branch
12 days agolast push
HTML 77.2% TypeScript 10.5% Python 9.6% JavaScript 2.5%
675 B · 18 lines tsx
Raw Blame History
1import { ImageResponse } from 'next/og';2import { MARK_DARK, MarkImg } from '@/components/brand/mark';34/** 180×180 PNG: the atlas-plate mark on the dark canvas (iOS applies its own corner mask, so the plate fills the tile). */5export const size = { width: 180, height: 180 };6export const contentType = 'image/png';78export default function AppleIcon() {9  return new ImageResponse(10    (11      <div style={{ width: 180, height: 180, display: 'flex', alignItems: 'center', justifyContent: 'center', background: MARK_DARK.plate }}>12        <MarkImg px={180} colors={{ ...MARK_DARK, plate: '#12151b' }} radius={34 / (180 / 32)} />13      </div>14    ),15    { ...size },16  );17}18