New file |
| | |
| | | import { GithubOutlined } from '@ant-design/icons'; |
| | | import { DefaultFooter } from '@ant-design/pro-components'; |
| | | import React from 'react'; |
| | | |
| | | const Footer = () => { |
| | | return ( |
| | | <DefaultFooter |
| | | style={{ |
| | | background: 'none', |
| | | }} |
| | | links={[ |
| | | { |
| | | key: 'Vincent Admin', |
| | | title: 'Vincent Admin', |
| | | }, |
| | | { |
| | | key: 'github', |
| | | title: <GithubOutlined />, |
| | | href: 'https://github.com/luxiaotao1123', |
| | | blankTarget: true, |
| | | }, |
| | | ]} |
| | | /> |
| | | ); |
| | | }; |
| | | |
| | | export default Footer; |
| | |
| | | "@@test/*": ["./src/.umi-test/*"] |
| | | } |
| | | }, |
| | | "include": ["./**/*.d.ts", "./**/*.ts", "./**/*.tsx", "src/app.tsx", "src/utils/icon-util.js", "src/pages/User/Login/index.jsx"] |
| | | "include": ["./**/*.d.ts", "./**/*.ts", "./**/*.tsx", "src/app.tsx", "src/utils/icon-util.js", "src/pages/User/Login/index.jsx", "src/components/Footer/index.jsx"] |
| | | } |