Files
WikiRush/app/layout.tsx
T

37 lines
930 B
TypeScript
Raw Normal View History

2026-04-10 11:46:43 +02:00
import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google";
import "./globals.css";
import { Providers } from "./components/Providers";
2026-04-10 11:46:43 +02:00
const geistSans = Geist({
variable: "--font-geist-sans",
subsets: ["latin"],
});
const geistMono = Geist_Mono({
variable: "--font-geist-mono",
subsets: ["latin"],
});
export const metadata: Metadata = {
title: "WikiRush - Jeu de navigation Wikipedia",
description: "Navigue entre les articles Wikipedia pour atteindre la cible en premier !",
2026-04-10 11:46:43 +02:00
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html
lang="fr"
2026-04-10 11:46:43 +02:00
className={`${geistSans.variable} ${geistMono.variable} h-full antialiased`}
>
<body className="min-h-full flex flex-col" style={{ background: "#0f0f0f", color: "#f0f0f0" }}>
<Providers>{children}</Providers>
</body>
2026-04-10 11:46:43 +02:00
</html>
);
}