/* eslint-disable @next/next/no-img-element */ /* eslint-disable jsx-a11y/alt-text */ import { SVGProps } from "react" export const size = { width: 1200, height: 630, } function Logo(props: SVGProps) { return ( ) } function ThunderIcon(props: SVGProps) { return ( ) } export interface OpenGraphImageProps { backgroundSrc: ArrayBuffer title?: string category?: string description?: string | null } export function OpenGraphImage({ title, category, backgroundSrc, description, }: OpenGraphImageProps) { return (
{category ? (
{category}
) : (
)}
{title}
{description ? (
{description.length > 120 ? `${description.slice(0, 120)}...` : description}
) : null}
) }