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
598 B
TypeScript
17 lines
598 B
TypeScript
import type { Metadata } from 'next'
|
|
import { HomeClient } from './client'
|
|
|
|
export const metadata: Metadata = {
|
|
title: 'World Cup 2026 — Live Scores, Groups & Stats',
|
|
description: 'Live scores, group standings, upcoming fixtures and all-time top scorers for the 2026 FIFA World Cup in USA, Canada & Mexico.',
|
|
openGraph: {
|
|
title: 'World Cup 2026 — Live Scores, Groups & Stats',
|
|
description: 'Live scores, group standings, upcoming fixtures and all-time top scorers for the 2026 FIFA World Cup.',
|
|
url: '/',
|
|
},
|
|
}
|
|
|
|
export default function HomePage() {
|
|
return <HomeClient />
|
|
}
|