Files
WikiRush/app/layout.tsx
T
jessy-david-dev 47b8de0b67 feat: add about page, global stats counter, and blitz screen updates
- Create about page with game modes, technologies, and paliers
- Add stats API endpoint for global game counter
- Update home screen with emoji-based tier system (🌱-🚀)
- Rewrite BlitzScreen to match new puzzle-based win/lose phases
- Add simple-icons package for tech stack icons
- Update metadata with wikirush.xyz domain
- Fix em dashes to hyphens throughout codebase
- Update footer with privacy and about links
2026-04-10 22:26:24 +02:00

55 lines
1.7 KiB
TypeScript

import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google";
import "./globals.css";
import { Providers } from "./components/Providers";
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 !",
metadataBase: new URL("https://wikirush.xyz"),
openGraph: {
title: "WikiRush",
description: "Navigue entre les articles Wikipedia pour atteindre la cible en premier !",
url: "https://wikirush.xyz",
siteName: "WikiRush",
locale: "fr_FR",
type: "website",
},
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html
lang="fr"
className={`${geistSans.variable} ${geistMono.variable} h-full antialiased`}
>
<body className="min-h-full flex flex-col" style={{ background: "#0f0f0f", color: "#f0f0f0" }}>
<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>
<span>·</span>
<a href="/about" className="hover:text-[#888] transition-colors">À propos</a>
</footer>
</Providers>
</body>
</html>
);
}