-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #640 from idurar/dev
3.0.0-beta.1
- Loading branch information
Showing
13 changed files
with
362 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,23 @@ | ||
import React from 'react'; | ||
|
||
import ErpContextLayout from '../ErpContextLayout'; | ||
import { ErpContextProvider } from '@/context/erp'; | ||
|
||
import { Layout } from 'antd'; | ||
|
||
const { Content } = Layout; | ||
|
||
export default function ErpLayout({ children, config }) { | ||
export default function ErpLayout({ children }) { | ||
return ( | ||
<ErpContextLayout> | ||
<Layout className="site-layout"> | ||
<Content | ||
className="whiteBox shadow layoutPadding" | ||
style={{ | ||
margin: '30px auto', | ||
width: '100%', | ||
maxWidth: '1100px', | ||
minHeight: '600px', | ||
}} | ||
> | ||
{children} | ||
</Content> | ||
</Layout> | ||
</ErpContextLayout> | ||
<ErpContextProvider> | ||
<Content | ||
className="whiteBox shadow layoutPadding" | ||
style={{ | ||
margin: '30px auto', | ||
width: '100%', | ||
maxWidth: '1100px', | ||
minHeight: '600px', | ||
}} | ||
> | ||
{children} | ||
</Content> | ||
</ErpContextProvider> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import frFR from 'antd/es/locale/fr_FR'; | ||
import arEG from 'antd/es/locale/ar_EG'; | ||
import zhCN from 'antd/es/locale/zh_CN'; | ||
import roRO from 'antd/es/locale/ro_RO'; | ||
import itIT from 'antd/es/locale/it_IT'; | ||
|
||
const antdLocale = { | ||
zh_cn: zhCN, | ||
fr_fr: frFR, | ||
ar_eg: arEG, | ||
ro_ro: roRO, | ||
it_it: itIT, | ||
}; | ||
|
||
export default antdLocale; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import en_us from './en_us'; | ||
import fr_fr from './fr_fr'; | ||
import zh_cn from './zh_cn'; | ||
import ar_eg from './ar_eg'; | ||
import it_it from './it_it'; | ||
import ro_ro from './ro_ro'; | ||
|
||
const languages = { | ||
ar_eg, | ||
en_us, | ||
fr_fr, | ||
zh_cn, | ||
it_it, | ||
ro_ro, | ||
}; | ||
|
||
export default languages; |
Oops, something went wrong.