import { ImageResponse } from "next/og"; import { site } from "@/lib/content"; import { buildSpiral } from "@/lib/spiral"; export const alt = `${site.brand.name} — ${site.brand.tagline}`; export const size = { width: 1200, height: 630 }; export const contentType = "image/png"; export default function OpenGraphImage() { const { squares, path, bbox } = buildSpiral(8); return new ImageResponse(
{site.brand.name}
{site.brand.tagline}
{site.seo.defaultDescription}
{squares.map((s, i) => ( ))}
, size, ); }