Initial commit: Next.js project with Persian content and custom styling

This commit is contained in:
ahmadrezabd
2025-12-03 16:48:15 +03:30
commit 242161dcdb
115 changed files with 21920 additions and 0 deletions
+36
View File
@@ -0,0 +1,36 @@
import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google";
import "./globals.css";
import { ConditionalLayout } from "@/components/conditional-layout";
const geistSans = Geist({
variable: "--font-geist-sans",
subsets: ["latin"],
});
const geistMono = Geist_Mono({
variable: "--font-geist-mono",
subsets: ["latin"],
});
export const metadata: Metadata = {
title: "کنترل پی",
description:
"کنترل پی یک سامانه برای ایجاد و طراحی راهکارهای مناسب برای کسب و کار شما است.",
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="fa" dir="rtl">
<body
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
>
<ConditionalLayout>{children}</ConditionalLayout>
</body>
</html>
);
}