2021-11-10 05:50:01 -05:00
|
|
|
import Icon from './icon'
|
2024-10-28 06:02:02 -04:00
|
|
|
import MaterialIcon from '@/shared/components/material-icon'
|
|
|
|
import BootstrapVersionSwitcher from '@/features/ui/components/bootstrap-5/bootstrap-version-switcher'
|
2021-11-10 05:50:01 -05:00
|
|
|
import { useTranslation } from 'react-i18next'
|
|
|
|
import { memo } from 'react'
|
|
|
|
|
2024-10-28 06:02:02 -04:00
|
|
|
function Check() {
|
|
|
|
return (
|
|
|
|
<BootstrapVersionSwitcher
|
|
|
|
bs3={<Icon type="check" />}
|
|
|
|
bs5={<MaterialIcon type="check" />}
|
|
|
|
/>
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
2021-11-10 05:50:01 -05:00
|
|
|
function UpgradeBenefits() {
|
|
|
|
const { t } = useTranslation()
|
|
|
|
|
|
|
|
return (
|
|
|
|
<ul className="list-unstyled upgrade-benefits">
|
|
|
|
<li>
|
2024-10-28 06:02:02 -04:00
|
|
|
<Check />
|
2021-11-10 05:50:01 -05:00
|
|
|
|
|
|
|
{t('unlimited_projects')}
|
|
|
|
</li>
|
|
|
|
<li>
|
2024-10-28 06:02:02 -04:00
|
|
|
<Check />
|
2021-11-10 05:50:01 -05:00
|
|
|
|
|
|
|
{t('collabs_per_proj', { collabcount: 'Multiple' })}
|
|
|
|
</li>
|
|
|
|
<li>
|
2024-10-28 06:02:02 -04:00
|
|
|
<Check />
|
2021-11-10 05:50:01 -05:00
|
|
|
|
|
|
|
{t('full_doc_history')}
|
|
|
|
</li>
|
|
|
|
<li>
|
2024-10-28 06:02:02 -04:00
|
|
|
<Check />
|
2021-11-10 05:50:01 -05:00
|
|
|
|
|
|
|
{t('sync_to_dropbox')}
|
|
|
|
</li>
|
|
|
|
<li>
|
2024-10-28 06:02:02 -04:00
|
|
|
<Check />
|
2021-11-10 05:50:01 -05:00
|
|
|
|
|
|
|
{t('sync_to_github')}
|
|
|
|
</li>
|
|
|
|
<li>
|
2024-10-28 06:02:02 -04:00
|
|
|
<Check />
|
2021-11-10 05:50:01 -05:00
|
|
|
|
|
|
|
{t('compile_larger_projects')}
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
export default memo(UpgradeBenefits)
|