mirror of
https://github.com/fabrice404/olympics-calendar.git
synced 2026-02-14 20:49:04 +00:00
44 lines
940 B
TypeScript
44 lines
940 B
TypeScript
import type { Metadata } from "next";
|
|
import { Geist, Geist_Mono, DM_Sans } from "next/font/google";
|
|
import "./globals.css";
|
|
import Head from "next/head";
|
|
|
|
const geistSans = Geist({
|
|
variable: "--font-geist-sans",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
const geistMono = Geist_Mono({
|
|
variable: "--font-geist-mono",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
const dmSans = DM_Sans({
|
|
variable: "--font-dm-sans",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Milano Cortina 2026 Winter Olympics Calendar",
|
|
description: "Made with ❤️ by Fabrice Lamant",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html data-theme="winter">
|
|
<Head>
|
|
<link rel="icon" href="/favicon.ico" sizes="any" />
|
|
</Head>
|
|
<body
|
|
className={`${geistSans.variable} ${dmSans.className} antialiased`}
|
|
>
|
|
{children}
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|