refactor: 前端应用骨架迁移至 zustand 并统一路由权限壳

This commit is contained in:
2026-08-05 17:10:30 +08:00
parent e21f0de427
commit d53bbd8176
33 changed files with 1055 additions and 687 deletions

View File

@@ -0,0 +1,24 @@
import { ReadOutlined } from '@ant-design/icons';
const BRAND_COLOR = '#7e14ff';
/** 全局品牌标识:登录页 / 侧边栏 / 页头统一使用 */
export function BrandLogo({ size = 32 }: { size?: number }) {
return (
<span
style={{
display: 'inline-flex',
alignItems: 'center',
justifyContent: 'center',
width: size,
height: size,
borderRadius: 8,
background: BRAND_COLOR,
color: '#fff',
flexShrink: 0,
}}
>
<ReadOutlined style={{ fontSize: size * 0.55 }} />
</span>
);
}