- Added security headers in the Next.js configuration to enhance application security. - Updated metadata in the layout component for improved SEO, including new titles, descriptions, and keywords. - Introduced JSON-LD schema for projects to enhance search engine visibility. - Enhanced project descriptions in the portfolio data for clarity and detail. - Improved header component with logo integration and refined social media links for better accessibility.
52 lines
1.1 KiB
TypeScript
52 lines
1.1 KiB
TypeScript
import { ImageResponse } from 'next/og'
|
|
|
|
export const runtime = 'edge'
|
|
export const alt = 'Evandro Fonseca Junior - Full Stack Developer'
|
|
export const size = {
|
|
width: 1200,
|
|
height: 630,
|
|
}
|
|
export const contentType = 'image/png'
|
|
|
|
export default async function Image() {
|
|
return new ImageResponse(
|
|
(
|
|
<div
|
|
style={{
|
|
background: '#030712',
|
|
width: '100%',
|
|
height: '100%',
|
|
display: 'flex',
|
|
flexDirection: 'column',
|
|
alignItems: 'center',
|
|
justifyContent: 'center',
|
|
color: 'white',
|
|
fontFamily: 'system-ui',
|
|
}}
|
|
>
|
|
<div
|
|
style={{
|
|
fontSize: 64,
|
|
fontWeight: 'bold',
|
|
marginBottom: 20,
|
|
textAlign: 'center',
|
|
}}
|
|
>
|
|
Evandro Fonseca Junior
|
|
</div>
|
|
<div
|
|
style={{
|
|
fontSize: 32,
|
|
color: '#3b82f6',
|
|
marginTop: 10,
|
|
textAlign: 'center',
|
|
}}
|
|
>
|
|
Desenvolvedor Full-Stack
|
|
</div>
|
|
</div>
|
|
),
|
|
{ ...size }
|
|
)
|
|
}
|