import { ImageResponse } from "next/og"; import { type NextRequest } from "next/server"; export const runtime = "edge"; export async function GET(request: NextRequest) { const { searchParams } = request.nextUrl; const title = searchParams.get("title") || "Belgian Bitcoin Embassy"; const type = searchParams.get("type") || "default"; const subtitle = searchParams.get("subtitle") || (type === "blog" ? "Blog" : type === "event" ? "Event" : "Bitcoin Meetups & Education in Belgium"); return new ImageResponse( (