Files
valknar a494c80a76 feat: SEO enhancements — server metadata, sitemap, robots, dynamic base URL
- 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>
2026-06-15 20:18:36 +02:00

17 lines
553 B
TypeScript

import type { Metadata } from 'next'
import { StatsClient } from './client'
export const metadata: Metadata = {
title: 'All-Time Statistics',
description: 'All-time FIFA World Cup statistics: top scorers, hat-tricks, penalty records, biggest victories, and goals by tournament from 1930 to 2026.',
openGraph: {
title: 'FIFA World Cup All-Time Statistics',
description: 'All-time World Cup statistics: top scorers, hat-tricks, records and more.',
url: '/stats',
},
}
export default function StatsPage() {
return <StatsClient />
}