Fix Vercel OG Satori layout error caused by multiple JSX text children

This commit is contained in:
2026-09-22 19:09:18 +05:30
parent 8061ca2608
commit 1279999078

View File

@@ -74,8 +74,8 @@ export async function GET(req: NextRequest) {
<div style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'flex-end', width: '100%', marginTop: 20 }}>
<div style={{ display: 'flex', flexDirection: 'column' }}>
<div style={{ fontSize: 24, fontWeight: 800 }}>{name}</div>
<div style={{ fontSize: 18, color: 'rgba(255,255,255,0.7)', marginTop: 8 }}>{plan} Plan</div>
<div style={{ fontSize: 18, color: '#06b6d4', marginTop: 4 }}>{target} Aspirant</div>
<div style={{ fontSize: 18, color: 'rgba(255,255,255,0.7)', marginTop: 8 }}>{`${plan} Plan`}</div>
<div style={{ fontSize: 18, color: '#06b6d4', marginTop: 4 }}>{`${target} Aspirant`}</div>
</div>
<div style={{ fontSize: 18, color: 'rgba(255,255,255,0.5)', letterSpacing: '0.05em' }}>
contact@pragativeer.com