diff --git a/package.json b/package.json index 8ffcfa3..509d801 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,7 @@ ], "dependencies": { "@ant-design/icons": "^4.8.1", - "@ant-design/pro-components": "^2.6.48", + "@ant-design/pro-components": "^2.8.7", "@monaco-editor/react": "^4.7.0", "@umijs/route-utils": "^2.2.2", "antd": "5.24.5", diff --git a/src/components/Footer/index.tsx b/src/components/Footer/index.tsx index f204ac2..83e069d 100644 --- a/src/components/Footer/index.tsx +++ b/src/components/Footer/index.tsx @@ -1,35 +1,46 @@ -import { GithubOutlined } from '@ant-design/icons'; +import { GithubOutlined, HeartFilled, WechatOutlined, MailOutlined } from '@ant-design/icons'; import { DefaultFooter } from '@ant-design/pro-components'; import React from 'react'; const Footer: React.FC = () => { + const currentYear = new Date().getFullYear(); + return ( +
+ Copyright © 2023-{currentYear} 陕西科技大学镐京学院 +
+
+ Powered by SunHe +
+ + + } links={[ { - key: 'Ant Design Pro', - title: 'Ant Design Pro', - href: 'https://pro.ant.design', + key: 'home', + title: '镐京学院', + href: 'https://www.sust.edu.cn/', blankTarget: true, }, { key: 'github', title: , - href: 'https://github.com/ant-design/ant-design-pro', - blankTarget: true, - }, - { - key: 'Ant Design', - title: 'Ant Design', - href: 'https://ant.design', + href: 'https://github.com/shuguangnet', blankTarget: true, }, + ]} /> ); }; -export default Footer; +export default Footer; \ No newline at end of file