feat: update billing display to show monthly pricing for additional servers

- Modified the billing section to clarify that users can add more servers at the specified monthly rate.
- Added monthly pricing display for both Hobby and Startup tiers when the annual plan is selected.
- Enhanced user experience by providing clearer pricing information based on server quantity.
This commit is contained in:
Mauricio Siu
2026-02-19 12:45:18 -06:00
parent 28fc58d898
commit 97374f736e

View File

@@ -685,10 +685,18 @@ export const ShowBilling = () => {
/{isAnnual ? "yr" : "mo"} /{isAnnual ? "yr" : "mo"}
</p> </p>
<p className="text-xs text-muted-foreground mt-0.5"> <p className="text-xs text-muted-foreground mt-0.5">
{isAnnual ? "$45.90/yr" : "$4.50/mo"} per server (add Add more servers as you&apos;d like for{" "}
as many as you&apos;d like for{" "} {isAnnual ? "$45.90/yr" : "$4.50/mo"}
{isAnnual ? "$45.90/yr" : "$4.50/mo"})
</p> </p>
{isAnnual && (
<p className="text-xs text-muted-foreground mt-2">
$
{(
calculatePriceHobby(serverQuantity, true) / 12
).toFixed(2)}
/mo
</p>
)}
</div> </div>
<ul className="mt-5 flex flex-col gap-2 text-sm text-muted-foreground"> <ul className="mt-5 flex flex-col gap-2 text-sm text-muted-foreground">
{[ {[
@@ -807,6 +815,15 @@ export const ShowBilling = () => {
Add more servers as you&apos;d like for{" "} Add more servers as you&apos;d like for{" "}
{isAnnual ? "$45.90/yr" : "$4.50/mo"} {isAnnual ? "$45.90/yr" : "$4.50/mo"}
</p> </p>
{isAnnual && (
<p className="text-xs text-muted-foreground mt-2">
$
{(
calculatePriceStartup(serverQuantity, true) / 12
).toFixed(2)}
/mo
</p>
)}
</div> </div>
<ul className="mt-5 flex flex-col gap-2 text-sm text-muted-foreground"> <ul className="mt-5 flex flex-col gap-2 text-sm text-muted-foreground">
<li className="flex items-start gap-2 font-medium text-foreground"> <li className="flex items-start gap-2 font-medium text-foreground">