{/* Top row: avatar + identity block */}
{profile.avatar_url ? (

) : (
{initialsFor(profile.name)}
)}
{displayName}
@{profile.handle}
{stats ? (
{stats}
) : null}
{/* Footer: branding */}
Read quotes shared on
prabhupadasays.org
),
{
width: 1200,
height: 630,
fonts: [
{
name: "Noto Sans",
data: fonts.regular,
style: "normal" as const,
weight: 400,
},
{
name: "Noto Sans",
data: fonts.bold,
style: "normal" as const,
weight: 700,
},
],
},
);
} catch (e) {
console.error("Profile OG image generation failed:", e);
return new Response("Failed to generate OG image", { status: 500 });
}
}