Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
new-api
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
02214001
authored
May 20, 2025
by
Apple\Apple
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
♻
️Refactor: Login Page
parent
75684909
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
3 deletions
+14
-3
web/src/components/Footer.js
+1
-1
web/src/components/LoginForm.js
+0
-0
web/src/components/WeChatIcon.js
+2
-2
web/src/i18n/locales/en.json
+11
-0
No files found.
web/src/components/Footer.js
View file @
02214001
...
...
@@ -22,7 +22,7 @@ const FooterBar = () => {
const
currentYear
=
new
Date
().
getFullYear
();
const
customFooter
=
useMemo
(()
=>
(
<
footer
className
=
"relative bg-gray-900 dark:bg-[#1C1F23]
mt-[60px]
h-auto py-16 px-6 md:px-24 w-full flex flex-col items-center justify-between overflow-hidden"
>
<
footer
className
=
"relative bg-gray-900 dark:bg-[#1C1F23] h-auto py-16 px-6 md:px-24 w-full flex flex-col items-center justify-between overflow-hidden"
>
<
div
className
=
"absolute hidden md:block top-[204px] left-[-100px] w-[151px] h-[151px] rounded-full bg-[#FFD166]"
><
/div
>
<
div
className
=
"absolute md:hidden bottom-[20px] left-[-50px] w-[80px] h-[80px] rounded-full bg-[#FFD166] opacity-60"
><
/div
>
...
...
web/src/components/LoginForm.js
View file @
02214001
This diff is collapsed.
Click to expand it.
web/src/components/WeChatIcon.js
View file @
02214001
...
...
@@ -11,8 +11,8 @@ const WeChatIcon = () => {
version
=
'1.1'
xmlns
=
'http://www.w3.org/2000/svg'
p
-
id
=
'5091'
width
=
'
16
'
height
=
'
16
'
width
=
'
20
'
height
=
'
20
'
>
<
path
d
=
'M690.1 377.4c5.9 0 11.8 0.2 17.6 0.5-24.4-128.7-158.3-227.1-319.9-227.1C209 150.8 64 271.4 64 420.2c0 81.1 43.6 154.2 111.9 203.6 5.5 3.9 9.1 10.3 9.1 17.6 0 2.4-0.5 4.6-1.1 6.9-5.5 20.3-14.2 52.8-14.6 54.3-0.7 2.6-1.7 5.2-1.7 7.9 0 5.9 4.8 10.8 10.8 10.8 2.3 0 4.2-0.9 6.2-2l70.9-40.9c5.3-3.1 11-5 17.2-5 3.2 0 6.4 0.5 9.5 1.4 33.1 9.5 68.8 14.8 105.7 14.8 6 0 11.9-0.1 17.8-0.4-7.1-21-10.9-43.1-10.9-66 0-135.8 132.2-245.8 295.3-245.8z m-194.3-86.5c23.8 0 43.2 19.3 43.2 43.1s-19.3 43.1-43.2 43.1c-23.8 0-43.2-19.3-43.2-43.1s19.4-43.1 43.2-43.1z m-215.9 86.2c-23.8 0-43.2-19.3-43.2-43.1s19.3-43.1 43.2-43.1 43.2 19.3 43.2 43.1-19.4 43.1-43.2 43.1z'
...
...
web/src/i18n/locales/en.json
View file @
02214001
...
...
@@ -3,6 +3,17 @@
"文档"
:
"Docs"
,
"控制台"
:
"Console"
,
"$%.6f 额度"
:
"$%.6f quota"
,
"或"
:
"or"
,
"登 录"
:
"Log In"
,
"使用 邮箱 登录"
:
"Sign in with Email"
,
"使用 GitHub 继续"
:
"Continue with GitHub"
,
"使用 OIDC 继续"
:
"Continue with OIDC"
,
"使用 微信 继续"
:
"Continue with WeChat"
,
"使用 LinuxDO 继续"
:
"Continue with LinuxDO"
,
"其他登录选项"
:
"Other login options"
,
"请输入您的邮箱地址"
:
"Please enter your email address"
,
"请输入您的密码"
:
"Please enter your password"
,
"继续"
:
"Continue"
,
"%d 点额度"
:
"%d point quota"
,
"尚未实现"
:
"Not yet implemented"
,
"余额不足"
:
"Insufficient quota"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment