overleaf/services/web/frontend/js/features/subscription/components/dashboard/free-plan.tsx
Jimmy Domagala-Tang d93299d47d Merge pull request #21741 from overleaf/jdt-assist-paywall-routing
Direct users to the correct assistant add-on checkout

GitOrigin-RevId: 884d6e68458bc8f27ce79a4849f580a9ec0997fb
2024-11-14 09:05:36 +00:00

33 lines
946 B
TypeScript

import { useTranslation, Trans } from 'react-i18next'
function FreePlan() {
const { t } = useTranslation()
return (
<>
<Trans
i18nKey="on_free_plan_upgrade_to_access_features"
components={[
// eslint-disable-next-line react/jsx-key, jsx-a11y/anchor-has-content
<a href="/learn/how-to/Overleaf_premium_features" target="_blank" />,
]}
/>
:
<ul>
<li>{t('invite_more_collabs')}</li>
<li>{t('realtime_track_changes')}</li>
<li>{t('full_doc_history')}</li>
<li>{t('reference_search')}</li>
<li>{t('reference_sync')}</li>
<li>{t('dropbox_integration_lowercase')}</li>
<li>{t('github_integration_lowercase')}</li>
<li>{t('priority_support')}</li>
</ul>
<a className="btn btn-primary me-1" href="/user/subscription/plans">
{t('upgrade_now')}
</a>
</>
)
}
export default FreePlan