1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-19 13:19:44 +02:00
planka/client/src/components/UserSettingsModal/AboutPane.jsx

25 lines
607 B
React
Raw Normal View History

2022-09-14 16:52:50 +05:00
import React from 'react';
import { useTranslation } from 'react-i18next';
2022-09-14 16:52:50 +05:00
import { Image, Tab } from 'semantic-ui-react';
import Config from '../../constants/Config';
2022-09-14 16:52:50 +05:00
import logo from '../../assets/images/logo.png';
2022-09-16 15:08:09 +05:00
import styles from './AboutPane.module.scss';
2022-09-14 16:52:50 +05:00
const AboutPane = React.memo(() => {
const [t] = useTranslation();
2022-09-14 16:52:50 +05:00
return (
<Tab.Pane attached={false} className={styles.wrapper}>
<Image centered src={logo} size="large" />
<div className={styles.version}>
{t('common.version')} {Config.VERSION}
</div>
2022-09-14 16:52:50 +05:00
</Tab.Pane>
);
});
export default AboutPane;