import React from 'react'; import PropTypes from 'prop-types'; import { Modal, ModalBody } from 'reactstrap'; import { gettext, lang, mediaUrl, logoPath, logoWidth, logoHeight, siteTitle, seafileVersion } from '../../utils/constants'; const propTypes = { onCloseAboutDialog: PropTypes.func.isRequired, }; class AboutDialog extends React.Component { toggle = () => { this.props.onCloseAboutDialog(); } render() { let href = lang === lang == 'zh-cn' ? 'http://seafile.com/about/' : 'http://seafile.com/en/about/'; return (

logo

{gettext('Server Version: ')}{seafileVersion}
© 2019 {gettext('Seafile')}

{gettext('About Us')}

); } } AboutDialog.propTypes = propTypes; export default AboutDialog;