This is an automated email from the ASF dual-hosted git repository. juzhiyuan pushed a commit to branch update-boilerplate in repository https://gitbox.apache.org/repos/asf/incubator-apisix-dashboard.git
commit a919341842c61140daf2dd2c2f6e37cc49d93e0e Author: juzhiyuan <[email protected]> AuthorDate: Tue Mar 10 13:04:36 2020 +0800 feat: update DefaultFooter --- src/layouts/UserLayout.tsx | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) diff --git a/src/layouts/UserLayout.tsx b/src/layouts/UserLayout.tsx index add204e..9a270a2 100644 --- a/src/layouts/UserLayout.tsx +++ b/src/layouts/UserLayout.tsx @@ -6,6 +6,7 @@ import { formatMessage } from 'umi-plugin-react/locale'; import { connect } from 'dva'; import SelectLang from '@/components/SelectLang'; import { ConnectProps, ConnectState } from '@/models/connect'; +import { GithubOutlined } from '@ant-design/icons'; import logo from '../assets/logo.svg'; import styles from './UserLayout.less'; @@ -51,14 +52,24 @@ const UserLayout: React.FC<UserLayoutProps> = props => { <div className={styles.header}> <Link to="/"> <img alt="logo" className={styles.logo} src={logo} /> - <span className={styles.title}>Ant Design</span> + <span className={styles.title}>Apache APISIX</span> </Link> </div> - <div className={styles.desc}>Ant Design 是西湖区最具影响力的 Web 设计规范</div> + <div className={styles.desc}>Cloud-Native Microservices API Gateway</div> </div> {children} </div> - <DefaultFooter /> + <DefaultFooter + copyright="2020 Apache APISIX" + links={[ + { + key: 'GitHub', + title: <GithubOutlined />, + href: 'https://github.com/apache/incubator-apisix', + blankTarget: true, + }, + ]} + /> </div> </> );
