a494c80a76
- Split all page.tsx files into server wrapper (metadata export) + client.tsx (Apollo/interactive) - Add robots.ts and sitemap.ts (tournaments, teams, players) - Add metadataBase, OpenGraph and Twitter card metadata to root layout - Replace hardcoded worldcup.pivoine.art with NEXT_PUBLIC_SITE_URL env var (sitemap/robots) and relative paths (page metadata, resolved by Next.js against metadataBase) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
17 lines
530 B
TypeScript
17 lines
530 B
TypeScript
import type { Metadata } from 'next'
|
||
import { HistoryClient } from './client'
|
||
|
||
export const metadata: Metadata = {
|
||
title: 'Tournament History',
|
||
description: 'Every FIFA World Cup from Uruguay 1930 to USA/Canada/Mexico 2026 — hosts, winners, and key statistics.',
|
||
openGraph: {
|
||
title: 'FIFA World Cup Tournament History (1930–2026)',
|
||
description: 'Every FIFA World Cup from Uruguay 1930 to USA/Canada/Mexico 2026.',
|
||
url: '/history',
|
||
},
|
||
}
|
||
|
||
export default function HistoryPage() {
|
||
return <HistoryClient />
|
||
}
|