30 lines
766 B
TypeScript
30 lines
766 B
TypeScript
import type { Metadata } from "next";
|
|
import "./globals.css";
|
|
import { ConditionalLayout } from "@/components/conditional-layout";
|
|
import { ThemeProvider } from "@/components/theme-provider";
|
|
|
|
|
|
export const metadata: Metadata = {
|
|
title: "فیپ",
|
|
description:
|
|
"فیپ یک سامانه برای ایجاد و طراحی راهکارهای مناسب برای کسب و کار شما است.",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="fa" dir="rtl" suppressHydrationWarning>
|
|
<body
|
|
className={`antialiased`}
|
|
>
|
|
<ThemeProvider>
|
|
<ConditionalLayout>{children}</ConditionalLayout>
|
|
</ThemeProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|