develop #30

Merged
zsq merged 33 commits from develop into main 2026-03-31 17:43:07 +08:00
Showing only changes of commit 4451bc4c2f - Show all commits

View File

@ -0,0 +1,27 @@
import React from 'react';
import { MyIcons } from '@/common';
interface CustomLogoProps {
collapsed: boolean;
}
export const CustomLogo: React.FC<CustomLogoProps> = ({ collapsed }) => {
return (
<div className="custom-logo">
<div className="logo-icon">
<MyIcons.HomeOutlined style={{ fontSize: '32px', color: '#1890ff' }} />
</div>
{!collapsed && (
<div className="logo-text">
</div>
)}
</div>
);
};
// Styles will be defined in global.less:
// .custom-logo { display: flex; align-items: center; height: 64px; ... }
// .custom-logo .logo-icon { font-size: 32px; min-width: 32px; ... }
// .custom-logo .logo-text { margin-left: 12px; font-size: 16px; ... }
// .ant-layout-sider-collapsed .custom-logo .logo-text { display: none; }