-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
15 changed files
with
232 additions
and
110 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 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,71 @@ | ||
import { styled } from '@mui/material/styles' | ||
|
||
export const DropzoneBox = styled('div')(() => ({ | ||
'& .MuiDropzoneArea-textContainer': { | ||
border: '2px dotted #3C64F4', | ||
borderRadius: '8px', | ||
padding: '20px', | ||
display: 'flex', | ||
justifyContent: 'center', | ||
alignItems: 'center', | ||
'& .MuiTypography-root': { | ||
fontSize: '1rem', | ||
color: '#767676', | ||
order: 1, | ||
}, | ||
'& .MuiSvgIcon-root': { | ||
color: '#D1D1D1', | ||
fontSize: '3rem', | ||
marginRight: '0.5rem', | ||
}, | ||
}, | ||
'& .MuiGrid-container': { | ||
margin: 0, | ||
width: '100%', | ||
'& .MuiGrid-item': { | ||
maxWidth: '120px', | ||
flexBasis: '120px', | ||
padding: '20px', | ||
display: 'flex', | ||
flexDirection: 'column', | ||
alignItems: 'center', | ||
borderRadius: '4px', | ||
margin: '20px 20px 0 0', | ||
boxShadow: '0px 2px 1px -1px rgb(0 0 0 / 20%), 0px 1px 1px 0px rgb(0 0 0 / 14%), 0px 1px 3px 0px rgb(0 0 0 / 12%)', | ||
position: 'relative', | ||
'& .MuiSvgIcon-root': { | ||
color: '#757575', | ||
fontSize: '40px', | ||
}, | ||
'& .MuiTypography-root': { | ||
textOverflow: 'ellipsis', | ||
overflow: 'hidden', | ||
whiteSpace: 'nowrap', | ||
width: '100%', | ||
fontSize: '1rem', | ||
marginTop: '10px', | ||
textAlign: 'center', | ||
}, | ||
'& .MuiButtonBase-root': { | ||
position: 'absolute', | ||
top: '-12px', | ||
right: '-12px', | ||
width: '24px', | ||
height: '24px', | ||
minHeight: 'inherit', | ||
backgroundColor: '#757575', | ||
boxShadow: 'none', | ||
'& .MuiSvgIcon-root': { | ||
color: '#fff', | ||
fontSize: '16px', | ||
}, | ||
}, | ||
}, | ||
}, | ||
'& #client-snackbar': { | ||
'& .MuiSvgIcon-root': { | ||
verticalAlign: 'middle', | ||
marginRight: '4px', | ||
}, | ||
}, | ||
})) |
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,14 @@ | ||
export default { | ||
'intl.global.tips.loading': 'Loading...', | ||
|
||
'intl.global.button.back': 'Back', | ||
'intl.global.button.next': 'Next', | ||
'intl.global.button.submit': 'Submit', | ||
|
||
'intl.global.validate.required': '{label} is required', | ||
|
||
'intl.global.fileUpload.defaultText': 'Drag & drop file here or browse', | ||
'intl.global.fileUpload.typeNotSupport': '{name} file type not support', | ||
'intl.global.fileUpload.fileSizeExceedsLimit': '{name} file exceeds the limit, Maximum support {maxSize}', | ||
'intl.global.fileUpload.fileNumberExceedsLimit': 'The number of files exceeds the limit, with up to {limit} being supported', | ||
} |
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,5 +1,7 @@ | ||
import users from './users' | ||
import global from './global' | ||
|
||
export const en = { | ||
...global, | ||
...users, | ||
} |
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,3 +1,27 @@ | ||
export default { | ||
'intl.user.register.title.registerComplete': 'Registration Complete. Thank You!', | ||
'intl.user.register.title.accountCreated': 'Your personal account has been created.', | ||
'intl.user.register.title.accountRegister': 'Account Registration', | ||
'intl.user.register.title.attachments': 'Attachments', | ||
'intl.user.register.title.address': 'Address', | ||
'intl.user.register.title.businessDetails': 'Business Details', | ||
|
||
'intl.user.register.step.optional': 'Optional', | ||
'intl.user.register.step.account': 'Account', | ||
'intl.user.register.step.details': 'Details', | ||
'intl.user.register.step.finish': 'Finish', | ||
|
||
'intl.user.register.label.companyName': 'Company Name', | ||
'intl.user.register.label.companyEmail': 'Company Email', | ||
'intl.user.register.label.companyPhoneNumber': 'Company Phone Number', | ||
'intl.user.register.label.companyAttachments': 'Company Attachments', | ||
|
||
'intl.user.register.label.country': 'Country', | ||
'intl.user.register.label.address1': 'Address 1', | ||
'intl.user.register.label.address2': 'Address 2', | ||
'intl.user.register.label.city': 'City', | ||
'intl.user.register.label.state': 'State', | ||
'intl.user.register.label.zipCode': 'Zip Code', | ||
|
||
'intl.user.register.tips.registerLogo': 'register Logo', | ||
} |
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,14 @@ | ||
export default { | ||
'intl.global.tips.loading': '加载中...', | ||
|
||
'intl.global.button.back': '返回', | ||
'intl.global.button.next': '下一步', | ||
'intl.global.button.submit': '提交', | ||
|
||
'intl.global.validate.required': '{label}是必填的', | ||
|
||
'intl.global.fileUpload.defaultText': '拖放文件或浏览', | ||
'intl.global.fileUpload.typeNotSupport': '{name}文件类型不支持', | ||
'intl.global.fileUpload.fileSizeExceedsLimit': '{name}文件的大小超过了限制,最大支持{maxSize}', | ||
'intl.global.fileUpload.fileNumberExceedsLimit': '文件数量超过限制,最多支持{limit}个', | ||
} |
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,5 +1,7 @@ | ||
import users from './users' | ||
import global from './global' | ||
|
||
export const zh = { | ||
...global, | ||
...users, | ||
} |
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,3 +1,27 @@ | ||
export default { | ||
'intl.user.register.title.registerComplete': '注册完成。欢迎!', | ||
'intl.user.register.title.accountCreated': '您的个人帐户已被创建。', | ||
'intl.user.register.title.accountRegister': '账户注册', | ||
'intl.user.register.title.attachments': '附件', | ||
'intl.user.register.title.address': '地址', | ||
'intl.user.register.title.businessDetails': '公司信息', | ||
|
||
'intl.user.register.step.optional': '可选', | ||
'intl.user.register.step.account': '账号', | ||
'intl.user.register.step.details': '详细资料', | ||
'intl.user.register.step.finish': '完成', | ||
|
||
'intl.user.register.label.companyName': '公司名称', | ||
'intl.user.register.label.companyEmail': '公司邮箱', | ||
'intl.user.register.label.companyPhoneNumber': '公司电话号码', | ||
'intl.user.register.label.companyAttachments': '附件', | ||
|
||
'intl.user.register.label.country': '国家', | ||
'intl.user.register.label.address1': '地址1', | ||
'intl.user.register.label.address2': '地址2', | ||
'intl.user.register.label.city': '市', | ||
'intl.user.register.label.state': '省', | ||
'intl.user.register.label.zipCode': '邮编', | ||
|
||
'intl.user.register.tips.registerLogo': '注册Logo', | ||
} |
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
Oops, something went wrong.