mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-04-19 04:30:01 +08:00
### What problem does this PR solve? Feat: Add background to next login page #3221 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
parent
f556f0239c
commit
23ad459136
@ -4,5 +4,9 @@
|
||||
"trailingComma": "all",
|
||||
"proseWrap": "never",
|
||||
"overrides": [{ "files": ".prettierrc", "options": { "parser": "json" } }],
|
||||
"plugins": ["prettier-plugin-organize-imports", "prettier-plugin-packagejson"]
|
||||
"plugins": [
|
||||
"prettier-plugin-organize-imports",
|
||||
"prettier-plugin-packagejson"
|
||||
],
|
||||
"endOfLine": "lf"
|
||||
}
|
||||
|
23
web/src/assets/svg/next-login-bg.svg
Normal file
23
web/src/assets/svg/next-login-bg.svg
Normal file
File diff suppressed because one or more lines are too long
After Width: | Height: | Size: 9.4 MiB |
@ -97,7 +97,7 @@ const Login = () => {
|
||||
const step = Number((searchParams.get('step') ?? Step.SignIn) as Step);
|
||||
|
||||
return (
|
||||
<div className="w-full h-full flex items-center pl-[15%]">
|
||||
<div className="w-full h-full flex items-center pl-[15%] bg-[url('@/assets/svg/next-login-bg.svg')]">
|
||||
<div className="inline-block">
|
||||
{step === Step.SignIn && <SignInCard></SignInCard>}
|
||||
{step === Step.SignUp && <SignUpCard></SignUpCard>}
|
||||
|
Loading…
x
Reference in New Issue
Block a user