1 import { c } from 'ttag';
3 import SettingsParagraph from '@proton/components/containers/account/SettingsParagraph';
4 import SettingsSectionWide from '@proton/components/containers/account/SettingsSectionWide';
5 import UpgradeBanner from '@proton/components/containers/account/UpgradeBanner';
6 import useConfig from '@proton/components/hooks/useConfig';
7 import type { APP_NAMES } from '@proton/shared/lib/constants';
8 import { BRAND_NAME, SHARED_UPSELL_PATHS, UPSELL_COMPONENT } from '@proton/shared/lib/constants';
9 import { getUpsellRefFromApp } from '@proton/shared/lib/helpers/upsell';
10 import type { Organization } from '@proton/shared/lib/interfaces';
11 import { Audience } from '@proton/shared/lib/interfaces';
15 organization?: Organization;
18 const OrganizationSectionUpsell = ({ app }: Props) => {
19 const { APP_NAME } = useConfig();
25 .t`${BRAND_NAME} lets you create email addresses and manage accounts for sub-users. Ideal for families and organizations.`}
29 audience={Audience.B2B}
30 upsellPath={getUpsellRefFromApp({
32 feature: SHARED_UPSELL_PATHS.MULTI_USER,
33 component: UPSELL_COMPONENT.BANNER,
36 >{c('new_plans: upgrade').t`Included with multiple users ${BRAND_NAME} for Business plans.`}</UpgradeBanner>
37 </SettingsSectionWide>
41 export default OrganizationSectionUpsell;