初始化 antd-pro
This commit is contained in:
37
admin-web/src/layouts/Footer.js
Normal file
37
admin-web/src/layouts/Footer.js
Normal file
@@ -0,0 +1,37 @@
|
||||
import React, { Fragment } from 'react';
|
||||
import { Layout, Icon } from 'antd';
|
||||
import GlobalFooter from '@/components/GlobalFooter';
|
||||
|
||||
const { Footer } = Layout;
|
||||
const FooterView = () => (
|
||||
<Footer style={{ padding: 0 }}>
|
||||
<GlobalFooter
|
||||
links={[
|
||||
{
|
||||
key: 'Pro 首页',
|
||||
title: 'Pro 首页',
|
||||
href: 'https://pro.ant.design',
|
||||
blankTarget: true,
|
||||
},
|
||||
{
|
||||
key: 'github',
|
||||
title: <Icon type="github" />,
|
||||
href: 'https://github.com/ant-design/ant-design-pro',
|
||||
blankTarget: true,
|
||||
},
|
||||
{
|
||||
key: 'Ant Design',
|
||||
title: 'Ant Design',
|
||||
href: 'https://ant.design',
|
||||
blankTarget: true,
|
||||
},
|
||||
]}
|
||||
copyright={
|
||||
<Fragment>
|
||||
Copyright <Icon type="copyright" /> 2018 蚂蚁金服体验技术部出品
|
||||
</Fragment>
|
||||
}
|
||||
/>
|
||||
</Footer>
|
||||
);
|
||||
export default FooterView;
|
||||
Reference in New Issue
Block a user