45 lines
1.2 KiB
TypeScript
45 lines
1.2 KiB
TypeScript
import { HeartTwoTone, SmileTwoTone } from '@ant-design/icons';
|
|
import { PageContainer } from '@ant-design/pro-components';
|
|
import '@umijs/max';
|
|
import { Alert, Card, Typography } from 'antd';
|
|
import React from 'react';
|
|
const Admin: React.FC = () => {
|
|
return (
|
|
<PageContainer content={' 这个页面只有 admin 权限才能查看'}>
|
|
<Card>
|
|
<Alert
|
|
message={'更快更强的重型组件,已经发布。'}
|
|
type="success"
|
|
showIcon
|
|
banner
|
|
style={{
|
|
margin: -12,
|
|
marginBottom: 48,
|
|
}}
|
|
/>
|
|
<Typography.Title
|
|
level={2}
|
|
style={{
|
|
textAlign: 'center',
|
|
}}
|
|
>
|
|
<SmileTwoTone /> 基于AIGC的智能数据分析系统 <HeartTwoTone twoToneColor="#eb2f96" />
|
|
</Typography.Title>
|
|
</Card>
|
|
<p
|
|
style={{
|
|
textAlign: 'center',
|
|
marginTop: 24,
|
|
}}
|
|
>
|
|
Want to add more pages? Please refer to{' '}
|
|
<a href="https://pro.ant.design/docs/block-cn" target="_blank" rel="noopener noreferrer">
|
|
use block
|
|
</a>
|
|
。
|
|
</p>
|
|
</PageContainer>
|
|
);
|
|
};
|
|
export default Admin;
|