'use client' import type { StructuredGrid } from './types' const KLAUSUR_API = '/klausur-api' interface GridImageOverlayProps { sessionId: string grid: StructuredGrid } const ZONE_COLORS = [ { border: 'rgba(20,184,166,0.7)', fill: 'rgba(20,184,166,0.05)' }, // teal { border: 'rgba(245,158,11,0.7)', fill: 'rgba(245,158,11,0.05)' }, // amber { border: 'rgba(99,102,241,0.7)', fill: 'rgba(99,102,241,0.05)' }, // indigo { border: 'rgba(236,72,153,0.7)', fill: 'rgba(236,72,153,0.05)' }, // pink ] export function GridImageOverlay({ sessionId, grid }: GridImageOverlayProps) { const imgUrl = `${KLAUSUR_API}/api/v1/ocr-pipeline/sessions/${sessionId}/image/cropped` return (