first commit
This commit is contained in:
1 parent
2e6f1c7e66
commit
95bf469f86
85 files changed
+6698
-332
No files matched your search
@@ -0,0 +1,40 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Inter } from "next/font/google";
|
||||
import "../globals.css";
|
||||
import localFont from 'next/font/local'
|
||||
import ReactQueryProvider from "@/providers/react_query";
|
||||
import TopMenu from "@/components/main/topmenu";
|
||||
|
||||
|
||||
const inter = Inter({ subsets: ["latin"] });
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "باشگاه مجریان لوله گستر گلپایگان",
|
||||
description: "باشگاه مجریان",
|
||||
};
|
||||
|
||||
const myFont = localFont({
|
||||
src: '../fonts/woff2/IRANSansX-Regular.woff2',
|
||||
display: 'swap',
|
||||
})
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
return (
|
||||
<html lang="fa" dir="rtl" className={myFont.className}>
|
||||
<body>
|
||||
<ReactQueryProvider>
|
||||
|
||||
<div className="bg-gray-200 flex flex-col m-auto">
|
||||
<TopMenu />
|
||||
{children}
|
||||
</div>
|
||||
|
||||
</ReactQueryProvider>
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user