Files

40 lines
1.2 KiB
TypeScript
Raw Permalink 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";
const SITE_NAME = "امین رایان";
const SITE_TITLE =
"شرکت امین رایان بهترین؛ شرکت طراحی سایت و سئو در اصفهان";
2026-02-19 22:57:49 +03:30
const DEFAULT_DESCRIPTION =
"امین رایان؛ شرکت طراحی سایت و سئو در اصفهان. طراحی وب‌سایت حرفه‌ای و بهینه‌سازی موتورهای جستجو برای رشد کسب‌وکار شما.";
2026-02-19 22:57:49 +03:30
export const metadata: Metadata = {
2026-02-19 22:57:49 +03:30
title: {
default: SITE_TITLE,
2026-02-19 22:57:49 +03:30
template: `%s | ${SITE_NAME}`,
},
description: DEFAULT_DESCRIPTION,
icons: {
icon: "/favicon.ico",
},
};
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 className="antialiased">
2025-12-15 16:08:40 +03:30
<ThemeProvider>
2026-02-05 19:58:48 +03:30
<TopProgressBar />
<ConditionalLayout>{children}</ConditionalLayout>
2025-12-15 16:08:40 +03:30
</ThemeProvider>
</body>
</html>
);
}