feat(seo): metadata API migration, canonicals, og images

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
nerandClaude Fable 5 committed 2026-08-07 17:02:20 +03:00
1 parent 8b56268430
commit 9b64f137f1
9 files changed
+71 -25

No files matched your search

+32
View File
@@ -0,0 +1,32 @@
import { ImageResponse } from 'next/og';
import { TITLE } from '@/env';
export const alt = `${TITLE} | Discover Your Next Favorite Movie`;
export const size = { width: 1200, height: 630 };
export const contentType = 'image/png';
const Image = () =>
new ImageResponse(
(
<div
style={{
width: '100%',
height: '100%',
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
justifyContent: 'center',
gap: 28,
background: 'linear-gradient(135deg, #09090b 0%, #18181b 60%, #312e38 100%)',
color: 'white'
}}
>
<div style={{ display: 'flex', alignItems: 'center', gap: 28, fontSize: 96 }}>🍿 {TITLE}</div>
<div style={{ display: 'flex', fontSize: 38, color: '#a1a1aa' }}>Discover your next favorite movie</div>
</div>
),
size
);
export default Image;