anjam shod

This commit is contained in:
ahmadrezabd
2025-12-15 16:08:40 +03:30
parent b36f1cc22e
commit adc5122b0a
27 changed files with 450 additions and 389 deletions
+8 -15
View File
@@ -1,22 +1,13 @@
import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google";
import "./globals.css";
import { ConditionalLayout } from "@/components/conditional-layout";
import { ThemeProvider } from "@/components/theme-provider";
const geistSans = Geist({
variable: "--font-geist-sans",
subsets: ["latin"],
});
const geistMono = Geist_Mono({
variable: "--font-geist-mono",
subsets: ["latin"],
});
export const metadata: Metadata = {
title: "کنترل پی",
title: "فیپ",
description:
"کنترل پی یک سامانه برای ایجاد و طراحی راهکارهای مناسب برای کسب و کار شما است.",
"فیپ یک سامانه برای ایجاد و طراحی راهکارهای مناسب برای کسب و کار شما است.",
};
export default function RootLayout({
@@ -25,11 +16,13 @@ export default function RootLayout({
children: React.ReactNode;
}>) {
return (
<html lang="fa" dir="rtl">
<html lang="fa" dir="rtl" suppressHydrationWarning>
<body
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
className={`antialiased`}
>
<ConditionalLayout>{children}</ConditionalLayout>
<ThemeProvider>
<ConditionalLayout>{children}</ConditionalLayout>
</ThemeProvider>
</body>
</html>
);