Skip to content

Commit

Permalink
🔨 refactor:调整登录注册样式
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackishGreen33 committed Jul 11, 2024
1 parent 8e34fa1 commit fad8d33
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .hintrc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"button-name": "off",
"link-name": "off"
}
]
],
"no-inline-styles": "off"
}
}
11 changes: 10 additions & 1 deletion src/app/(auth)/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
const AuthLayout = ({ children }: { children: React.ReactNode }) => {
const cover = 'https://t.tutu.to/img/m1IOz';

return (
<div className="flex h-full items-center justify-center">{children}</div>
<div
className="flex h-full items-center justify-center"
style={{
background: `url(${cover}) center/cover no-repeat`,
}}
>
<div className="md:-ml-[40%]">{children}</div>
</div>
);
};

Expand Down

0 comments on commit fad8d33

Please sign in to comment.