fix: custom logos

This commit is contained in:
jialin
2026-04-27 21:10:34 +08:00
committed by jialin
parent 519020077a
commit e4992e8313
20 changed files with 12081 additions and 3320 deletions
+25
View File
@@ -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={[