import "@/styles/globals.css"; import Header from "@/components/Header"; import Footer from "@/components/Footer"; import AuthModal from "@/components/auth/AuthModal"; import ContextProvider from "@/context/ContextProvider"; export const metadata = { title: "chessu", description: "Play Chess online.", openGraph: { title: "chessu", description: "Play Chess online.", url: "https://ches.su", siteName: "chessu", locale: "en_US", type: "website" }, robots: { index: true, follow: false, nocache: true, noarchive: true }, icons: { icon: [ { type: "image/png", sizes: "32x32", url: "/favicon-32x32.png" }, { type: "image/png", sizes: "16x16", url: "/favicon-16x16.png" } ], apple: { url: "/apple-touch-icon.png", sizes: "180x180" } }, manifest: "/site.webmanifest", metadataBase: new URL(process.env.VERCEL ? "https://ches.su" : "http://localhost:3000") }; export default function RootLayout({ children }: { children: React.ReactNode }) { return (
{children}