upgrade-benefits.jsx 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. import Icon from './icon'
  2. import MaterialIcon from '@/shared/components/material-icon'
  3. import BootstrapVersionSwitcher from '@/features/ui/components/bootstrap-5/bootstrap-version-switcher'
  4. import { useTranslation } from 'react-i18next'
  5. import { memo } from 'react'
  6. function Check() {
  7. return (
  8. <BootstrapVersionSwitcher
  9. bs3={<Icon type="check" />}
  10. bs5={<MaterialIcon type="check" />}
  11. />
  12. )
  13. }
  14. function UpgradeBenefits() {
  15. const { t } = useTranslation()
  16. return (
  17. <ul className="list-unstyled upgrade-benefits">
  18. <li>
  19. <Check />
  20. &nbsp;
  21. {t('unlimited_projects')}
  22. </li>
  23. <li>
  24. <Check />
  25. &nbsp;
  26. {t('collabs_per_proj', { collabcount: 'Multiple' })}
  27. </li>
  28. <li>
  29. <Check />
  30. &nbsp;
  31. {t('full_doc_history')}
  32. </li>
  33. <li>
  34. <Check />
  35. &nbsp;
  36. {t('sync_to_dropbox')}
  37. </li>
  38. <li>
  39. <Check />
  40. &nbsp;
  41. {t('sync_to_github')}
  42. </li>
  43. <li>
  44. <Check />
  45. &nbsp;
  46. {t('compile_larger_projects')}
  47. </li>
  48. </ul>
  49. )
  50. }
  51. export default memo(UpgradeBenefits)