balibabu commited on
Commit
71911b3
·
1 Parent(s): badcb66

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

Browse files

### 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)

web/.prettierrc CHANGED
@@ -4,5 +4,9 @@
4
  "trailingComma": "all",
5
  "proseWrap": "never",
6
  "overrides": [{ "files": ".prettierrc", "options": { "parser": "json" } }],
7
- "plugins": ["prettier-plugin-organize-imports", "prettier-plugin-packagejson"]
 
 
 
 
8
  }
 
4
  "trailingComma": "all",
5
  "proseWrap": "never",
6
  "overrides": [{ "files": ".prettierrc", "options": { "parser": "json" } }],
7
+ "plugins": [
8
+ "prettier-plugin-organize-imports",
9
+ "prettier-plugin-packagejson"
10
+ ],
11
+ "endOfLine": "lf"
12
  }
web/src/assets/svg/next-login-bg.svg ADDED
web/src/pages/login-next/index.tsx CHANGED
@@ -97,7 +97,7 @@ const Login = () => {
97
  const step = Number((searchParams.get('step') ?? Step.SignIn) as Step);
98
 
99
  return (
100
- <div className="w-full h-full flex items-center pl-[15%]">
101
  <div className="inline-block">
102
  {step === Step.SignIn && <SignInCard></SignInCard>}
103
  {step === Step.SignUp && <SignUpCard></SignUpCard>}
 
97
  const step = Number((searchParams.get('step') ?? Step.SignIn) as Step);
98
 
99
  return (
100
+ <div className="w-full h-full flex items-center pl-[15%] bg-[url('@/assets/svg/next-login-bg.svg')]">
101
  <div className="inline-block">
102
  {step === Step.SignIn && <SignInCard></SignInCard>}
103
  {step === Step.SignUp && <SignUpCard></SignUpCard>}