fix: custom logos
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
import Bg2 from '@/assets/images/bg-2.png';
|
||||
import React from 'react';
|
||||
|
||||
const Background: React.FC<{ isDarkTheme: boolean }> = ({ isDarkTheme }) => {
|
||||
return (
|
||||
<div
|
||||
style={{
|
||||
position: 'fixed',
|
||||
top: 0,
|
||||
left: 0,
|
||||
bottom: 0,
|
||||
right: 0,
|
||||
minHeight: '100vh',
|
||||
zIndex: -1,
|
||||
background: isDarkTheme
|
||||
? `radial-gradient(at 50% 20%, #383838 0%, #292929 40%, #000 100%)`
|
||||
: `url(${Bg2}) center center no-repeat`,
|
||||
backgroundSize: isDarkTheme ? 'contain' : 'cover',
|
||||
opacity: isDarkTheme ? 1 : 0.6
|
||||
}}
|
||||
></div>
|
||||
);
|
||||
};
|
||||
|
||||
export default Background;
|
||||
@@ -98,7 +98,6 @@ const LocalUserForm: React.FC<LocalUserFormProps> = (props) => {
|
||||
prefix={<UserOutlined />}
|
||||
/>
|
||||
</Form.Item>
|
||||
|
||||
<Form.Item
|
||||
name="password"
|
||||
rules={[
|
||||
|
||||
Reference in New Issue
Block a user