Fix Vercel OG Satori layout error caused by multiple JSX text children
This commit is contained in:
@@ -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', justifyContent: 'space-between', alignItems: 'flex-end', width: '100%', marginTop: 20 }}>
|
||||||
<div style={{ display: 'flex', flexDirection: 'column' }}>
|
<div style={{ display: 'flex', flexDirection: 'column' }}>
|
||||||
<div style={{ fontSize: 24, fontWeight: 800 }}>{name}</div>
|
<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: '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: '#06b6d4', marginTop: 4 }}>{`${target} Aspirant`}</div>
|
||||||
</div>
|
</div>
|
||||||
<div style={{ fontSize: 18, color: 'rgba(255,255,255,0.5)', letterSpacing: '0.05em' }}>
|
<div style={{ fontSize: 18, color: 'rgba(255,255,255,0.5)', letterSpacing: '0.05em' }}>
|
||||||
contact@pragativeer.com
|
contact@pragativeer.com
|
||||||
|
|||||||
Reference in New Issue
Block a user