49 lines
1.2 KiB
TypeScript
49 lines
1.2 KiB
TypeScript
import type { Metadata } from "next";
|
|
import { Geist, Geist_Mono, Plus_Jakarta_Sans } from "next/font/google";
|
|
import "./globals.css";
|
|
import Providers from "./components/Providers";
|
|
import EmotionRegistry from "./components/EmotionRegistry";
|
|
import { NuqsAdapter } from "nuqs/adapters/next/app";
|
|
|
|
const geistSans = Geist({
|
|
variable: "--font-geist-sans",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
const geistMono = Geist_Mono({
|
|
variable: "--font-geist-mono",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
const plusJakartaSans = Plus_Jakarta_Sans({
|
|
variable: "--font-plus-jakarta",
|
|
subsets: ["latin"],
|
|
weight: ['300', '400', '500', '600', '700', '800'],
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Portal Jurunense - Login Page",
|
|
description: "Login page for Modernize dashboard",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en">
|
|
<body
|
|
className={`${geistSans.variable} ${geistMono.variable} ${plusJakartaSans.variable} antialiased`}
|
|
>
|
|
|
|
<EmotionRegistry options={{ key: 'mui' }}>
|
|
<NuqsAdapter>
|
|
<Providers>{children}</Providers>
|
|
</NuqsAdapter>
|
|
</EmotionRegistry>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|