import { BG_IMAGE_BASE_64, loadGoogleFont } from '../../lib/utils'; import { ImageResponse } from 'next/og'; interface Props { children: React.ReactElement; } export const size = { width: 1200, height: 630, }; export const contentType = 'image/png'; export default async function OpenGraphCard(props: Props) { return new ImageResponse( (
{props.children}

semble.so

), { fonts: [ { name: 'Hanken Grotesk', data: await loadGoogleFont('Hanken Grotesk'), style: 'normal', }, ], }, ); }