瀏覽代碼

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)
tags/v0.16.0
balibabu 9 月之前
父節點
當前提交
23ad459136
沒有連結到貢獻者的電子郵件帳戶。
共有 3 個檔案被更改,包括 29 行新增2 行删除
  1. 5
    1
      web/.prettierrc
  2. 23
    0
      web/src/assets/svg/next-login-bg.svg
  3. 1
    1
      web/src/pages/login-next/index.tsx

+ 5
- 1
web/.prettierrc 查看文件

@@ -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
- 0
web/src/assets/svg/next-login-bg.svg
文件差異過大導致無法顯示
查看文件


+ 1
- 1
web/src/pages/login-next/index.tsx 查看文件

@@ -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…
取消
儲存