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>
13 lines
329 B
TypeScript
13 lines
329 B
TypeScript
import type { Metadata } from 'next'
|
|
import { SearchClient } from './client'
|
|
|
|
export const metadata: Metadata = {
|
|
title: 'Search',
|
|
description: 'Search for teams, players, tournaments and stadiums across all FIFA World Cups.',
|
|
robots: { index: false },
|
|
}
|
|
|
|
export default function SearchPage() {
|
|
return <SearchClient />
|
|
}
|