30 lines
733 B
TypeScript
30 lines
733 B
TypeScript
import type { Metadata } from "next";
|
|
import { Vazirmatn } from "next/font/google";
|
|
import { Providers } from "@/components/Providers";
|
|
import "./globals.css";
|
|
|
|
const vazir = Vazirmatn({
|
|
variable: "--font-vazir",
|
|
subsets: ["arabic", "latin"],
|
|
display: "swap",
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: "پنل مدیریت آرام جان",
|
|
description: "پنل مدیریت محتوای اپلیکیشن آرام جان",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="fa" dir="rtl" className={`${vazir.variable} h-full`}>
|
|
<body className="min-h-full">
|
|
<Providers>{children}</Providers>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|