Files
WikiRush/app/layout.tsx
T

44 lines
1.3 KiB
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" }}>
2026-04-10 19:21:52 +02:00
<Providers>
<main className="flex-1">{children}</main>
<footer className="border-t border-[#2e2e2e] py-4 px-4 flex items-center justify-center gap-4 text-xs text-[#555]">
<span>© {new Date().getFullYear()} WikiRush</span>
<span>·</span>
<a href="/privacy" className="hover:text-[#888] transition-colors">Politique de confidentialité</a>
</footer>
</Providers>
</body>
2026-04-10 11:46:43 +02:00
</html>
);
}