import { ImageResponse } from 'next/og'; export const runtime = 'edge'; export const alt = 'AgentCraft — Assign sounds to AI coding agent lifecycle events'; export const size = { width: 1200, height: 630 }; export const contentType = 'image/png'; export default function OGImage() { const bars = [4, 7, 5, 9, 6, 10, 7, 8, 5, 9, 6, 8, 4, 7, 5, 8]; const maxH = 120; return new ImageResponse( (
{/* Top border accent */}
{/* Grid overlay */}
{/* Waveform */}
{bars.map((v, i) => (
))}
{/* Title */}
AGENTCRAFT
{/* Subtitle */}
AUDIO ASSIGNMENT TERMINAL
{/* Tag line */}
CLAUDE CODE · OPENCODE · AI LIFECYCLE HOOKS
{/* Bottom border */}
), { ...size } ); }