36 lines
900 B
TypeScript
36 lines
900 B
TypeScript
import type { Metadata } from "next";
|
|
import { Orbitron, Rajdhani } from "next/font/google";
|
|
import "./globals.css";
|
|
import SessionProvider from "@/components/SessionProvider";
|
|
|
|
const orbitron = Orbitron({
|
|
subsets: ["latin"],
|
|
weight: ["400", "500", "600", "700", "800", "900"],
|
|
variable: "--font-orbitron",
|
|
});
|
|
|
|
const rajdhani = Rajdhani({
|
|
subsets: ["latin"],
|
|
weight: ["300", "400", "500", "600", "700"],
|
|
variable: "--font-rajdhani",
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Game of Tech - Peaksys",
|
|
description: "In a digital world of cutting-edge technology",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="fr" className={`${orbitron.variable} ${rajdhani.variable}`}>
|
|
<body className="antialiased">
|
|
<SessionProvider>{children}</SessionProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|