import { ImageResponse } from 'next/og'; import { getTranslations } from 'next-intl/server'; export const runtime = 'edge'; export default async function Image({ params: { locale } }: { params: { locale: string } }) { const t = await getTranslations({ locale, namespace: 'Index.meta' }); return new ImageResponse( (
{/* Background Pattern / Scribble placeholder */}
KLZ Cables
{t('title')}
{t('description')}
{/* Bottom Accent Line */}
), { width: 1200, height: 630, } ); }