From 9b4c80049690743a11e68e964109c92ee7c3e803 Mon Sep 17 00:00:00 2001 From: rhahao Date: Tue, 22 Feb 2022 23:35:50 +0300 Subject: [PATCH] feat(about): add link to point to the app github repository --- src/components/root/About.js | 134 ++++++++++++++++++++++------------- 1 file changed, 85 insertions(+), 49 deletions(-) diff --git a/src/components/root/About.js b/src/components/root/About.js index ba8c6154..f7c1d904 100644 --- a/src/components/root/About.js +++ b/src/components/root/About.js @@ -3,60 +3,96 @@ import { useTranslation } from 'react-i18next'; import Box from '@mui/material/Box'; import Dialog from '@mui/material/Dialog'; import DialogContent from '@mui/material/DialogContent'; +import Link from '@mui/material/Link'; import Typography from '@mui/material/Typography'; import { isAboutOpenState } from '../../appStates/appSettings'; const About = () => { - const { t } = useTranslation(); + const { t } = useTranslation(); - const [isOpen, setIsOpen] = useRecoilState(isAboutOpenState); + const [isOpen, setIsOpen] = useRecoilState(isAboutOpenState); - const appVersion = process.env.REACT_APP_VERSION; + const appVersion = process.env.REACT_APP_VERSION; - const handleClose = () => { - setIsOpen(false); - } + const handleClose = () => { + setIsOpen(false); + }; - return ( - - - - App logo - - LMM-OA - - {appVersion} - - - - {t("about.description")} - - Copyright © 2021 | LMM-OA [SWS] - - - - ); -} - -export default About; \ No newline at end of file + return ( + + + + App logo + + LMM-OA + + {appVersion} + + + + {t('about.description')} + + + + + + + + + Check this project on GitHuB if you want to help us improve it. + + + + Copyright © 2021 | LMM-OA [SWS] + + + + + ); +}; + +export default About;