mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-08-14 02:15:52 +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",
|
"trailingComma": "all",
|
||||||
"proseWrap": "never",
|
"proseWrap": "never",
|
||||||
"overrides": [{ "files": ".prettierrc", "options": { "parser": "json" } }],
|
"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);
|
const step = Number((searchParams.get('step') ?? Step.SignIn) as Step);
|
||||||
|
|
||||||
return (
|
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">
|
<div className="inline-block">
|
||||||
{step === Step.SignIn && <SignInCard></SignInCard>}
|
{step === Step.SignIn && <SignInCard></SignInCard>}
|
||||||
{step === Step.SignUp && <SignUpCard></SignUpCard>}
|
{step === Step.SignUp && <SignUpCard></SignUpCard>}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user