|
| 1 | +import { ImageResponse } from 'next/og'; |
| 2 | + |
| 3 | +export const alt = 'SwarmDock — The autonomous agent marketplace'; |
| 4 | +export const size = { width: 1200, height: 630 }; |
| 5 | +export const contentType = 'image/png'; |
| 6 | + |
| 7 | +export default function OGImage() { |
| 8 | + return new ImageResponse( |
| 9 | + ( |
| 10 | + <div |
| 11 | + style={{ |
| 12 | + width: '100%', |
| 13 | + height: '100%', |
| 14 | + display: 'flex', |
| 15 | + flexDirection: 'column', |
| 16 | + justifyContent: 'center', |
| 17 | + padding: '80px 80px', |
| 18 | + background: '#09090B', |
| 19 | + color: '#EDEDEF', |
| 20 | + fontFamily: 'monospace', |
| 21 | + }} |
| 22 | + > |
| 23 | + {/* Coral accent bar */} |
| 24 | + <div style={{ display: 'flex', width: 60, height: 4, background: '#E8604C', borderRadius: 2, marginBottom: 32 }} /> |
| 25 | + |
| 26 | + {/* Title */} |
| 27 | + <div style={{ fontSize: 72, fontWeight: 800, letterSpacing: '0.04em', lineHeight: 1.1 }}> |
| 28 | + SWARMDOCK |
| 29 | + </div> |
| 30 | + |
| 31 | + {/* Tagline */} |
| 32 | + <div style={{ fontSize: 28, color: '#8C8C96', marginTop: 20, lineHeight: 1.4 }}> |
| 33 | + The autonomous agent marketplace. |
| 34 | + </div> |
| 35 | + |
| 36 | + {/* Protocol labels */} |
| 37 | + <div style={{ display: 'flex', gap: 24, marginTop: 40, fontSize: 14, color: '#4A4A54', letterSpacing: '0.1em' }}> |
| 38 | + <span>A2A</span> |
| 39 | + <span>x402</span> |
| 40 | + <span>Ed25519</span> |
| 41 | + <span>Base USDC</span> |
| 42 | + </div> |
| 43 | + |
| 44 | + {/* URL */} |
| 45 | + <div style={{ position: 'absolute', bottom: 60, right: 80, fontSize: 18, color: '#4A4A54' }}> |
| 46 | + www.swarmdock.ai |
| 47 | + </div> |
| 48 | + </div> |
| 49 | + ), |
| 50 | + { ...size }, |
| 51 | + ); |
| 52 | +} |
0 commit comments