first commit
This commit is contained in:
1 parent
b27f4f2f23
commit
db10146ecd
58 files changed
+3684
-202
No files matched your search
@@ -1,6 +1,8 @@
|
||||
import '../globals.css'
|
||||
import type { Metadata } from 'next'
|
||||
import { Inter } from 'next/font/google'
|
||||
import ReduxProvider from '../redux/provider'
|
||||
import localFont from 'next/font/local'
|
||||
|
||||
const inter = Inter({ subsets: ['latin'] })
|
||||
|
||||
@@ -9,16 +11,23 @@ export const metadata: Metadata = {
|
||||
description: 'Perfect CRM software',
|
||||
}
|
||||
|
||||
const myFont = localFont({
|
||||
src: './fonts/woff2/IRANSansX-Regular.woff2',
|
||||
display: 'swap',
|
||||
})
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: {
|
||||
children: React.ReactNode
|
||||
}) {
|
||||
return (
|
||||
<html lang="fa" dir='rtl'>
|
||||
<html lang="fa" dir='rtl' className={myFont.className}>
|
||||
<body>
|
||||
<div className="flex bg-slate-200 h-screen items-center">
|
||||
{children}
|
||||
<ReduxProvider>
|
||||
{children}
|
||||
</ReduxProvider>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in new issue
Block a user