2021-06-15 12:36:23 +02:00
|
|
|
import { Fragment } from 'react';
|
|
|
|
|
|
|
|
import classes from './AppDetails.module.css';
|
|
|
|
import Button from '../../UI/Buttons/Button/Button';
|
|
|
|
import { checkVersion } from '../../../utility';
|
|
|
|
|
|
|
|
const AppDetails = (): JSX.Element => {
|
|
|
|
return (
|
|
|
|
<Fragment>
|
|
|
|
<p className={classes.AppVersion}>
|
|
|
|
<a
|
|
|
|
href='https://github.com/pawelmalak/flame'
|
|
|
|
target='_blank'
|
|
|
|
rel='noreferrer'>
|
|
|
|
Flame
|
|
|
|
</a>
|
|
|
|
{' '}
|
|
|
|
version {process.env.REACT_APP_VERSION}
|
|
|
|
</p>
|
2021-07-28 12:52:30 +02:00
|
|
|
<p className={classes.AppVersion}>
|
|
|
|
See changelog {' '}
|
|
|
|
<a
|
|
|
|
href='https://github.com/pawelmalak/flame/CHANGELOG.md'
|
|
|
|
target='_blank'
|
|
|
|
rel='noreferrer'>
|
|
|
|
here
|
|
|
|
</a>
|
|
|
|
</p>
|
2021-06-15 12:36:23 +02:00
|
|
|
<Button click={() => checkVersion(true)}>Check for updates</Button>
|
|
|
|
</Fragment>
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
export default AppDetails;
|