65 lines
1.4 KiB
TypeScript
65 lines
1.4 KiB
TypeScript
import type { Metadata } from "next";
|
|
import { Fredoka, Geist, Geist_Mono, Press_Start_2P, VT323 } from "next/font/google";
|
|
import "./globals.css";
|
|
|
|
const geistSans = Geist({
|
|
variable: "--font-geist-sans",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
const geistMono = Geist_Mono({
|
|
variable: "--font-geist-mono",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
const fredoka = Fredoka({
|
|
variable: "--font-fredoka",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
const pressStart = Press_Start_2P({
|
|
variable: "--font-pixel",
|
|
subsets: ["latin"],
|
|
weight: "400",
|
|
});
|
|
|
|
const vt323 = VT323({
|
|
variable: "--font-retro",
|
|
subsets: ["latin"],
|
|
weight: "400",
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Le serveur de Leon",
|
|
description: "Streaming, Minecraft et services privés de Leon.",
|
|
robots: {
|
|
index: false,
|
|
follow: false,
|
|
nocache: true,
|
|
googleBot: {
|
|
index: false,
|
|
follow: false,
|
|
noimageindex: true,
|
|
"max-image-preview": "none",
|
|
"max-snippet": 0,
|
|
"max-video-preview": 0,
|
|
},
|
|
},
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html
|
|
lang="fr"
|
|
data-scroll-behavior="smooth"
|
|
className={`${geistSans.variable} ${geistMono.variable} ${fredoka.variable} ${pressStart.variable} ${vt323.variable} h-full antialiased`}
|
|
>
|
|
<body className="min-h-full flex flex-col">{children}</body>
|
|
</html>
|
|
);
|
|
}
|