2025-12-03 16:48:15 +03:30
|
|
|
import type { Metadata } from "next";
|
|
|
|
|
import "./globals.css";
|
|
|
|
|
import { ConditionalLayout } from "@/components/conditional-layout";
|
2025-12-15 16:08:40 +03:30
|
|
|
import { ThemeProvider } from "@/components/theme-provider";
|
2026-02-05 19:58:48 +03:30
|
|
|
import { TopProgressBar } from "@/components/top-progress-bar";
|
2025-12-03 16:48:15 +03:30
|
|
|
|
|
|
|
|
|
|
|
|
|
export const metadata: Metadata = {
|
2025-12-15 16:08:40 +03:30
|
|
|
title: "فیپ",
|
2025-12-03 16:48:15 +03:30
|
|
|
description:
|
2025-12-15 16:08:40 +03:30
|
|
|
"فیپ یک سامانه برای ایجاد و طراحی راهکارهای مناسب برای کسب و کار شما است.",
|
2026-02-05 17:58:28 +03:30
|
|
|
icons: {
|
|
|
|
|
icon: "/assets/feep-Logo.svg",
|
|
|
|
|
},
|
2025-12-03 16:48:15 +03:30
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default function RootLayout({
|
|
|
|
|
children,
|
|
|
|
|
}: Readonly<{
|
|
|
|
|
children: React.ReactNode;
|
|
|
|
|
}>) {
|
|
|
|
|
return (
|
2025-12-15 16:08:40 +03:30
|
|
|
<html lang="fa" dir="rtl" suppressHydrationWarning>
|
2025-12-03 16:48:15 +03:30
|
|
|
<body
|
2025-12-15 16:08:40 +03:30
|
|
|
className={`antialiased`}
|
2025-12-03 16:48:15 +03:30
|
|
|
>
|
2025-12-15 16:08:40 +03:30
|
|
|
<ThemeProvider>
|
2026-02-05 19:58:48 +03:30
|
|
|
<TopProgressBar />
|
2025-12-15 16:08:40 +03:30
|
|
|
<ConditionalLayout>{children}</ConditionalLayout>
|
|
|
|
|
</ThemeProvider>
|
2025-12-03 16:48:15 +03:30
|
|
|
</body>
|
|
|
|
|
</html>
|
|
|
|
|
);
|
|
|
|
|
}
|