32 lines
822 B
TypeScript
32 lines
822 B
TypeScript
import type { Metadata } from "next";
|
|
import { Inter } from "next/font/google";
|
|
import "./globals.css";
|
|
import Provider from "../lib/ReactQuery/Provider";
|
|
import { Toaster } from "@/components/ui/sonner";
|
|
|
|
const inter = Inter({ subsets: ["latin"] });
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Create Next App",
|
|
description: "Generated by create next app",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html dir="rtl" lang="fa">
|
|
<body className="font-[yekan]">
|
|
<Provider>
|
|
<div className=" bg-[#F6C507] bg-blend-lighten min-w-screen w-screen min-h-screen flex justify-center items-center pb-20">
|
|
{children}
|
|
</div>
|
|
</Provider>
|
|
<Toaster richColors />
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|