spug/spug_web/src/layout/Footer.js

32 lines
1.1 KiB
JavaScript

/**
* Copyright (c) OpenSpug Organization. https://github.com/openspug/spug
* Copyright (c) <spug.dev@gmail.com>
* Released under the AGPL-3.0 License.
*/
import React from 'react';
import { Layout, Icon } from 'antd';
import styles from './layout.module.css';
export default class extends React.Component {
render() {
return (
<Layout.Footer style={{padding: 0}}>
<div className={styles.footerZone}>
<div className={styles.linksZone}>
<a className={styles.links} title="官网" href="https://spug.cc" target="_blank"
rel="noopener noreferrer">官网</a>
<a className={styles.links} title="Github" href="https://github.com/openspug/spug" target="_blank"
rel="noopener noreferrer"><Icon type="github" /></a>
<a title="文档" href="https://spug.cc/docs/about-spug/" target="_blank"
rel="noopener noreferrer">文档</a>
</div>
<div style={{color: 'rgba(0, 0, 0, .45)'}}>
Copyright <Icon type="copyright"/> 2020 By OpenSpug
</div>
</div>
</Layout.Footer>
)
}
}