Commit d7e577cb by Apple\Apple

️Refactor: RegisterForm

parent 02214001
...@@ -223,7 +223,7 @@ const LoginForm = () => { ...@@ -223,7 +223,7 @@ const LoginForm = () => {
theme='outline' theme='outline'
className="w-full h-12 flex items-center justify-center !rounded-full border border-gray-200 hover:bg-gray-50 transition-colors" className="w-full h-12 flex items-center justify-center !rounded-full border border-gray-200 hover:bg-gray-50 transition-colors"
type="tertiary" type="tertiary"
icon={<OIDCIcon style={{ color: '#1877F2', width: '20px', height: '20px' }} />} icon={<OIDCIcon style={{ color: '#1877F2' }} />}
size="large" size="large"
onClick={() => onClick={() =>
onOIDCClicked( onOIDCClicked(
...@@ -358,7 +358,7 @@ const LoginForm = () => { ...@@ -358,7 +358,7 @@ const LoginForm = () => {
<Divider margin='12px' align='center'> <Divider margin='12px' align='center'>
{t('或')} {t('或')}
</Divider> </Divider>
<div className="mt-4 text-center"> <div className="mt-4 text-center">
<Button <Button
theme="outline" theme="outline"
......
...@@ -11,8 +11,8 @@ const OIDCIcon = (props) => { ...@@ -11,8 +11,8 @@ const OIDCIcon = (props) => {
version='1.1' version='1.1'
xmlns='http://www.w3.org/2000/svg' xmlns='http://www.w3.org/2000/svg'
p-id='10969' p-id='10969'
width='1em' width='20'
height='1em' height='20'
> >
<path <path
d='M512 960C265 960 64 759 64 512S265 64 512 64s448 201 448 448-201 448-448 448z m0-882.6c-239.7 0-434.6 195-434.6 434.6s195 434.6 434.6 434.6 434.6-195 434.6-434.6S751.7 77.4 512 77.4z' d='M512 960C265 960 64 759 64 512S265 64 512 64s448 201 448 448-201 448-448 448z m0-882.6c-239.7 0-434.6 195-434.6 434.6s195 434.6 434.6 434.6 434.6-195 434.6-434.6S751.7 77.4 512 77.4z'
......
...@@ -5,12 +5,15 @@ ...@@ -5,12 +5,15 @@
"$%.6f 额度": "$%.6f quota", "$%.6f 额度": "$%.6f quota",
"或": "or", "或": "or",
"登 录": "Log In", "登 录": "Log In",
"注 册": "Sign Up",
"使用 邮箱 登录": "Sign in with Email", "使用 邮箱 登录": "Sign in with Email",
"使用 GitHub 继续": "Continue with GitHub", "使用 GitHub 继续": "Continue with GitHub",
"使用 OIDC 继续": "Continue with OIDC", "使用 OIDC 继续": "Continue with OIDC",
"使用 微信 继续": "Continue with WeChat", "使用 微信 继续": "Continue with WeChat",
"使用 LinuxDO 继续": "Continue with LinuxDO", "使用 LinuxDO 继续": "Continue with LinuxDO",
"使用 邮箱 注册": "Sign up with Email",
"其他登录选项": "Other login options", "其他登录选项": "Other login options",
"其他注册选项": "Other registration options",
"请输入您的邮箱地址": "Please enter your email address", "请输入您的邮箱地址": "Please enter your email address",
"请输入您的密码": "Please enter your password", "请输入您的密码": "Please enter your password",
"继续": "Continue", "继续": "Continue",
...@@ -775,7 +778,7 @@ ...@@ -775,7 +778,7 @@
"邀请码": "Invitation code", "邀请码": "Invitation code",
"输入邀请码": "Enter invitation code", "输入邀请码": "Enter invitation code",
"账户": "Account", "账户": "Account",
"邮箱": "Mail", "邮箱": "Email",
"已有账户?": "Already have an account?", "已有账户?": "Already have an account?",
"创意任务": "Tasks", "创意任务": "Tasks",
"用户管理": "User Management", "用户管理": "User Management",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment