2022-09-14 16:52:50 +05:00
|
|
|
import React from 'react';
|
2023-01-10 16:32:20 +01:00
|
|
|
import { useTranslation } from 'react-i18next';
|
2022-09-14 16:52:50 +05:00
|
|
|
import { Image, Tab } from 'semantic-ui-react';
|
|
|
|
|
2024-08-13 22:26:44 +02:00
|
|
|
import version from '../../version';
|
2023-01-10 16:32:20 +01:00
|
|
|
|
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(() => {
|
2023-01-10 16:32:20 +01:00
|
|
|
const [t] = useTranslation();
|
2022-09-14 16:52:50 +05:00
|
|
|
|
|
|
|
return (
|
|
|
|
<Tab.Pane attached={false} className={styles.wrapper}>
|
2023-01-10 16:32:20 +01:00
|
|
|
<Image centered src={logo} size="large" />
|
|
|
|
<div className={styles.version}>
|
2024-08-13 22:26:44 +02:00
|
|
|
{t('common.version')} {version}
|
2023-01-10 16:32:20 +01:00
|
|
|
</div>
|
2022-09-14 16:52:50 +05:00
|
|
|
</Tab.Pane>
|
|
|
|
);
|
|
|
|
});
|
|
|
|
|
|
|
|
export default AboutPane;
|