Fix OG image API crash and dropdown opacity
This commit is contained in:
@@ -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' }} />
|
||||
|
||||
Reference in New Issue
Block a user