Files
aragrp/app/layout.tsx
T

35 lines
910 B
TypeScript
Raw Normal View History

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";
export const metadata: Metadata = {
2025-12-15 16:08:40 +03:30
title: "فیپ",
description:
2025-12-15 16:08:40 +03:30
"فیپ یک سامانه برای ایجاد و طراحی راهکارهای مناسب برای کسب و کار شما است.",
icons: {
icon: "/assets/feep-Logo.svg",
},
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
2025-12-15 16:08:40 +03:30
<html lang="fa" dir="rtl" suppressHydrationWarning>
<body
2025-12-15 16:08:40 +03:30
className={`antialiased`}
>
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>
</body>
</html>
);
}