style(api): Remove NewsCard badge and footer date from generated word export as requested

This commit is contained in:
AI Bot 2026-08-23 23:50:22 -05:00
parent f25064faf4
commit ec2bd9528e

View File

@ -133,18 +133,10 @@ export async function GET(request: Request) {
<span style={{ color: '#475569', fontSize: 24, fontWeight: 900, textTransform: 'uppercase', letterSpacing: 4 }}>Almeira Web</span>
</div>
)}
<div style={{ position: 'absolute', top: 16, left: 16, display: 'flex' }}>
<span style={{ padding: '6px 12px', borderRadius: 9999, fontSize: 12, fontWeight: 'bold', letterSpacing: 1, backgroundColor: 'rgba(0,0,0,0.6)', color: '#67e8f9', border: '1px solid rgba(255,255,255,0.2)' }}>
NOTICIA
</span>
</div>
</div>
<div style={{ display: 'flex', flexDirection: 'column', padding: 24, flexGrow: 1 }}>
<h3 style={{ fontSize: 24, fontWeight: 'bold', margin: '0 0 12px 0', lineHeight: 1.3, color: 'white' }}>{post.titulo || 'Sin título'}</h3>
<p style={{ fontSize: 16, color: '#94a3b8', margin: '0 0 24px 0', lineHeight: 1.6 }}>{safeResumen}</p>
<div style={{ marginTop: 'auto', paddingTop: 20, borderTop: '1px solid rgba(255,255,255,0.1)', display: 'flex', alignItems: 'center' }}>
<span style={{ color: '#06b6d4', fontSize: 12, fontWeight: 'bold', textTransform: 'uppercase', letterSpacing: 1 }}>{fechaFormat}</span>
</div>
<p style={{ fontSize: 16, color: '#94a3b8', margin: 0, lineHeight: 1.6 }}>{safeResumen}</p>
</div>
</div>
),