import { ImageResponse } from 'next/og'; import { SITE_NAME, TAGLINE } from '@/lib/site'; export const runtime = 'nodejs'; export const alt = `${SITE_NAME} — ${TAGLINE}`; export const size = { width: 1200, height: 630 }; export const contentType = 'image/png'; /** Default Open Graph image: the SatelliteIndex mark (planet + inclined ring + satellite node) on the space plane. */ export default function OpenGraphImage() { return new ImageResponse( (
Satellite Index
{TAGLINE}.
Satellites · constellations · operators · launches · debris · live SGP4 positions
www.satelliteindex.io
{[ ['LEO', '#38d3ff'], ['MEO', '#8f7dff'], ['GEO', '#f5b544'], ['HEO', '#ff7ab6'], ].map(([l, c]) => (
{l}
))}
), { ...size }, ); }