Files
aragrp/app/layout.tsx
T

41 lines
1.1 KiB
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";
2026-02-19 22:57:49 +03:30
const SITE_NAME = "فیپ";
const DEFAULT_DESCRIPTION =
"فیپ یک سامانه برای ایجاد و طراحی راهکارهای مناسب برای کسب و کار شما است.";
export const metadata: Metadata = {
2026-02-19 22:57:49 +03:30
title: {
default: `${SITE_NAME} | راهکارهای یکپارچه و هوشمند برای کسب‌وکار`,
template: `%s | ${SITE_NAME}`,
},
description: DEFAULT_DESCRIPTION,
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>
);
}