import type { Metadata } from "next"; import "./globals.css"; import Link from "next/link"; import { NavLink } from "@/components/NavLink"; export const metadata: Metadata = { title: { default: "Puzzle Trainer", template: "%s — Puzzle Trainer" }, description: "Entraîne-toi aux puzzles logiques chaque jour.", openGraph: { title: "Puzzle Trainer", description: "Entraîne-toi aux puzzles logiques chaque jour.", url: "https://puzzles.reverdin.eu", siteName: "Puzzle Trainer", locale: "fr_FR", type: "website", images: [{ url: "https://puzzles.reverdin.eu/opengraph-image", width: 1200, height: 630 }], }, twitter: { card: "summary_large_image", title: "Puzzle Trainer", description: "Entraîne-toi aux puzzles logiques chaque jour.", images: ["https://puzzles.reverdin.eu/opengraph-image"], }, metadataBase: new URL("https://puzzles.reverdin.eu"), manifest: "/manifest.json", themeColor: "#111827", appleWebApp: { capable: true, statusBarStyle: "default", title: "Puzzles" }, }; const GAMES = [ { href: "/queens", label: "Queens", symbol: "♛" }, { href: "/tango", label: "Tango", symbol: "☀" }, { href: "/zip", label: "Zip", symbol: "∞" }, { href: "/sudoku", label: "Sudoku", symbol: "#" }, { href: "/patches", label: "Patches", symbol: "▦" }, ]; export default function RootLayout({ children }: { children: React.ReactNode }) { return (