Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update pricing page with template changes #9596

Merged
merged 2 commits into from
Apr 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ import {useFragment} from 'react-relay'
import Panel from '../../../../components/Panel/Panel'
import Row from '../../../../components/Row/Row'
import {OrgPlans_organization$key} from '../../../../__generated__/OrgPlans_organization.graphql'
import {ElementWidth, Threshold} from '../../../../types/constEnums'
import {ElementWidth} from '../../../../types/constEnums'
import {TierEnum} from '../../../../__generated__/NewMeetingQuery.graphql'
import OrgStats from './OrgStats'
import useModal from '../../../../hooks/useModal'
import DowngradeModal from './DowngradeModal'
import {EnterpriseBenefits, TeamBenefits} from '../../../../utils/constants'
import {EnterpriseBenefits, StarterBenefits, TeamBenefits} from '../../../../utils/constants'
import SendClientSideEvent from '../../../../utils/SendClientSideEvent'
import useAtmosphere from '../../../../hooks/useAtmosphere'
import LimitExceededWarning from '../../../../components/LimitExceededWarning'
Expand Down Expand Up @@ -91,12 +91,7 @@ const OrgPlans = (props: Props) => {
{
tier: 'starter',
subtitle: 'Free',
details: [
`${Threshold.MAX_STARTER_TIER_TEAMS} teams`,
'Essential templates',
'Retrospectives, Sprint Poker, Standups, Check-Ins',
'Unlimited team members'
],
details: [...StarterBenefits],
buttonStyle: getButtonStyle(billingTier, 'starter'),
buttonLabel: getButtonLabel(billingTier, 'starter'),
isActive: !hasSelectedTeamPlan && billingTier === 'starter'
Expand Down
12 changes: 10 additions & 2 deletions packages/client/utils/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import {TaskStatusEnum} from '~/__generated__/UpdateTaskMutation.graphql'
import {ReadableReasonToDowngradeEnum} from '../../server/graphql/types/ReasonToDowngrade'
import {ReasonToDowngradeEnum} from '../__generated__/DowngradeToStarterMutation.graphql'
import {TimelineEventEnum} from '../__generated__/MyDashboardTimelineQuery.graphql'
import {Threshold} from '../types/constEnums'

/* Meeting Misc. */
export const MEETING_NAME = 'Check-in Meeting'
Expand Down Expand Up @@ -160,10 +161,16 @@ export const SPOTLIGHT_TOP_SECTION_HEIGHT = 236

export const PARABOL_AI_USER_ID = 'parabolAIUser'

export const StarterBenefits = [
`${Threshold.MAX_STARTER_TIER_TEAMS} teams`,
'Retrospectives, Sprint Poker, Standups, Check-Ins',
'Unlimited meeting templates',
'Unlimited team members'
]

export const TeamBenefits = [
'Unlimited teams',
'Premium templates',
'Custom templates',
'Unlimited custom templates',
'Unlimited meeting history',
'Priority customer support',
'AI Summaries',
Expand All @@ -172,6 +179,7 @@ export const TeamBenefits = [

export const EnterpriseBenefits = [
'Single Sign-On (SSO)',
'Org Admin Role',
'Annual Billing',
'Domain Whitelisting',
'Uptime Service Level Agreement (SLA)',
Expand Down
Loading