add auth and base functions and fixed bug

This commit is contained in:
Amirhossein Mahmoodi
2024-07-09 11:28:59 +03:30
parent 6288ac926c
commit 863bdaca95
23 changed files with 592 additions and 69 deletions

View File

@@ -1,17 +1,17 @@
import {TableSettingProvider} from "@/lib/contexts/tableSetting";
import { TableSettingProvider } from "@/lib/contexts/tableSetting";
export const metadata = {
title: 'سامانه جامع راهداری',
}
export default function RootLayout({children}) {
export default function RootLayout({ children }) {
return (
<html lang="fa" dir={'rtl'}>
<body style={{height: '100vh'}}>
<TableSettingProvider>
{children}
</TableSettingProvider>
</body>
<body style={{ height: '100vh' }}>
<TableSettingProvider>
{children}
</TableSettingProvider>
</body>
</html>
)
}