2023-03-06 12:53:20 +01:00
import React , { useState } from 'react' ;
import PopupModal from '@components/PopupModal' ;
import AboutIcon from '@icon/AboutIcon' ;
2023-03-10 10:03:46 +01:00
import Updates from '@components/Menu/MenuOptions/Updates' ;
2023-03-06 12:53:20 +01:00
const AboutMenu = ( ) = > {
const [ isModalOpen , setIsModalOpen ] = useState < boolean > ( false ) ;
return (
< >
< a
className = 'flex py-3 px-3 items-center gap-3 rounded-md hover:bg-gray-500/10 transition-colors duration-200 text-white cursor-pointer text-sm'
onClick = { ( ) = > {
setIsModalOpen ( true ) ;
} }
>
< div >
< AboutIcon / >
< / div >
About
< / a >
{ isModalOpen && (
< PopupModal
title = 'About'
setIsModalOpen = { setIsModalOpen }
cancelButton = { false }
>
< div className = 'p-6 border-b border-gray-200 dark:border-gray-600' >
2023-03-06 15:11:34 +01:00
< div className = 'min-w-fit text-gray-900 dark:text-gray-300 text-sm flex flex-col gap-2' >
< p > Free ChatGPT is an amazing open - source web app that allows you to play with OpenAI ' s ChatGPT API for free ! < / p >
2023-03-10 10:03:46 +01:00
< Updates isButton / >
2023-03-06 15:11:34 +01:00
< h2 className = 'text-lg font-bold' > Discord Server < / h2 >
< p > We invite you to join our Discord community ! Our Discord server is a great place to exchange ChatGPT ideas and tips , and submit feature requests for Free ChatGPT . You ' ll have the opportunity to interact with the developers behind Free ChatGPT as well as other AI enthusiasts who share your passion . < / p >
< p > To join our server , simply click on the following link : < a className = 'link' href = 'https://discord.gg/g3Qnwy4V6A' target = '_blank' > https : //discord.gg/g3Qnwy4V6A</a>. We can't wait to see you there!</p>
< h2 className = 'text-lg font-bold' > Privacy Statement < / h2 >
< p > We highly value your privacy and are committed to safeguarding the privacy of our users . We do not collect or store any text you enter or receive from the OpenAI server in any form . Our source code is available for your inspection to verify this statement . < / p >
< p > We prioritise the security of your API key and handle it with utmost care . If you use your own API key , your key is exclusively stored on your browser and never shared with any third - party entity . It is solely used for the intended purpose of accessing the OpenAI API and not for any other unauthorised use . < / p >
2023-03-07 00:26:14 +01:00
< h2 className = 'text-lg font-bold' > Support < / h2 >
2023-03-09 07:24:26 +01:00
< p > At freechatgpt . chat , we strive to provide you with useful and amazing features around the clock . And just like any project , your support and motivation will be instrumental in helping us keep moving forward ! < / p >
< p > If you have enjoyed using our app , we kindly ask you to give this < a href = "https://github.com/ztjhz/ChatGPTFreeApp/" target = "_blank" className = "link" > project < / a > a ⭐ ️ . Your endorsement means a lot to us and encourages us to work harder towards delivering the best possible experience . < / p >
< p > If you would like to support the team , consider buying us a coffee by clicking on the button below . Every contribution , no matter how small , helps us to maintain and improve our service . < / p >
2023-03-07 00:26:14 +01:00
< a href = "https://ko-fi.com/freechatgpt" target = "_blank" >
< img src = "https://ko-fi.com/img/githubbutton_sm.svg" alt = "support" / >
< / a >
2023-03-09 07:24:26 +01:00
< p > Thank you for being a part of our community , and we look forward to serving you better in the future . < / p >
2023-03-06 12:53:20 +01:00
< / div >
< / div >
< / PopupModal >
) }
< / >
) ;
} ;
export default AboutMenu ;