This commit is contained in:
parent
3e537bc05d
commit
154646a124
19 changed files with 2989 additions and 147 deletions
|
@ -1,6 +1,9 @@
|
|||
import type { Metadata } from "next";
|
||||
import { Geist, Geist_Mono } from "next/font/google";
|
||||
import "./globals.css";
|
||||
import { ColorModeProvider } from '@/context/ColorModeContext';
|
||||
import { Navbar } from '@/components/Navbar';
|
||||
import { CssBaseline } from '@mui/material';
|
||||
|
||||
const geistSans = Geist({
|
||||
variable: "--font-geist-sans",
|
||||
|
@ -13,21 +16,23 @@ const geistMono = Geist_Mono({
|
|||
});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Create Next App",
|
||||
description: "Generated by create next app",
|
||||
title: "Logica - Jeux de Logique",
|
||||
description: "Collection de jeux de logique et de réflexion",
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
}) {
|
||||
return (
|
||||
<html lang="en">
|
||||
<body
|
||||
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
|
||||
>
|
||||
{children}
|
||||
<html lang="fr">
|
||||
<body>
|
||||
<ColorModeProvider>
|
||||
<CssBaseline />
|
||||
<Navbar />
|
||||
{children}
|
||||
</ColorModeProvider>
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue