Files
got-gaming/app/layout.tsx

37 lines
934 B
TypeScript

import type { Metadata } from "next";
import type { ReactNode } from "react";
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: ReactNode;
}>) {
return (
<html lang="fr" className={`${orbitron.variable} ${rajdhani.variable}`}>
<body className="antialiased">
<SessionProvider>{children}</SessionProvider>
</body>
</html>
);
}