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

pricing update #1131

Merged
merged 3 commits into from
Dec 5, 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
2 changes: 1 addition & 1 deletion pcweb/pages/pricing/calculator.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ class BillingState(rx.State):
@rx.var(cache=True)
def seat_rate(self) -> int:
if self.selected_plan == Tiers.PRO.value:
return 19
return 20
elif self.selected_plan == Tiers.TEAM.value:
return 29

Expand Down
30 changes: 20 additions & 10 deletions pcweb/pages/pricing/plan_cards.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,14 @@ def grid() -> rx.Component:


def card(
title: str, description: str, features: list[tuple[str, str]], button_text: str
title: str, description: str, features: list[tuple[str, str]], button_text: str, price: str = None
) -> rx.Component:
return rx.box(
rx.el.h3(title, class_name="font-semibold text-slate-12 text-2xl mb-2"),
rx.hstack(
rx.el.h3(title, class_name="font-semibold text-slate-12 text-2xl mb-2"),
rx.badge(price, color_scheme="gray", size="3") if price else rx.fragment(),
align_items="center",
),
rx.el.p(
description, class_name="text-sm font-medium text-slate-9 mb-8 text-pretty"
),
Expand Down Expand Up @@ -169,7 +173,7 @@ def card(


def popular_card(
title: str, description: str, features: list[tuple[str, str]], button_text: str
title: str, description: str, features: list[tuple[str, str]], button_text: str, price: str = None
) -> rx.Component:
return rx.box(
rx.box(
Expand All @@ -179,7 +183,11 @@ def popular_card(
rx.box(
glow(),
grid(),
rx.el.h3(title, class_name="font-semibold text-slate-12 text-2xl mb-2"),
rx.hstack(
rx.el.h3(title, class_name="font-semibold text-slate-12 text-2xl mb-2"),
rx.badge(price, color_scheme="violet", size="3") if price else rx.fragment(),
align_items="center",
),
rx.el.p(description, class_name="text-sm font-medium text-slate-9 mb-8"),
rx.el.ul(
*[
Expand Down Expand Up @@ -223,33 +231,35 @@ def plan_cards() -> rx.Component:
("file-code", "Starter Templates"),
],
"Start building for free",
price="Free",
),
popular_card(
"Pro",
"For professional projects $19/mo per member. Plus usage.",
"For professional projects and startups.",
[
("server", "Larger machine sizes"),
("users", "Up to 5 team members"),
("app-window", "Up to 5 Deployed apps"),
("clock", "30 days log retention"),
("globe", "Multi-region"),
("brush", "Custom domains"),
("wand", "AI Tools for App Building and Debugging"),
("wand", "AI Tools for Building and Debugging"),
("circle-plus", "Everything in Hobby"),
],
"Start with Pro plan",
price="$20/mo + usage",
),
card(
"Team",
"For teams looking to scale their applications. Plus usage.",
"For teams looking to scale their applications.",
[
("mail", "Email support"),
("users", "Up to 25 team members"),
("app-window", "Unlimited Apps"),
("signal", "Full Website Analytics"),
("lock-keyhole", "One Click Auth"),
("git-branch", "Dev, Stage & Prod Environments"),
("database", "Database Editor UI and Migration Tool"),
("git-branch", "Dev, Stage & Prod Envs"),
("database", "DB Editor UI and Migration Tool"),
("test-tube", "Built-in Testing Framework"),
("circle-plus", "Everything in Pro"),
],
Expand All @@ -263,7 +273,7 @@ def plan_cards() -> rx.Component:
("user-round-plus", "White Glove Onboarding"),
("users", "Unlimited team members"),
("hard-drive", "On Premise Deployment"),
("signal", "Full Analytics Dashboard of App Users"),
("signal", "Full Analytics Dashboard"),
("clock", "Unlimited log retention"),
("activity", "Error Monitoring and Observability"),
("git-pull-request", "Influence Reflex Roadmap"),
Expand Down
2 changes: 1 addition & 1 deletion pcweb/pages/pricing/table.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

# Data configuration
USERS_SECTION = [
("Per Seat Price", "Free", "$19/mo/user", "Contact Sales", "Contact Sales"),
("Per Seat Price", "Free", "$20/mo/user", "Contact Sales", "Contact Sales"),
("User Limit", "1", "5", "25", "Unlimited"),
]

Expand Down
Loading