All checks were successful
Deploy with Docker Compose / deploy (push) Successful in 2m36s
41 lines
1.1 KiB
TypeScript
41 lines
1.1 KiB
TypeScript
import type { Metadata } from "next";
|
|
import { Geist, Geist_Mono } from "next/font/google";
|
|
import { Header } from "@/components/Header";
|
|
import { ThemeProvider } from "@/components/ThemeProvider";
|
|
import { SessionProvider } from "@/components/SessionProvider";
|
|
import "./globals.css";
|
|
|
|
const geistSans = Geist({
|
|
variable: "--font-geist-sans",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
const geistMono = Geist_Mono({
|
|
variable: "--font-geist-mono",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Évaluateur Maturité IA Gen",
|
|
description: "Outil d'évaluation de la maturité IA Gen par Peaksys",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="fr" suppressHydrationWarning>
|
|
<body className={`${geistSans.variable} ${geistMono.variable} min-h-screen bg-zinc-100 text-zinc-900 dark:bg-zinc-950 dark:text-zinc-50 antialiased`}>
|
|
<SessionProvider>
|
|
<ThemeProvider>
|
|
<Header />
|
|
<main className="mx-auto max-w-5xl px-4 py-6">{children}</main>
|
|
</ThemeProvider>
|
|
</SessionProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|