All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 2m19s
47 lines
1.1 KiB
TypeScript
47 lines
1.1 KiB
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/layout/SessionProvider";
|
|
import { ThemeProvider } from "@/contexts/ThemeContext";
|
|
import Footer from "@/components/layout/Footer";
|
|
|
|
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} dark-cyan`}
|
|
>
|
|
<body className="antialiased">
|
|
<ThemeProvider>
|
|
<SessionProvider>
|
|
{children}
|
|
<Footer />
|
|
</SessionProvider>
|
|
</ThemeProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|