index.tsx 810 B

1234567891011121314151617181920212223242526272829303132333435
  1. import { GithubOutlined } from '@ant-design/icons';
  2. import { DefaultFooter } from '@ant-design/pro-components';
  3. import React from 'react';
  4. const Footer: React.FC = () => {
  5. return (
  6. <DefaultFooter
  7. style={{
  8. background: 'none',
  9. }}
  10. links={[
  11. {
  12. key: '小说管理后台',
  13. title: '小说管理后台',
  14. href: 'https://pro.ant.design',
  15. blankTarget: true,
  16. },
  17. {
  18. key: 'github',
  19. title: <GithubOutlined />,
  20. href: 'https://github.com/ant-design/ant-design-pro',
  21. blankTarget: true,
  22. },
  23. {
  24. key: 'Ant Design',
  25. title: 'Ant Design',
  26. href: 'https://ant.design',
  27. blankTarget: true,
  28. },
  29. ]}
  30. />
  31. );
  32. };
  33. export default Footer;