Fix OG image API crash and dropdown opacity

This commit is contained in:
2026-09-22 21:04:15 +05:30
parent 217dc2f65e
commit ea03846b9c
2 changed files with 2 additions and 16 deletions

View File

@@ -70,21 +70,7 @@ export async function GET(req: NextRequest) {
padding: '70px 0',
}}
>
{/* Subtle grid background overlay */}
<div
style={{
position: 'absolute',
top: 0,
left: 0,
right: 0,
bottom: 0,
backgroundImage: `radial-gradient(circle at 2px 2px, ${gridColor} 1px, transparent 0)`,
backgroundSize: '40px 40px',
zIndex: 0,
}}
/>
<div style={{ display: 'flex', flexDirection: 'column', width: '880px', height: '100%', justifyContent: 'space-between', zIndex: 10 }}>
<div style={{ display: 'flex', flexDirection: 'column', width: '880px', height: '100%', justifyContent: 'space-between' }}>
{/* Header */}
<div style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center', width: '100%' }}>
<img src={logoUrl} width={450} height={110} style={{ objectFit: 'contain', marginLeft: '-64px' }} />