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

Updated in-app pricing page for CD #1273

Merged
merged 4 commits into from
Nov 13, 2023
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
16 changes: 14 additions & 2 deletions www/src/components/account/billing/BillingPricingCards.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,15 @@ function BillingPricingCards() {
checked: true,
},
{
label: 'Unlimited apps',
label: 'Unlimited open-source apps',
checked: true,
},
{
label: 'Up to 5 users',
label: 'Up to 2 users',
checked: true,
},
{
label: '1 cluster',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can put this but the enforcement is going to be honor system on the cluster side

checked: true,
},
{
Expand Down Expand Up @@ -152,10 +156,18 @@ function BillingPricingCards() {
label: 'Unlimited users',
checked: true,
},
{
label: 'Unlimited clusters',
checked: true,
},
{
label: '24 hour SLA',
checked: true,
},
{
label: 'Continuous deployment features',
checked: true,
},
{
label: 'Advanced user management',
checked: true,
Expand Down
25 changes: 23 additions & 2 deletions www/src/components/account/billing/BillingPricingTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,15 @@ function BillingPricingTable() {
{...firstColumnCellProps}
borderTopLeftRadius={6}
>
Apps
Open-Source Apps
</Div>
<Div {...firstColumnCellProps}>Clusters</Div>
<Div {...firstColumnCellProps}>Users</Div>
<Div {...firstColumnCellProps}>Services</Div>
<Div {...firstColumnCellProps}>Roles</Div>
<Div {...firstColumnCellProps}>Groups</Div>
<Div {...firstColumnCellProps}>Service accounts</Div>
<Div {...firstColumnCellProps}>Continuous deployment</Div>
<Div {...firstColumnCellProps}>Discord Forum</Div>
<Div {...firstColumnCellProps}>Community support</Div>
<Div {...firstColumnCellProps}>
Expand Down Expand Up @@ -105,7 +107,13 @@ function BillingPricingTable() {
</Div>
<Div body2>Unlimited</Div>
<Div body2>Free</Div>
<Div body2>Up to 5</Div>
<Div body2>Up to 2</Div>
<Div>
<CloseIcon color="icon-default" />
</Div>
<Div>
<CloseIcon color="icon-default" />
</Div>
<Div>
<CloseIcon color="icon-default" />
</Div>
Expand Down Expand Up @@ -174,6 +182,10 @@ function BillingPricingTable() {
<Div body2>Unlimited</Div>
<Div body2>${clusterMonthlyPricing}/cluster/month</Div>
<Div body2>${userMonthlyPricing}/user/month</Div>
<Div body2>$200/pack of 5 services/month</Div>
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@michaeljguarino hard-coding this for now since I think we'll need the variable for service monthly pricing - TODO fix

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that's ok yea it's not exposed in the api now (and it's not exactly a line-item due to weirdness w/ usage based billing as well)

<Div>
<CheckIcon color="icon-success" />
</Div>
<Div>
<CheckIcon color="icon-success" />
</Div>
Expand Down Expand Up @@ -259,6 +271,15 @@ function BillingPricingTable() {
>
Unlimited
</Div>
<Div
{...lastColumnCellProps}
body2
>
Unlimited
</Div>
<Div {...lastColumnCellProps}>
<CheckIcon color="icon-success" />
</Div>
<Div {...lastColumnCellProps}>
<CheckIcon color="icon-success" />
</Div>
Expand Down
Loading