41 lines
958 B
TypeScript
41 lines
958 B
TypeScript
import type { Metadata } from "next";
|
|
import { Geist, Geist_Mono } from "next/font/google";
|
|
import "./globals.css";
|
|
import "react-toastify/dist/ReactToastify.css";
|
|
import Providers from "@/contexts/AppProvider";
|
|
|
|
const geistSans = Geist({
|
|
variable: "--font-geist-sans",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
const geistMono = Geist_Mono({
|
|
variable: "--font-geist-mono",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Core BIM tedi",
|
|
description: "Generated by create next app",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
// <html
|
|
// lang="en"
|
|
// className={`${geistSans.variable} ${geistMono.variable} h-full antialiased`}
|
|
// >
|
|
// <body className="min-h-full flex flex-col">{children}</body>
|
|
// </html>
|
|
<html lang="vi" suppressHydrationWarning>
|
|
<body>
|
|
<Providers>{children}</Providers>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|