mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-14 20:40:17 -05:00
3c124667ba
[SettingsPage] Split Misc Section GitOrigin-RevId: b6fc60c571dfaf3aec542f3df8dc826a0ba3ab58
21 lines
568 B
TypeScript
21 lines
568 B
TypeScript
import { useTranslation } from 'react-i18next'
|
|
import { useUserContext } from '../../../shared/context/user-context'
|
|
|
|
function BetaProgramSection() {
|
|
const { t } = useTranslation()
|
|
const { betaProgram } = useUserContext()
|
|
|
|
return (
|
|
<>
|
|
<h3>{t('sharelatex_beta_program')}</h3>
|
|
<p className="small">
|
|
{betaProgram
|
|
? t('beta_program_already_participating')
|
|
: t('beta_program_benefits')}
|
|
</p>
|
|
<a href="/beta/participate">{t('manage_beta_program_membership')}</a>
|
|
</>
|
|
)
|
|
}
|
|
|
|
export default BetaProgramSection
|