52 lines
1.2 KiB
TypeScript
52 lines
1.2 KiB
TypeScript
import type { Metadata } from "next";
|
|
import { Geist, Geist_Mono, Noto_Sans_Devanagari } from "next/font/google";
|
|
|
|
import { Providers } from "@/components/providers";
|
|
import { DEFAULT_LANGUAGE } from "@/i18n/language";
|
|
import "./globals.css";
|
|
|
|
const geistSans = Geist({
|
|
variable: "--font-geist-sans",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
const geistMono = Geist_Mono({
|
|
variable: "--font-geist-mono",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
const notoSansDevanagari = Noto_Sans_Devanagari({
|
|
variable: "--font-noto-sans-devanagari",
|
|
subsets: ["devanagari", "latin"],
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Lottery",
|
|
description: "Lottery player",
|
|
};
|
|
|
|
export const viewport = {
|
|
width: "device-width",
|
|
initialScale: 1,
|
|
maximumScale: 1,
|
|
userScalable: false,
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html
|
|
lang={DEFAULT_LANGUAGE}
|
|
suppressHydrationWarning
|
|
className={`${geistSans.variable} ${geistMono.variable} ${notoSansDevanagari.variable} min-h-full antialiased`}
|
|
>
|
|
<body className="min-h-full">
|
|
<Providers>{children}</Providers>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|