Feat: Add background to next login page #3221 (#4474)

### 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:
balibabu 2025-01-14 13:43:18 +08:00 committed by GitHub
parent f556f0239c
commit 23ad459136
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 29 additions and 2 deletions

View File

@ -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"
}

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 9.4 MiB

View File

@ -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>}