import React from 'react'; import PropTypes from 'prop-types'; import { Modal, ModalBody } from 'reactstrap'; import { gettext, lang, siteRoot, mediaUrl, logoPath, logoWidth, logoHeight, siteTitle, seafileVersion } from '../utils/constants'; const propTypes = { className: PropTypes.string, }; class About extends React.Component { constructor(props) { super(props); this.state = { modal: false }; } toggle = () => { this.setState({ modal: !this.state.modal }); } aboutUrl = () => { let url; if (lang == 'zh-cn') { url = 'http://seafile.com/about/'; return url; } url = 'http://seafile.com/en/about/'; return url; } render() { return (
); } } About.propTypes = propTypes; class SideNavFooter extends React.Component { render() { return ( ); } } export default SideNavFooter;