Footer.js 942 B

12345678910111213141516171819202122232425262728293031323334353637
  1. import React, { Fragment } from 'react';
  2. import { Layout, Icon } from 'antd';
  3. import GlobalFooter from '@/components/GlobalFooter';
  4. const { Footer } = Layout;
  5. const FooterView = () => (
  6. <Footer style={{ padding: 0 }}>
  7. <GlobalFooter
  8. links={[
  9. {
  10. key: 'Pro 首页',
  11. title: 'Pro 首页',
  12. href: 'https://pro.ant.design',
  13. blankTarget: true,
  14. },
  15. {
  16. key: 'github',
  17. title: <Icon type="github" />,
  18. href: 'https://github.com/ant-design/ant-design-pro',
  19. blankTarget: true,
  20. },
  21. {
  22. key: 'Ant Design',
  23. title: 'Ant Design',
  24. href: 'https://ant.design',
  25. blankTarget: true,
  26. },
  27. ]}
  28. copyright={
  29. <Fragment>
  30. Copyright <Icon type="copyright" /> 2018 蚂蚁金服体验技术部出品
  31. </Fragment>
  32. }
  33. />
  34. </Footer>
  35. );
  36. export default FooterView;