diff --git a/frontend/src/component/demo/DemoDialog/DemoDialogPlans/DemoDialogPlans.tsx b/frontend/src/component/demo/DemoDialog/DemoDialogPlans/DemoDialogPlans.tsx index 4fdc63e61f..fe041ae16a 100644 --- a/frontend/src/component/demo/DemoDialog/DemoDialogPlans/DemoDialogPlans.tsx +++ b/frontend/src/component/demo/DemoDialog/DemoDialogPlans/DemoDialogPlans.tsx @@ -3,6 +3,7 @@ import { DemoDialog } from '../DemoDialog'; import GitHub from '@mui/icons-material/GitHub'; import Launch from '@mui/icons-material/Launch'; import { usePlausibleTracker } from 'hooks/usePlausibleTracker'; +import { useUiFlag } from 'hooks/useUiFlag'; const StyledDemoDialog = styled(DemoDialog)(({ theme }) => ({ '& .MuiDialog-paper': { @@ -82,6 +83,7 @@ interface IDemoDialogPlansProps { export const DemoDialogPlans = ({ open, onClose }: IDemoDialogPlansProps) => { const { trackEvent } = usePlausibleTracker(); + const isEnterprisePaygEnabled = useUiFlag('enterprise-payg'); return ( @@ -117,39 +119,75 @@ export const DemoDialogPlans = ({ open, onClose }: IDemoDialogPlansProps) => { View project on GitHub - - - Pro - - - Free your team to collaborate. We'll do the heavy - lifting. - -
- - $80/month + {isEnterprisePaygEnabled ? ( + + + Enterprise Starter - - includes 5 seats + + Free your team to collaborate. We'll do the heavy + lifting. -
- -
+
+ + $375/month + + + includes 5 seats + +
+ + + ) : ( + + + Pro + + + Free your team to collaborate. We'll do the heavy + lifting. + +
+ + $80/month + + + includes 5 seats + +
+ +
+ )} Enterprise diff --git a/frontend/src/interfaces/uiConfig.ts b/frontend/src/interfaces/uiConfig.ts index 71479206df..ddb96aca17 100644 --- a/frontend/src/interfaces/uiConfig.ts +++ b/frontend/src/interfaces/uiConfig.ts @@ -91,6 +91,7 @@ export type UiFlags = { purchaseAdditionalEnvironments?: boolean; unleashAI?: boolean; releasePlans?: boolean; + 'enterprise-payg'?: boolean; }; export interface IVersionInfo {